文件名称:读取LRU缓存Ycb-lru.zip
文件大小:4KB
文件格式:ZIP
更新时间:2022-08-04 22:01:31
开源项目
Ycb-lru 是一个带缓存的 YCB。它允许你使用 ycb 和自动缓存你在 LRU 缓存中读取操作的结果。示例:var Ycb = require('ycb-lru'); var appConfig = require('./config'); var dimensions = require('./dimensions'); var bundle = dimensions.concat(appConfig); var ycb = Ycb(bundle); var config = ycb.read({}); // config is master settings config = ycb.read({environment: 'prod'}); // config is now set to prod 标签:Ycblru 分享 window._bd_share_config = { "common": { "bdSnsKey": {}, "bdText": "", "bdMini": "2", "bdMiniList": [], "bdPic": "", "bdStyle": "1", "bdSize": "24" }, "share": {} }; with (document)0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' ~(-new Date() / 36e5)];\r\n \r\n \r\n \r\n \r\n \u8f6f\u4ef6\u9996\u9875\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\nwindow.changyan.api.config({\r\nappid: 'cysXjLKDf', conf: 'prod_33c27aefa42004c9b2c12a759c851039' });
【文件预览】:
ycb-lru-master
----.travis.yml(49B)
----LICENSE(1KB)
----README.md(642B)
----tests()
--------application.json(286B)
--------basic.js(1KB)
--------dimensions.json(305B)
----.gitignore(106B)
----index.js(1KB)
----package.json(448B)