New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

local-offline

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

local-offline

The most practical way to work with localStorage

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

localstorage

FAQs

Package last updated on 19 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts