{"id":29704493,"url":"https://github.com/node-oauth/formats","last_synced_at":"2025-07-23T14:11:29.878Z","repository":{"id":57131526,"uuid":"430349892","full_name":"node-oauth/formats","owner":"node-oauth","description":"Validate unicode values","archived":false,"fork":false,"pushed_at":"2021-12-11T16:02:32.000Z","size":76,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-27T09:16:15.589Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/node-oauth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-21T11:42:44.000Z","updated_at":"2021-12-11T16:02:35.000Z","dependencies_parsed_at":"2022-09-01T00:12:47.732Z","dependency_job_id":null,"html_url":"https://github.com/node-oauth/formats","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/node-oauth/formats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-oauth%2Fformats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-oauth%2Fformats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-oauth%2Fformats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-oauth%2Fformats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/node-oauth","download_url":"https://codeload.github.com/node-oauth/formats/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-oauth%2Fformats/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266691598,"owners_count":23969189,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-23T14:11:22.115Z","updated_at":"2025-07-23T14:11:29.844Z","avatar_url":"https://github.com/node-oauth.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @node-oauth/formats\n\nMinimal, [RFC 6749](https://datatracker.ietf.org/doc/html/rfc6749#appendix-A)\ncompliant ascii and unicode validator.\n\nThis package is intended to be used with a OAuth2 server, like \n[@node-oauth/node-oauth2-server](https://github.com/node-oauth/node-oauth2-server)\n, but can also be used with any other project, that shares the same \nrequirements.\n\n## Install\n\n```bash\n$ npm install @node-oauth/formats\n```\n\n## Usage\n\n```js\nconst isFormat = require('@node-oauth/formats')\n\nisFormat.nchar('Hello, World!') // false\nisFormat.nqchar('Hello, World!') // true\n```\n\nFor detailed usage see the [API docs](./API.md)\n\n## Test\n\n```sh\nnpm install\nnpm run lint            # run esline in check mode\nnpm run lint:fix        # run esline in check mode\nnpm run test            # run test once\nnpm run test:coverage   # run tests with coverage report\n```\n\n## License\n\nThis project has been outsourced from \n[@node-oauth/node-oauth2-server](https://github.com/node-oauth/node-oauth2-server)\n, which is a fork from [oauth2-server](https://github.com/oauthjs/node-oauth2-server)\n. The licence remains MIT, see [our license file](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-oauth%2Fformats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnode-oauth%2Fformats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-oauth%2Fformats/lists"}