1.0.2 • Published 8 years ago
local-offline v1.0.2
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);