react-native-jwt-io

This package generates JWT tokens using jsrsasign library.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
react-native-jwt-io
601.0.37 years ago7 years agoMinified + gzip package size for react-native-jwt-io in KB

Readme

react-native-jwt-io
This package generates JWT tokens using jsrsasign library.

Installation

npm install react-native-jwt-io --save

How to use

import jwt from 'react-native-jwt-io';
....
var token = jwt.encode({id: 'userid'}, 'yoursecretkey');

License

MIT