devel-localstorage
Advanced tools
Comparing version 1.0.16 to 1.0.17
@@ -1,2 +0,2 @@ | ||
exports.DevelLocalStorage = function() { | ||
module.exports = { | ||
/** | ||
@@ -3,0 +3,0 @@ * Takes an array and transforms it to a string for localStorage |
{ | ||
"name": "devel-localstorage", | ||
"version": "1.0.16", | ||
"version": "1.0.17", | ||
"description": "A small library providing an API for localStorage", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -23,9 +23,9 @@ <!-- | ||
```js | ||
const { DevelLocalStorage } = require('devel-localstorage')() | ||
import develLS from 'devel-localstorage' | ||
// set | ||
DevelLocalStorage.set('user',[{ user: "develdoe"}]) | ||
develLS.set('user',[{ user: "develdoe"}]) | ||
// get | ||
var res = DevelLocalStorage.get('store') | ||
var res = develLS.get('store') | ||
``` | ||
@@ -32,0 +32,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5552