Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 277 Bytes

README.md

File metadata and controls

19 lines (10 loc) · 277 Bytes

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: 'user_id'}, 'your_secret_key');

License

MIT