{"id":23081277,"url":"https://github.com/lagden/jwt","last_synced_at":"2025-10-15T07:37:19.864Z","repository":{"id":42623542,"uuid":"109355932","full_name":"lagden/jwt","owner":"lagden","description":"Sign, verify and parse a JSON Web Token","archived":false,"fork":false,"pushed_at":"2025-05-18T07:46:42.000Z","size":793,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-21T10:06:58.185Z","etag":null,"topics":["jwt","nodejs","parse","sign","tadashi","verify"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lagden.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-11-03T05:30:31.000Z","updated_at":"2025-05-07T21:48:47.000Z","dependencies_parsed_at":"2025-02-23T10:20:36.064Z","dependency_job_id":"556237c9-ebaa-4b8c-a74d-a7fc93900361","html_url":"https://github.com/lagden/jwt","commit_stats":null,"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"purl":"pkg:github/lagden/jwt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lagden%2Fjwt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lagden%2Fjwt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lagden%2Fjwt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lagden%2Fjwt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lagden","download_url":"https://codeload.github.com/lagden/jwt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lagden%2Fjwt/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261103452,"owners_count":23109932,"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","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","nodejs","parse","sign","tadashi","verify"],"created_at":"2024-12-16T13:50:53.259Z","updated_at":"2025-10-15T07:37:14.842Z","avatar_url":"https://github.com/lagden.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JWT\n\n[![NPM version][npm-img]][npm]\n[![Build Status][ci-img]][ci]\n[![Coverage Status][coveralls-img]][coveralls]\n[![FOSSA Status][fossa-img]][fossa]\n\n[npm-img]: https://img.shields.io/npm/v/@tadashi/jwt.svg\n[npm]: https://www.npmjs.com/package/@tadashi/jwt\n[ci-img]: https://github.com/lagden/jwt/actions/workflows/nodejs.yml/badge.svg\n[ci]: https://github.com/lagden/jwt/actions/workflows/nodejs.yml\n[coveralls-img]: https://coveralls.io/repos/github/lagden/jwt/badge.svg?branch=master\n[coveralls]: https://coveralls.io/github/lagden/jwt?branch=master\n[fossa-img]: https://app.fossa.io/api/projects/git%2Bgithub.com%2Flagden%2Fjwt.svg?type=shield\n[fossa]: https://app.fossa.io/projects/git%2Bgithub.com%2Flagden%2Fjwt?ref=badge_shield\n[jwt-img]: http://jwt.io/img/badge-compatible.svg\n[jwt]: http://jwt.io\n\n---\n\n[![JWT][jwt-img]][jwt]\n\nSign, verify and parse a JSON Web Token\n\n## Install\n\n```\n$ npm i -S @tadashi/jwt\n```\n\n## Usage\n\n```js\nimport {sign, verify, parse} from '@tadashi/jwt'\n\nconst jwt = await sign({name: 'Lucas Tadashi'})\n// =\u003e eyJhbGciOiJIUz...\n\nconst {payload} = await verify(jwt)\n// =\u003e {data: {name: 'Lucas Tadashi'}, jti: '6125968b0000000000f0b9f2', nbf: 1629853313}\n\nconst {\n  data: {name},\n} = parse(jwt)\n// =\u003e Lucas Tadashi\n```\n\n## License\n\nMIT © [Thiago Lagden](https://github.com/lagden)\n\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Flagden%2Fjwt.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Flagden%2Fjwt?ref=badge_large)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flagden%2Fjwt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flagden%2Fjwt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flagden%2Fjwt/lists"}