0.0.1 • Published 4 years ago
passvalues v0.0.1
passvalue
Send and Get Object Values in ES6
An easy way to save and passing values in deffrent components.
Installation
$ npm install passvalue
ES6
import { setVal, getVal } from 'passvalue';
Usage and Example
- Save value
var name = "John Doe";
setVal("username", name);
- Get value
getVal("username"); // Output John Doe
- You can get this value from any components in ES6.
0.0.1
4 years ago