localForage-getItems:将getItems方法添加到localForage

时间:2021-05-02 04:53:03
【文件属性】:
文件名称:localForage-getItems:将getItems方法添加到localForage
文件大小:21KB
文件格式:ZIP
更新时间:2021-05-02 04:53:03
JavaScript localForage-getItems 将getItems方法添加到。 要求 v1.4.0 + 对于早期版本的localforage,请使用v1.1.x版本 安装 npm i localforage-getitems jsperf链接 原料药 就像getItem()但是您可以传递带有需要检索的键的数组。 var keys = [ 'asdf' , 'asap' , 'async' ] ; localforage . getItems ( keys ) . then ( function ( results ) { console . log ( results ) ; // prints: // { // asdf: 'asdf value!', // asap: 'asap value!', // async: 'async value
【文件预览】:
localForage-getItems-master
----.jshintrc(576B)
----.gitignore(47B)
----.babelrc(29B)
----.jscsrc(765B)
----.eslintrc(406B)
----package.json(1KB)
----rollup.config.umd.js(175B)
----rollup.config.test.js(348B)
----.travis.yml(47B)
----dist()
--------localforage-getitems.es6.js(8KB)
--------localforage-getitems.js(8KB)
----LICENSE(555B)
----rollup.config.js(192B)
----examples()
--------.jshintrc(71B)
--------main.js(1KB)
--------index2.html(2KB)
--------index.html(4KB)
--------getAllItems.html(3KB)
--------require.html(241B)
----README.md(1KB)
----typing-tests()
--------tsconfig.json(322B)
--------index.ts(1KB)
----lib()
--------getitems-websql.js(2KB)
--------localforage-getitems.js(2KB)
--------getitems-generic.js(2KB)
--------idbKeyRange.js(417B)
--------getitems-indexeddb.js(2KB)
--------utils.js(2KB)
----typings()
--------index.d.ts(575B)
----bower.json(378B)
----test()
--------index_test.js(232B)
----rollup.config.es6.js(135B)

网友评论