Socket
Socket
Sign inDemoInstall

devel-localstorage

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

devel-localstorage

A small library providing an API for localStorage


Version published
Weekly downloads
1
decreased by-95.83%
Maintainers
1
Weekly downloads
 
Created
Source

=========

A small npm library providing an API for storing arrays in localStorage

Installation

`npm install devel-localstorage --save`

Usage

    import localStorage from 'devel-localstorage'

    // set
    var res = localstorage.set('store',['devel','doe'])

    // get
    var res = localstorage.get('store')

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

Release History

  • 0.0 Initial setup
  • 0.1 Set method
  • 0.2 Get method
  • 0.3 Callback pattern
  • 0.4 Filter method
  • 0.5 Tests

  • 1.0 move to ES2015

Keywords

FAQs

Package last updated on 29 Apr 2018

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc