【文件属性】:
文件名称:localstorage:简单的 localStorage 抽象
文件大小:7KB
文件格式:ZIP
更新时间:2021-06-26 14:15:10
JavaScript
putainde-localstorage
一个简单的 localStorage 抽象
localstorage允许您轻松存储和使用 JSON 数据。
安装
你可以从npm安装 putainde-localstorage
$ npm install putainde-localstorage (--save)
putainde-localstorage显然可以直接下载。
用法
var localstorage = require ( "putainde-localstorage" )
// create instance
var storage = localstorage . create ( { namespace : "myComponent" } )
// same as
var LocalStorage = require ( "putainde-localstorage
【文件预览】:
localstorage-master
----.jshintrc(205B)
----.travis.yml(223B)
----LICENSE(1KB)
----test()
--------index.js(2KB)
----README.md(2KB)
----.jscsrc(2KB)
----.editorconfig(238B)
----.gitignore(24B)
----index.js(2KB)
----CHANGELOG.md(946B)
----package.json(1KB)