1.0.2 • Published 7 years ago

local-offline v1.0.2

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

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);