Save and Get / Passing any values in ES6
$ npm i passv
import { setVal, getVal, delVal } from 'passv';
- Save value
var name = "John Doe";
setVal("username", name);
- Get value
getVal("username"); // Output John Doe
- Delete value
delVal("username");
- You can pass this values in any components on ES6.