my-helpmates

A Small Helpers Utility Functions For Day To Day Node Js Projects.

Usage no npm install needed!

<script type="module">
  import myHelpmates from 'https://cdn.skypack.dev/my-helpmates';
</script>

README

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