@tadashi/jwt
Sign, verify and parse a JSON Web Token
Last updated 2 months ago by lagden .
MIT · Original npm · Tarball · package.json
$ cnpm install @tadashi/jwt 
SYNC missed versions from official npm registry.

JWT

NPM version Build Status Coverage Status XO code style Greenkeeper FOSSA Status


JWT

Sign, verify and parse a JSON Web Token

Install

$ npm i -S @tadashi/jwt

Usage

const {sign, verify, parse} = require('@tadashi/jwt')

const jwt = sign({name: 'Lucas Tadashi'})
// => eyJhbGciOiJIUz...

const obj = verify(jwt)
// => {data: {name: 'Lucas Tadashi'}, iat: 1578024700}

const {data: {name}} = parse(jwt)
// => Lucas Tadashi

License

MIT © Thiago Lagden

FOSSA Status

Current Tags

  • 5.0.0                                ...           latest (2 months ago)

25 Versions

  • 5.0.0                                ...           2 months ago
  • 4.0.2                                ...           5 months ago
  • 4.0.1                                ...           5 months ago
  • 4.0.0                                ...           5 months ago
  • 3.1.0                                ...           8 months ago
  • 3.0.0                                ...           10 months ago
  • 2.4.0                                ...           2 years ago
  • 2.3.1                                ...           2 years ago
  • 2.3.0                                ...           2 years ago
  • 2.2.0                                ...           2 years ago
  • 2.1.1                                ...           2 years ago
  • 2.1.0                                ...           2 years ago
  • 2.0.2                                ...           2 years ago
  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 1.0.9                                ...           2 years ago
  • 1.0.8                                ...           2 years ago
  • 1.0.7                                ...           2 years ago
  • 1.0.6                                ...           2 years ago
  • 1.0.5                                ...           2 years ago
  • 1.0.4                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (3)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |