| route-pattern | /:user_id/:repository |
| route-controller | files |
| route-action | disambiguate |
| fetch-nonce | v2:c84c93be-f5e0-a0eb-1280-73882e5d38d0 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | C83E:2CCA44:2985:31F2:697CD63C |
| html-safe-nonce | ba693a58dd04902aaefd1da61a04638eb4239680fde0d913b7c24e2e0228edba |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODNFOjJDQ0E0NDoyOTg1OjMxRjI6Njk3Q0Q2M0MiLCJ2aXNpdG9yX2lkIjoiNDU4MjA1MjQ0NjY2MTgyNjEwOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1534afcc82d184c7a6fdbc1f2447b0a1711c4c6d3e92532a6a15ee7f449f5bf1 |
| hovercard-subject-tag | repository:79085372 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | // |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/GJ2511/node-utils |
| twitter:image | https://opengraph.githubassets.com/80f2eb2c851324a0328543bc41c1d751d1aa35d5e28395263cb1e5542fe57dae/GJ2511/node-utils |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/80f2eb2c851324a0328543bc41c1d751d1aa35d5e28395263cb1e5542fe57dae/GJ2511/node-utils |
| og:image:alt | Node.js module exposing some of the basic utils that helps in basic development - GJ2511/node-utils |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 025b9e10ca829bdfe9cd8da6b55d0d4f68b8cf9a01e684b2843bf11849d7d948 |
| turbo-cache-control | no-preview |
| go-import | github.com/GJ2511/node-utils git https://github.com/GJ2511/node-utils.git |
| octolytics-dimension-user_id | 5977203 |
| octolytics-dimension-user_login | GJ2511 |
| octolytics-dimension-repository_id | 79085372 |
| octolytics-dimension-repository_nwo | GJ2511/node-utils |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 79085372 |
| octolytics-dimension-repository_network_root_nwo | GJ2511/node-utils |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4a049c8dd66e29bfcb546b5f1ef4ceabb3f7501d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://patch-diff.githubusercontent.com/GJ2511/node-utils#start-of-content |
|
| https://patch-diff.githubusercontent.com/ |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FGJ2511%2Fnode-utils |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FGJ2511%2Fnode-utils |
|
Sign up
| https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=GJ2511%2Fnode-utils |
| Reload | https://patch-diff.githubusercontent.com/GJ2511/node-utils |
| Reload | https://patch-diff.githubusercontent.com/GJ2511/node-utils |
| Reload | https://patch-diff.githubusercontent.com/GJ2511/node-utils |
|
GJ2511
| https://patch-diff.githubusercontent.com/GJ2511 |
| node-utils | https://patch-diff.githubusercontent.com/GJ2511/node-utils |
|
Notifications
| https://patch-diff.githubusercontent.com/login?return_to=%2FGJ2511%2Fnode-utils |
|
Fork
0
| https://patch-diff.githubusercontent.com/login?return_to=%2FGJ2511%2Fnode-utils |
|
Star
0
| https://patch-diff.githubusercontent.com/login?return_to=%2FGJ2511%2Fnode-utils |
|
0
stars
| https://patch-diff.githubusercontent.com/GJ2511/node-utils/stargazers |
|
0
forks
| https://patch-diff.githubusercontent.com/GJ2511/node-utils/forks |
|
Branches
| https://patch-diff.githubusercontent.com/GJ2511/node-utils/branches |
|
Tags
| https://patch-diff.githubusercontent.com/GJ2511/node-utils/tags |
|
Activity
| https://patch-diff.githubusercontent.com/GJ2511/node-utils/activity |
|
Star
| https://patch-diff.githubusercontent.com/login?return_to=%2FGJ2511%2Fnode-utils |
|
Notifications
| https://patch-diff.githubusercontent.com/login?return_to=%2FGJ2511%2Fnode-utils |
|
Code
| https://patch-diff.githubusercontent.com/GJ2511/node-utils |
|
Issues
0
| https://patch-diff.githubusercontent.com/GJ2511/node-utils/issues |
|
Pull requests
0
| https://patch-diff.githubusercontent.com/GJ2511/node-utils/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/GJ2511/node-utils/actions |
|
Projects
0
| https://patch-diff.githubusercontent.com/GJ2511/node-utils/projects |
|
Security
0
| https://patch-diff.githubusercontent.com/GJ2511/node-utils/security |
|
Insights
| https://patch-diff.githubusercontent.com/GJ2511/node-utils/pulse |
|
Code
| https://patch-diff.githubusercontent.com/GJ2511/node-utils |
|
Issues
| https://patch-diff.githubusercontent.com/GJ2511/node-utils/issues |
|
Pull requests
| https://patch-diff.githubusercontent.com/GJ2511/node-utils/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/GJ2511/node-utils/actions |
|
Projects
| https://patch-diff.githubusercontent.com/GJ2511/node-utils/projects |
|
Security
| https://patch-diff.githubusercontent.com/GJ2511/node-utils/security |
|
Insights
| https://patch-diff.githubusercontent.com/GJ2511/node-utils/pulse |
| Branches | https://patch-diff.githubusercontent.com/GJ2511/node-utils/branches |
| Tags | https://patch-diff.githubusercontent.com/GJ2511/node-utils/tags |
| https://patch-diff.githubusercontent.com/GJ2511/node-utils/branches |
| https://patch-diff.githubusercontent.com/GJ2511/node-utils/tags |
| 39 Commits | https://patch-diff.githubusercontent.com/GJ2511/node-utils/commits/master/ |
| https://patch-diff.githubusercontent.com/GJ2511/node-utils/commits/master/ |
| lib | https://patch-diff.githubusercontent.com/GJ2511/node-utils/tree/master/lib |
| lib | https://patch-diff.githubusercontent.com/GJ2511/node-utils/tree/master/lib |
| test | https://patch-diff.githubusercontent.com/GJ2511/node-utils/tree/master/test |
| test | https://patch-diff.githubusercontent.com/GJ2511/node-utils/tree/master/test |
| .gitignore | https://patch-diff.githubusercontent.com/GJ2511/node-utils/blob/master/.gitignore |
| .gitignore | https://patch-diff.githubusercontent.com/GJ2511/node-utils/blob/master/.gitignore |
| README.md | https://patch-diff.githubusercontent.com/GJ2511/node-utils/blob/master/README.md |
| README.md | https://patch-diff.githubusercontent.com/GJ2511/node-utils/blob/master/README.md |
| index.js | https://patch-diff.githubusercontent.com/GJ2511/node-utils/blob/master/index.js |
| index.js | https://patch-diff.githubusercontent.com/GJ2511/node-utils/blob/master/index.js |
| package-lock.json | https://patch-diff.githubusercontent.com/GJ2511/node-utils/blob/master/package-lock.json |
| package-lock.json | https://patch-diff.githubusercontent.com/GJ2511/node-utils/blob/master/package-lock.json |
| package.json | https://patch-diff.githubusercontent.com/GJ2511/node-utils/blob/master/package.json |
| package.json | https://patch-diff.githubusercontent.com/GJ2511/node-utils/blob/master/package.json |
| README | https://patch-diff.githubusercontent.com/GJ2511/node-utils |
| https://patch-diff.githubusercontent.com/GJ2511/node-utils#node-utils |
| Gaurav Joshi | https://github.com/GJ2511/ |
| https://patch-diff.githubusercontent.com/GJ2511/node-utils#start |
| node-utils | https://patch-diff.githubusercontent.com/GJ2511/node-utils#start |
| Methods | https://patch-diff.githubusercontent.com/GJ2511/node-utils#methods |
| beautifyDate(date, [format, seperator]) | https://patch-diff.githubusercontent.com/GJ2511/node-utils#user-content-beautifydatedate-format-seperator |
| beautifyMoney(amount, [currency, raw]) | https://patch-diff.githubusercontent.com/GJ2511/node-utils#user-content-beautifymoneyamount-currency-raw |
| beautifyNumber(number, [decPlaces]) | https://patch-diff.githubusercontent.com/GJ2511/node-utils#user-content-beautifynumbernumber-decplaces |
| containsWord(string, word) | https://patch-diff.githubusercontent.com/GJ2511/node-utils#user-content-containswordstring-word |
| getDaysDiff(date) | https://patch-diff.githubusercontent.com/GJ2511/node-utils#user-content-getdaysdiffdate |
| getPathFromUrl(url) | https://patch-diff.githubusercontent.com/GJ2511/node-utils#user-content-getpathfromurlurl |
| getQueryParamByName(param, url) | https://patch-diff.githubusercontent.com/GJ2511/node-utils#user-content-getqueryparambynameparam-url |
| getQueryString(url) | https://patch-diff.githubusercontent.com/GJ2511/node-utils#user-content-getquerystringurl |
| getRandomNumber(min, max) | https://patch-diff.githubusercontent.com/GJ2511/node-utils#user-content-getrandomnumbermin-max |
| getRandomString(len, charStr) | https://patch-diff.githubusercontent.com/GJ2511/node-utils#user-content-getrandomstringlen-charstr |
| isUrlValid(url) | https://patch-diff.githubusercontent.com/GJ2511/node-utils#user-content-isurlvalidurl |
| startsWith(string, searchString, [position]) | https://patch-diff.githubusercontent.com/GJ2511/node-utils#user-content-startswithstring-searchstring-position |
| stripHtml(html, [all]) | https://patch-diff.githubusercontent.com/GJ2511/node-utils#user-content-striphtmlhtml-all |
| https://patch-diff.githubusercontent.com/GJ2511/node-utils#methods |
| https://patch-diff.githubusercontent.com/GJ2511/node-utils#beautifydatedate-format-seperator |
| https://patch-diff.githubusercontent.com/GJ2511/node-utils#beautifynumbernumber-decplaces |
| https://patch-diff.githubusercontent.com/GJ2511/node-utils#beautifymoneyamount-currency-raw |
| https://patch-diff.githubusercontent.com/GJ2511/node-utils#getdaysdiffdate |
| https://patch-diff.githubusercontent.com/GJ2511/node-utils#striphtmlhtml-all |
| https://patch-diff.githubusercontent.com/GJ2511/node-utils#containswordstring-word |
| https://patch-diff.githubusercontent.com/GJ2511/node-utils#getrandomnumbermin-max |
| https://patch-diff.githubusercontent.com/GJ2511/node-utils#isurlvalidurl |
| https://patch-diff.githubusercontent.com/GJ2511/node-utils#getpathfromurlurl |
| https://patch-diff.githubusercontent.com/GJ2511/node-utils#getquerystringurl |
| https://patch-diff.githubusercontent.com/GJ2511/node-utils#getqueryparambynameparam-url |
| https://patch-diff.githubusercontent.com/GJ2511/node-utils#startswithstring-searchstring-position |
| https://patch-diff.githubusercontent.com/GJ2511/node-utils#getrandomstringlen-charstr |
|
nodejs
| https://patch-diff.githubusercontent.com/topics/nodejs |
|
javascript
| https://patch-diff.githubusercontent.com/topics/javascript |
|
json
| https://patch-diff.githubusercontent.com/topics/json |
|
utility
| https://patch-diff.githubusercontent.com/topics/utility |
|
string
| https://patch-diff.githubusercontent.com/topics/string |
|
object
| https://patch-diff.githubusercontent.com/topics/object |
|
jsdom
| https://patch-diff.githubusercontent.com/topics/jsdom |
|
arrays
| https://patch-diff.githubusercontent.com/topics/arrays |
|
Readme
| https://patch-diff.githubusercontent.com/GJ2511/node-utils#readme-ov-file |
| Please reload this page | https://patch-diff.githubusercontent.com/GJ2511/node-utils |
|
Activity | https://patch-diff.githubusercontent.com/GJ2511/node-utils/activity |
|
0
stars | https://patch-diff.githubusercontent.com/GJ2511/node-utils/stargazers |
|
1
watching | https://patch-diff.githubusercontent.com/GJ2511/node-utils/watchers |
|
0
forks | https://patch-diff.githubusercontent.com/GJ2511/node-utils/forks |
|
Report repository
| https://patch-diff.githubusercontent.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2FGJ2511%2Fnode-utils&report=GJ2511+%28user%29 |
| Releases | https://patch-diff.githubusercontent.com/GJ2511/node-utils/releases |
| Packages
0 | https://patch-diff.githubusercontent.com/users/GJ2511/packages?repo_name=node-utils |
| Please reload this page | https://patch-diff.githubusercontent.com/GJ2511/node-utils |
|
JavaScript
100.0%
| https://patch-diff.githubusercontent.com/GJ2511/node-utils/search?l=javascript |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |