8000 GitHub - kacao/rn-jwt: JSON Web Token sign and verify for React Native · GitHub
[go: up one dir, main page]

Skip to content
kacaoPublic

About

JSON Web Token sign and verify for React Native

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

rn-jwt

JSON Web Token sign and verify for React Native without native lib bindings (hopefully).

Installation & Usage

npm install -s kacao/rn-jwt
const jwt = require('jwt');
let encoded = jwt.sign({test: 'test'}, 'secret');
try {
  let decoded = jwt.verify(encoded, 'secret');
} catch (err) {
  // failed to verify
  console.log(err);
}

About

JSON Web Token sign and verify for React Native

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0