my-helpmates

1.0.0 • Public • Published

my-helpmates

Still documenting :)

Install

$ npm install my-helpmates --save

Usage

import helpers from 'my-helpmates';

or

import { jwt } from 'my-helpmates';
// jwt.encode('secret_key', payload)
const createToken = await jwt.encode('secret_key', {name: 'user name'});
// jwt.decode('secret_key', token)
const varifyToken = await jwt.decode('secret_key', token);

MIT © GitHub bhsoyket

Package Sidebar

Install

npm i my-helpmates

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

2.82 kB

Total Files

5

Last publish

Collaborators

  • soyket