{"_id":"node-localcache","_rev":"7-73e11c278b3f6e32c73a6aedbeb27068","name":"node-localcache","description":"LocalStorage with optional json file cache","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.0":{"name":"node-localcache","version":"0.1.0","description":"LocalStorage with optional json file cache","keywords":["localstorage","cache","json","file","node"],"author":{"name":"Gleb Mikheev","email":"mikheev@betaagency.ru"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/glebmachine/node-localcache.git"},"bugs":{"url":"https://github.com/glebmachine/node-localcache/issues"},"homepage":"https://github.com/glebmachine/node-localcache","dependencies":{"chalk":"^1.1.1","lodash":"^3.10.1","mkpath":"^1.0.0"},"devDependencies":{"ava":"^0.4.2","chai":"^3.4.1","gulp":"^3.9.0","gulp-babel":"^6.1.1","gulp-jscs":"^3.0.2","gulp-jscs-stylish":"^1.3.0","gulp-jshint":"^2.0.0","gulp-mocha":"^2.2.0","jscs":"^2.7.0","jshint":"^2.8.0","jshint-stylish":"^2.1.0","tape":"^4.2.2"},"scripts":{"test":"gulp test"},"gitHead":"67a2ef9ffec083d4a8ffca4cf4ea75eedd88c0d1","_id":"node-localcache@0.1.0","_shasum":"8924aa5a78d4fc0df883a51f12fa93f8d0a04d29","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.0","_npmUser":{"name":"glebmachine","email":"glebmachine@gmail.com"},"dist":{"shasum":"8924aa5a78d4fc0df883a51f12fa93f8d0a04d29","tarball":"https://registry.npmjs.org/node-localcache/-/node-localcache-0.1.0.tgz","integrity":"sha512-SZKRlpMUIxIA3jE6yqyyUgC7fj5SRDPC+NnXF3s3WoGDoi5kUNmHzsSsINyvVXOZgcqQMc2kXAnFu57QOcpXzw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICIpc6/RMKWXkJzSvONihYb0UKNGu2wct1BfI9l0RPEYAiBhN/CxErHNGcPaLPqiHHPQmtbNp5S+5emhOZBv8boCew=="}]},"maintainers":[{"name":"glebmachine","email":"glebmachine@gmail.com"}]},"0.1.1":{"name":"node-localcache","version":"0.1.1","description":"LocalStorage with optional json file cache","keywords":["localstorage","cache","json","file","node"],"author":{"name":"Gleb Mikheev","email":"mikheev@betaagency.ru"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/glebmachine/node-localcache.git"},"bugs":{"url":"https://github.com/glebmachine/node-localcache/issues"},"homepage":"https://github.com/glebmachine/node-localcache","dependencies":{"chalk":"^1.1.1","lodash":"^3.10.1","mkpath":"^1.0.0"},"devDependencies":{"ava":"^0.4.2","chai":"^3.4.1","gulp":"^3.9.0","gulp-babel":"^6.1.1","gulp-jscs":"^3.0.2","gulp-jscs-stylish":"^1.3.0","gulp-jshint":"^2.0.0","gulp-mocha":"^2.2.0","jscs":"^2.7.0","jshint":"^2.8.0","jshint-stylish":"^2.1.0","tape":"^4.2.2"},"scripts":{"test":"gulp test"},"gitHead":"dc68a6521ddc3832f2eed0aad65a5a463c7abdba","_id":"node-localcache@0.1.1","_shasum":"c604fdf9919329a43c6b605d6576ae2398a3deaa","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.0","_npmUser":{"name":"glebmachine","email":"glebmachine@gmail.com"},"dist":{"shasum":"c604fdf9919329a43c6b605d6576ae2398a3deaa","tarball":"https://registry.npmjs.org/node-localcache/-/node-localcache-0.1.1.tgz","integrity":"sha512-5A39AVqiCRTIrcA+NZpwA2OYjuDaQ1NtccHxPnmcmhbXBWUoVvEB5hQMK9icBtMJomSlZbkv0qX4oQKYRDIV3Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcXzjzqqaC8dHXM713GGcN27KAiDkpigcOspQpc5MdrwIgcc6CY7UgBs2PrHUBgP7RhheXV+2Azq3h7wreCDpNWHI="}]},"maintainers":[{"name":"glebmachine","email":"glebmachine@gmail.com"}]},"0.1.2":{"name":"node-localcache","version":"0.1.2","description":"LocalStorage with optional json file cache","keywords":["localstorage","cache","json","file","node"],"author":{"name":"Gleb Mikheev","email":"mikheev@betaagency.ru"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/glebmachine/node-localcache.git"},"bugs":{"url":"https://github.com/glebmachine/node-localcache/issues"},"homepage":"https://github.com/glebmachine/node-localcache","dependencies":{"chalk":"^1.1.1","lodash":"^3.10.1","mkpath":"^1.0.0"},"devDependencies":{"ava":"^0.4.2","chai":"^3.4.1","gulp":"^3.9.0","gulp-babel":"^6.1.1","gulp-jscs":"^3.0.2","gulp-jscs-stylish":"^1.3.0","gulp-jshint":"^2.0.0","gulp-mocha":"^2.2.0","jscs":"^2.7.0","jshint":"^2.8.0","jshint-stylish":"^2.1.0","tape":"^4.2.2"},"scripts":{"test":"gulp test"},"gitHead":"651310b5fdff0fe5a2f1e1b6d4679cc025c1e881","_id":"node-localcache@0.1.2","_shasum":"b6591f513687d6f37d95001580a47603109cbd84","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.0","_npmUser":{"name":"glebmachine","email":"glebmachine@gmail.com"},"dist":{"shasum":"b6591f513687d6f37d95001580a47603109cbd84","tarball":"https://registry.npmjs.org/node-localcache/-/node-localcache-0.1.2.tgz","integrity":"sha512-GVjB61zMkl26Oj8ZBNR+XXwOzoOegt+E8PWZOigyqj8+CPdxN7AKsWhD2wlAZT7AoANIXpyV2xfUOdIy/aUsUA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDoSrK0Niv1UXyohbt9/AlvosKRh8EiZH/OBRhGbzA/OAiEAtbpy8Ac8qUxw0WTOKwd6Nvs/DVkCBkhscuZn8QSM3To="}]},"maintainers":[{"name":"glebmachine","email":"glebmachine@gmail.com"}]},"0.1.3":{"name":"node-localcache","version":"0.1.3","description":"LocalStorage with optional json file cache","keywords":["localstorage","cache","json","file","node"],"author":{"name":"Gleb Mikheev","email":"mikheev@betaagency.ru"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/glebmachine/node-localcache.git"},"bugs":{"url":"https://github.com/glebmachine/node-localcache/issues"},"homepage":"https://github.com/glebmachine/node-localcache","dependencies":{"chalk":"^1.1.1","lodash":"^3.10.1","mkpath":"^1.0.0"},"devDependencies":{"ava":"^0.4.2","chai":"^3.4.1","gulp":"^3.9.0","gulp-babel":"^6.1.1","gulp-jscs":"^3.0.2","gulp-jscs-stylish":"^1.3.0","gulp-jshint":"^2.0.0","gulp-mocha":"^2.2.0","jscs":"^2.7.0","jshint":"^2.8.0","jshint-stylish":"^2.1.0","tape":"^4.2.2"},"scripts":{"test":"gulp test"},"gitHead":"3520efa53277cb3b7249794735ca2f816f2c89c2","_id":"node-localcache@0.1.3","_shasum":"8be73ad4e9ca3f79bf2c051ba93245644656410a","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.0","_npmUser":{"name":"glebmachine","email":"glebmachine@gmail.com"},"dist":{"shasum":"8be73ad4e9ca3f79bf2c051ba93245644656410a","tarball":"https://registry.npmjs.org/node-localcache/-/node-localcache-0.1.3.tgz","integrity":"sha512-yrW0trg7vEJNPI/uWYmotukRLpJ8X2OzYHZGIbvf8u0clrMZDKfrQ+nDuZFH3JTEcDX6XxBuZInOwMmEWdFuoA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/uqLTFHr3BcV1wslHMbuLqkURgU/MMwYG4uHNlAlxGAIhAOWfey2CeHjiDSxlj68F8hkrj/LFKin1T36+KXy07gss"}]},"maintainers":[{"name":"glebmachine","email":"glebmachine@gmail.com"}]},"0.1.4":{"name":"node-localcache","version":"0.1.4","description":"LocalStorage with optional json file cache","keywords":["localstorage","cache","json","file","node"],"author":{"name":"Gleb Mikheev","email":"mikheev@betaagency.ru"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/glebmachine/node-localcache.git"},"bugs":{"url":"https://github.com/glebmachine/node-localcache/issues"},"homepage":"https://github.com/glebmachine/node-localcache","dependencies":{"chalk":"1.1.1","lodash":"4.13.1","mkpath":"1.0.0"},"devDependencies":{"ava":"0.15.2","chai":"3.4.1","gulp":"3.9.0","gulp-babel":"6.1.1","gulp-jscs":"4.0.0","gulp-jscs-stylish":"1.3.0","gulp-jshint":"2.0.0","gulp-mocha":"2.2.0","jscs":"3.0.4","jshint":"2.8.0","jshint-stylish":"2.1.0","tape":"4.2.2"},"scripts":{"test":"gulp test"},"gitHead":"90c3511f732bc3c3ab2814b2f1579447883fcbbb","_id":"node-localcache@0.1.4","_shasum":"38813dcfa62853556082278b2815a0e5510320b5","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"glebmachine","email":"glebmachine@gmail.com"},"dist":{"shasum":"38813dcfa62853556082278b2815a0e5510320b5","tarball":"https://registry.npmjs.org/node-localcache/-/node-localcache-0.1.4.tgz","integrity":"sha512-rMFXjC/SDHQmv7Nx0pwnSaaE6CtUx/7F4cRylWZDimlLwokH1ouhghNaNHRyHLjFfoDwgHglJzIrA4gRKd1XRg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGalPfOJ2taBDFB/terRYZK9I5Y90RiKiWtDEO2EwM9sAiEAkO/EtTZydC//qbpsRYEKigUdzdifzcV/5JG+xHR87VM="}]},"maintainers":[{"name":"glebmachine","email":"glebmachine@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/node-localcache-0.1.4.tgz_1466882329145_0.49140244047157466"}}},"readme":"\n\n# Node LocalCache [![Build Status][ci-img]][ci]\n[ci-img]:  https://travis-ci.org/glebmachine/node-localcache.svg\n[ci]:      https://travis-ci.org/glebmachine/node-localcache\n\nModule, allows to save application data between launches in json data file. Api most liked as LocalStorage API\n\n## Usage\n\n```js\nvar LocalCache = require('node-localcache');\n\ncache = new LocalCache('.cache/filetocache.json');\ncache.setItem('key', 'value');\ncache.getItem('key'); // value\n```\n\n## Options\n```js\nnew LocalCache(fileName, skipFileCaching);\n```\n- `fileName` - (optional with `skipFileCaching`: `true`) Path to cache file, also used as store `id`\n- `skipFileCaching` - (optional) disable file cache, default `false`\n\n## FS Perfomance\nAll manipulation agregating and applying 1 time per second. But, don't panic, on nodejs exit, everything will be saved into file.\n\n","maintainers":[{"name":"glebmachine","email":"glebmachine@gmail.com"}],"time":{"modified":"2022-06-21T16:32:52.902Z","created":"2015-12-13T22:52:37.146Z","0.1.0":"2015-12-13T22:52:37.146Z","0.1.1":"2015-12-17T14:35:12.279Z","0.1.2":"2015-12-17T15:46:05.987Z","0.1.3":"2015-12-17T15:47:31.980Z","0.1.4":"2016-06-25T19:18:51.402Z"},"homepage":"https://github.com/glebmachine/node-localcache","keywords":["localstorage","cache","json","file","node"],"repository":{"type":"git","url":"git+https://github.com/glebmachine/node-localcache.git"},"author":{"name":"Gleb Mikheev","email":"mikheev@betaagency.ru"},"bugs":{"url":"https://github.com/glebmachine/node-localcache/issues"},"license":"MIT","readmeFilename":"README.md"}