local-offline
v1.0.2
Published
The most practical way to work with localStorage
Downloads
8
Maintainers
Readme
local-offline
The most practical way to work with localstorage
Installation
npm i -S local-offline
Declaration
const local = require('local-offline');
Or
import local from 'local-offline';
How to use
Unlike the traditional localStorage, local-offline stores type the variable.
To store a new value:
var x = 10;
local('x', x);