0.0.1 • Published 4 years ago

passvals v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

passvals

Send and Get Object Values in ES6

An easy way to save and passing values in deffrent components.

Installation

$ npm install passvals

ES6

import { setVal, getVal } from 'passvals';

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