Socket
Socket
Sign inDemoInstall

devel-localstorage

Package Overview
Dependencies
0
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    devel-localstorage

A small library providing an API for localStorage


Version published
Maintainers
1
Install size
5.42 kB
Created

Readme

Source

=========

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

Installation

`npm install devel-localstorage --save`

Usage

    import develLS from  'devel-localstorage'

    // set
    develLS.set('user',[{ user: "develdoe"}])

    // get
    var res = develLS.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

Last updated on 29 Apr 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc