webext-storage-cache:WebExtensions模块

时间:2021-05-05 19:47:26
【文件属性】:
文件名称:webext-storage-cache:WebExtensions模块
文件大小:12KB
文件格式:ZIP
更新时间:2021-05-05 19:47:26
TypeScript webext-storage-cache WebExtensions模块:具有到期时间的类似地图的承诺缓存存储。 Chrome和Firefox。 该模块适用于内容脚本,背景页面和选项页面。 安装 您可以下载并将其包含在manifest.json 。 或使用npm : npm install --save webext-storage-cache // This module is only offered as a ES Module import storageCache from 'webext-storage-cache' ; 用法 该模块需要storage权限,建议您还使用alarms来安全地调度高速缓存清除: /* manifest.json */ { "permissions" : [ "storage" , "alarms" ] , "backgro
【文件预览】:
webext-storage-cache-master
----index.test-d.ts(2KB)
----.gitattributes(12B)
----.github()
--------workflows()
----index.ts(6KB)
----license(1KB)
----tsconfig.json(218B)
----test()
--------_fixtures.js(156B)
--------index.js(7KB)
----.npmrc(19B)
----.editorconfig(231B)
----.gitignore(99B)
----readme.md(7KB)
----package.json(2KB)

网友评论