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

时间:2021-05-31 09:11:20
【文件属性】:
文件名称:localForage:使用简单但功能强大的API进行离线存储-开源
文件大小:401KB
文件格式:ZIP
更新时间:2021-05-31 09:11:20
开源软件 离线存储,改进。 使用简单但功能强大的 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
----.eslintrc(1KB)
----typing-tests()
--------tsconfig.json(340B)
--------localforage-tests.ts(9KB)
----bower.json(572B)
----Gruntfile.js(11KB)
----src()
--------utils()
--------drivers()
--------localforage.js(14KB)
----.babelrc(79B)
----.npmignore(116B)
----examples()
--------polyfill.html(1KB)
--------index.html(1KB)
--------main.js(1KB)
--------require.html(236B)
--------dropInstance.html(2KB)
--------no-driver.html(1KB)
--------indexeddb-invalidstate.html(1KB)
--------websql-foo.html(1KB)
--------require.js(79KB)
--------dbquota-error.html(2KB)
----CONTRIBUTING.md(3KB)
----.travis.yml(629B)
----LICENSE(11KB)
----test()
--------test.nodriver.html(1KB)
--------test.api.js(78KB)
--------test.main.html(1KB)
--------test.customdriver.html(878B)
--------test.require.html(1KB)
--------runner.js(2KB)
--------test.datatypes.js(24KB)
--------saucelabs-browsers.js(1KB)
--------photo2.jpg(69KB)
--------test.nodriver.js(3KB)
--------dummyStorageDriver.js(14KB)
--------test.callwhenready.js(1KB)
--------test.main1.html(1KB)
--------runner.webpack.js(258B)
--------test.min.html(1KB)
--------test.customdriver.js(10KB)
--------test.config.js(10KB)
--------test.browserify.html(1KB)
--------test.webworkers.js(2KB)
--------test.serviceworkers.js(4KB)
--------test.iframecontents.html(487B)
--------test.faultydriver.js(2KB)
--------test.webpack.html(1KB)
--------test.drivers.js(7KB)
--------test.iframes.js(1KB)
--------runner.browserify.js(192B)
--------test.callwhenready.html(2KB)
--------photo.jpg(128KB)
--------serviceworker-client.js(1KB)
--------test.faultydriver.html(2KB)
--------test.polyfill.html(999B)
--------webworker-client.js(1KB)
----.babelrc-umd(115B)
----.prettierrc(43B)
----README.md(9KB)
----.lintstagedrc(72B)
----typings()
--------localforage.d.ts(4KB)
----dist()
--------localforage.nopromises.js(82KB)
--------localforage.nopromises.min.js(25KB)
--------localforage.js(91KB)
--------localforage.min.js(29KB)
----.huskyrc(53B)
----.npmrc(19B)
----docs()
--------index.html(2KB)
--------api.md(17KB)
--------scripts()
--------theme()
--------fonts()
--------README.txt(410B)
--------localforage.min.js(25KB)
----component.json(399B)
----contribute.json(969B)
----.gitignore(445B)
----CHANGELOG.md(8KB)
----package.json(2KB)

网友评论