passv

1.0.2 • Public • Published

Save and Get / Passing any values in ES6

Installation

$ npm i passv

ES6

import { setVal, getVal, delVal } from 'passv';

Usage and Example

  • 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.

Package Sidebar

Install

npm i passv

Weekly Downloads

3

Version

1.0.2

License

MIT

Unpacked Size

1.71 kB

Total Files

3

Last publish

Collaborators

  • pedroxam