{"id":46696214,"url":"https://github.com/everettmorgan/jwt","last_synced_at":"2026-03-09T05:08:31.276Z","repository":{"id":45912531,"uuid":"432854684","full_name":"everettmorgan/jwt","owner":"everettmorgan","description":"My implementation of the JWT rfc spec.","archived":false,"fork":false,"pushed_at":"2021-11-29T04:06:22.000Z","size":98,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-14T11:15:44.254Z","etag":null,"topics":["jwt","node"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/everettmorgan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-29T00:01:10.000Z","updated_at":"2022-10-14T19:40:22.000Z","dependencies_parsed_at":"2022-09-26T18:51:18.312Z","dependency_job_id":null,"html_url":"https://github.com/everettmorgan/jwt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/everettmorgan/jwt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/everettmorgan%2Fjwt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/everettmorgan%2Fjwt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/everettmorgan%2Fjwt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/everettmorgan%2Fjwt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/everettmorgan","download_url":"https://codeload.github.com/everettmorgan/jwt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/everettmorgan%2Fjwt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30283703,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["jwt","node"],"created_at":"2026-03-09T05:08:30.693Z","updated_at":"2026-03-09T05:08:31.244Z","avatar_url":"https://github.com/everettmorgan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ejmorgan-jwt\n\nA simple implementation of the JWT rfc spec.\n\n## Usage\n\n```javascript\nconst JWT = require(\"ejmorgan-jwt\");\n\nconst jwt = JWT.New({\n  key: 'my-key',\n  header: {\n    alg: \"sha256\",\n  },\n  payload: {\n    aud: \"audience\",\n    custom: \"my-key\",\n  },\n});\n\nconst str = jwt.toString();\n\nconsole.log(str);\n// eyJhbGciOiJzaGEyNTYifQ.eyJhdWQiOiJhdWRpZW5jZSIsImN1c3RvbSI6Im15LWtleSJ9.bY7PCElW5f245tSaLVkiGIfLBISU7kdyfCniJ62FsDM=\n\nconst [err, ajwt]= JWT.Read(str, 'my-key');\n\nconsole.log(ajwt);\n// JSONWebToken {\n//  header: { alg: 'sha256' },\n//  payload: { aud: 'audience', custom: 'my-key' },\n//  signature: 'bY7PCElW5f245tSaLVkiGIfLBISU7kdyfCniJ62FsDM='\n// }\n\najwt.payload.aud = 'hehehe';\n\nconst ok = JWT.Validate(ajwt, 'my-key');\n\nconsole.log(ok);\n// false\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feverettmorgan%2Fjwt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feverettmorgan%2Fjwt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feverettmorgan%2Fjwt/lists"}