localForage:使用简单但功能强大的API进行离线存储-开源

时间:2021-05-08 16:59:27
【文件属性】:
文件名称:localForage:使用简单但功能强大的API进行离线存储-开源
文件大小:367KB
文件格式:GZ
更新时间:2021-05-08 16:59:27
开源软件 离线存储,得到了改进。 使用简单但功能强大的API包装IndexedDB,WebSQL或localStorage。 localForage是一个JavaScript库,通过使用带有简单的类似于localStorage的API的异步数据存储来改善Web应用程序的脱机体验。 它允许开发人员存储多种类型的数据,而不仅仅是字符串。 localForage包括一个由localStorage支持的后备存储,用于不支持IndexedDB或WebSQL的浏览器。 所有主要浏览器的当前版本均提供异步存储:Chrome,Firefox,IE和Safari(包括Safari Mobile)。 localForage提供了回调API以及对ES6 Promises API的支持,因此您可以随意使用。
【文件预览】:
localForage-localForage-c1cc34f
----.travis.yml(629B)
----.eslintrc(1KB)
----.babelrc(79B)
----.lintstagedrc(72B)
----docs()
--------README.txt(410B)
--------fonts()
--------localforage.min.js(25KB)
--------index.html(2KB)
--------api.md(17KB)
--------theme()
--------scripts()
----package.json(2KB)
----test()
--------runner.browserify.js(192B)
--------webworker-client.js(1KB)
--------test.browserify.html(1KB)
--------test.config.js(10KB)
--------dummyStorageDriver.js(14KB)
--------test.min.html(1KB)
--------test.callwhenready.js(1KB)
--------test.customdriver.js(10KB)
--------photo2.jpg(69KB)
--------test.require.html(1KB)
--------test.faultydriver.js(2KB)
--------test.drivers.js(7KB)
--------test.polyfill.html(999B)
--------test.nodriver.js(3KB)
--------runner.js(2KB)
--------test.webpack.html(1KB)
--------test.customdriver.html(878B)
--------test.main.html(1KB)
--------test.iframes.js(1KB)
--------test.serviceworkers.js(4KB)
--------test.faultydriver.html(2KB)
--------test.webworkers.js(2KB)
--------runner.webpack.js(258B)
--------test.nodriver.html(1KB)
--------serviceworker-client.js(1KB)
--------test.datatypes.js(24KB)
--------test.main1.html(1KB)
--------test.callwhenready.html(2KB)
--------test.iframecontents.html(487B)
--------photo.jpg(128KB)
--------test.api.js(78KB)
--------saucelabs-browsers.js(1KB)
----.prettierrc(43B)
----contribute.json(969B)
----.babelrc-umd(115B)
----component.json(399B)
----LICENSE(11KB)
----dist()
--------localforage.nopromises.js(82KB)
--------localforage.min.js(29KB)
--------localforage.js(91KB)
--------localforage.nopromises.min.js(25KB)
----CONTRIBUTING.md(3KB)
----Gruntfile.js(11KB)
----src()
--------drivers()
--------localforage.js(14KB)
--------utils()
----.npmignore(116B)
----.huskyrc(53B)
----examples()
--------dbquota-error.html(2KB)
--------dropInstance.html(2KB)
--------index.html(1KB)
--------require.html(236B)
--------require.js(79KB)
--------no-driver.html(1KB)
--------main.js(1KB)
--------websql-foo.html(1KB)
--------indexeddb-invalidstate.html(1KB)
--------polyfill.html(1KB)
----.gitignore(445B)
----typings()
--------localforage.d.ts(4KB)
----CHANGELOG.md(8KB)
----.npmrc(19B)
----README.md(9KB)
----typing-tests()
--------localforage-tests.ts(9KB)
--------tsconfig.json(340B)
----bower.json(572B)

网友评论