{ "_id": "flat-cache", "_rev": "29-97f4bd8b044d54715959a0b7cb9b06ea", "name": "flat-cache", "description": "A stupidly simple key/value storage using files to persist some data", "dist-tags": { "latest": "2.0.1" }, "versions": { "1.0.0": { "name": "flat-cache", "version": "1.0.0", "description": "A stupidly simple key/value storage using files to persist the data", "repository": { "type": "git", "url": "https://github.com/royriojas/flat-cache" }, "license": "MIT", "author": { "name": "Roy Riojas", "url": "http://royriojas.com" }, "main": "cache.js", "files": [ "cache.js" ], "engines": { "node": ">=0.10.0" }, "scripts": { "test": "mocha -R spec test/specs", "cover": "istanbul cover test/runner.js html text-summary", "watch": "watch-run -i -p 'test/specs/**/*.js' istanbul cover test/runner.js html text-summary" }, "keywords": [ "json cache", "simple cache", "file cache", "key par", "key value", "cache" ], "devDependencies": { "chai": "^2.1.0", "del": "^1.1.1", "glob-expand": "0.0.2", "istanbul": "^0.3.6", "mocha": "^2.1.0", "proxyquire": "^1.3.1", "sinon": "^1.12.2", "sinon-chai": "^2.7.0", "watch-run": "^1.2.1" }, "dependencies": { "graceful-fs": "^3.0.5", "read-json-sync": "^1.1.0", "write": "^0.1.1" }, "gitHead": "c98427458354d732ff97cd34afe574ea7da20751", "bugs": { "url": "https://github.com/royriojas/flat-cache/issues" }, "homepage": "https://github.com/royriojas/flat-cache", "_id": "flat-cache@1.0.0", "_shasum": "476fcc190c2cd267886f11e709f18df986490f5c", "_from": ".", "_npmVersion": "2.6.0", "_nodeVersion": "0.12.0", "_npmUser": { "name": "royriojas", "email": "royriojas@gmail.com" }, "maintainers": [ { "name": "royriojas", "email": "royriojas@gmail.com" } ], "dist": { "shasum": "476fcc190c2cd267886f11e709f18df986490f5c", "tarball": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.0.0.tgz" }, "directories": {} }, "1.0.1": { "name": "flat-cache", "version": "1.0.1", "description": "A stupidly simple key/value storage using files to persist the data", "repository": { "type": "git", "url": "https://github.com/royriojas/flat-cache" }, "license": "MIT", "author": { "name": "Roy Riojas", "url": "http://royriojas.com" }, "main": "cache.js", "files": [ "cache.js" ], "engines": { "node": ">=0.10.0" }, "scripts": { "test": "mocha -R spec test/specs", "cover": "istanbul cover test/runner.js html text-summary", "watch": "watch-run -i -p 'test/specs/**/*.js' istanbul cover test/runner.js html text-summary" }, "keywords": [ "json cache", "simple cache", "file cache", "key par", "key value", "cache" ], "devDependencies": { "chai": "^2.1.0", "del": "^1.1.1", "glob-expand": "0.0.2", "istanbul": "^0.3.6", "mocha": "^2.1.0", "proxyquire": "^1.3.1", "sinon": "^1.12.2", "sinon-chai": "^2.7.0", "watch-run": "^1.2.1" }, "dependencies": { "graceful-fs": "^3.0.5", "read-json-sync": "^1.1.0", "write": "^0.1.1" }, "gitHead": "c2b68053e3c0cc9a8b50fccd4c287322a3b7497c", "bugs": { "url": "https://github.com/royriojas/flat-cache/issues" }, "homepage": "https://github.com/royriojas/flat-cache", "_id": "flat-cache@1.0.1", "_shasum": "af579cbb98aad7441b2f5039b80ca0bc0dbcca51", "_from": ".", "_npmVersion": "2.6.0", "_nodeVersion": "0.12.0", "_npmUser": { "name": "royriojas", "email": "royriojas@gmail.com" }, "maintainers": [ { "name": "royriojas", "email": "royriojas@gmail.com" } ], "dist": { "shasum": "af579cbb98aad7441b2f5039b80ca0bc0dbcca51", "tarball": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.0.1.tgz" }, "directories": {} }, "1.0.2": { "name": "flat-cache", "version": "1.0.2", "description": "A stupidly simple key/value storage using files to persist the data", "repository": { "type": "git", "url": "https://github.com/royriojas/flat-cache" }, "license": "MIT", "author": { "name": "Roy Riojas", "url": "http://royriojas.com" }, "main": "cache.js", "files": [ "cache.js" ], "engines": { "node": ">=0.10.0" }, "scripts": { "test": "mocha -R spec test/specs", "cover": "istanbul cover test/runner.js html text-summary", "watch": "watch-run -i -p 'test/specs/**/*.js' istanbul cover test/runner.js html text-summary" }, "keywords": [ "json cache", "simple cache", "file cache", "key par", "key value", "cache" ], "devDependencies": { "chai": "^2.1.0", "glob-expand": "0.0.2", "istanbul": "^0.3.6", "mocha": "^2.1.0", "proxyquire": "^1.3.1", "sinon": "^1.12.2", "sinon-chai": "^2.7.0", "watch-run": "^1.2.1" }, "dependencies": { "del": "^1.1.1", "graceful-fs": "^3.0.5", "read-json-sync": "^1.1.0", "write": "^0.1.1" }, "gitHead": "af40443719107848488e120f1ccea92c4b32937c", "bugs": { "url": "https://github.com/royriojas/flat-cache/issues" }, "homepage": "https://github.com/royriojas/flat-cache", "_id": "flat-cache@1.0.2", "_shasum": "349032e0f9acff77ae6507140e1d2851087b2486", "_from": ".", "_npmVersion": "2.6.0", "_nodeVersion": "0.12.0", "_npmUser": { "name": "royriojas", "email": "royriojas@gmail.com" }, "maintainers": [ { "name": "royriojas", "email": "royriojas@gmail.com" } ], "dist": { "shasum": "349032e0f9acff77ae6507140e1d2851087b2486", "tarball": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.0.2.tgz" }, "directories": {} }, "1.0.3": { "name": "flat-cache", "version": "1.0.3", "description": "A stupidly simple key/value storage using files to persist the data", "repository": { "type": "git", "url": "https://github.com/royriojas/flat-cache" }, "license": "MIT", "author": { "name": "Roy Riojas", "url": "http://royriojas.com" }, "main": "cache.js", "files": [ "cache.js" ], "engines": { "node": ">=0.10.0" }, "scripts": { "test": "mocha -R spec test/specs", "cover": "istanbul cover test/runner.js html text-summary", "watch": "watch-run -i -p 'test/specs/**/*.js' istanbul cover test/runner.js html text-summary" }, "keywords": [ "json cache", "simple cache", "file cache", "key par", "key value", "cache" ], "devDependencies": { "chai": "^2.1.0", "glob-expand": "0.0.2", "istanbul": "^0.3.6", "mocha": "^2.1.0", "proxyquire": "^1.3.1", "sinon": "^1.12.2", "sinon-chai": "^2.7.0", "watch-run": "^1.2.1" }, "dependencies": { "del": "^1.1.1", "graceful-fs": "^3.0.5", "read-json-sync": "^1.1.0", "write": "^0.1.1" }, "gitHead": "13947c1c3c39f30ef30e793de1671cf5cee68f3d", "bugs": { "url": "https://github.com/royriojas/flat-cache/issues" }, "homepage": "https://github.com/royriojas/flat-cache", "_id": "flat-cache@1.0.3", "_shasum": "7a62750bdd7141723a2afd62c6026fecb7378bb0", "_from": ".", "_npmVersion": "2.6.0", "_nodeVersion": "0.12.0", "_npmUser": { "name": "royriojas", "email": "royriojas@gmail.com" }, "maintainers": [ { "name": "royriojas", "email": "royriojas@gmail.com" } ], "dist": { "shasum": "7a62750bdd7141723a2afd62c6026fecb7378bb0", "tarball": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.0.3.tgz" }, "directories": {} }, "1.0.4": { "name": "flat-cache", "version": "1.0.4", "description": "A stupidly simple key/value storage using files to persist the data", "repository": { "type": "git", "url": "git+https://github.com/royriojas/flat-cache.git" }, "license": "MIT", "author": { "name": "Roy Riojas", "url": "http://royriojas.com" }, "main": "cache.js", "files": [ "cache.js" ], "engines": { "node": ">=0.10.0" }, "scripts": { "test": "mocha -R spec test/specs", "cover": "istanbul cover test/runner.js html text-summary", "watch": "watch-run -i -p 'test/specs/**/*.js' istanbul cover test/runner.js html text-summary" }, "keywords": [ "json cache", "simple cache", "file cache", "key par", "key value", "cache" ], "devDependencies": { "chai": "^2.1.0", "glob-expand": "0.0.2", "istanbul": "^0.3.6", "mocha": "^2.1.0", "proxyquire": "^1.3.1", "sinon": "^1.12.2", "sinon-chai": "^2.7.0", "watch-run": "^1.2.1" }, "dependencies": { "del": "^1.1.1", "graceful-fs": "^3.0.5", "read-json-sync": "^1.1.0", "write": "^0.1.1" }, "gitHead": "b26addb245d4fedb0f2e09d9179671638a678241", "bugs": { "url": "https://github.com/royriojas/flat-cache/issues" }, "homepage": "https://github.com/royriojas/flat-cache#readme", "_id": "flat-cache@1.0.4", "_shasum": "7d4a80c35879c820b067baa7dfa68c48c10900c3", "_from": ".", "_npmVersion": "2.14.0", "_nodeVersion": "0.12.0", "_npmUser": { "name": "royriojas", "email": "royriojas@gmail.com" }, "maintainers": [ { "name": "royriojas", "email": "royriojas@gmail.com" } ], "dist": { "shasum": "7d4a80c35879c820b067baa7dfa68c48c10900c3", "tarball": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.0.4.tgz" }, "directories": {} }, "1.0.6": { "name": "flat-cache", "version": "1.0.6", "description": "A stupidly simple key/value storage using files to persist some data", "repository": { "type": "git", "url": "git+https://github.com/royriojas/flat-cache.git" }, "license": "MIT", "author": { "name": "Roy Riojas", "url": "http://royriojas.com" }, "main": "cache.js", "files": [ "cache.js" ], "engines": { "node": ">=0.10.0" }, "precommit": [ "npm run verify --silent" ], "prepush": [ "npm run verify --silent" ], "scripts": { "beautify": "esbeautifier 'cache.js' 'specs/**/*.js'", "beautify-check": "esbeautifier -k 'cache.js' 'specs/**/*.js'", "eslint": "eslinter 'cache.js' 'specs/**/*.js'", "lint": "npm run beautify && npm run eslint", "verify": "npm run beautify-check && npm run eslint", "install-hooks": "prepush install && changelogx install-hook && precommit install", "changelog": "changelogx -f markdown -o ./changelog.md", "do-changelog": "npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify", "pre-v": "npm run verify", "post-v": "npm run do-changelog && git push --no-verify && git push --tags --no-verify", "bump-major": "npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v", "bump-minor": "npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v", "bump-patch": "npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v", "test": "mocha -R spec test/specs", "cover": "istanbul cover test/runner.js html text-summary", "watch": "watch-run -i -p 'test/specs/**/*.js' istanbul cover test/runner.js html text-summary" }, "keywords": [ "json cache", "simple cache", "file cache", "key par", "key value", "cache" ], "devDependencies": { "chai": "^3.2.0", "glob-expand": "^0.1.0", "istanbul": "^0.3.19", "mocha": "^2.3.2", "proxyquire": "^1.7.2", "sinon": "^1.16.1", "sinon-chai": "^2.8.0", "watch-run": "^1.2.2" }, "dependencies": { "changelogx": "^1.0.18", "del": "^2.0.2", "esbeautifier": "^4.2.11", "eslinter": "^2.3.3", "graceful-fs": "^4.1.2", "precommit": "^1.1.5", "prepush": "^3.1.4", "read-json-sync": "^1.1.0", "write": "^0.2.1" }, "gitHead": "f51197a585909a6062e80f17aa227da2c5adf976", "bugs": { "url": "https://github.com/royriojas/flat-cache/issues" }, "homepage": "https://github.com/royriojas/flat-cache#readme", "_id": "flat-cache@1.0.6", "_shasum": "d6d39d679f4506b4be9a0215a953a20552f9e678", "_from": ".", "_npmVersion": "2.14.1", "_nodeVersion": "0.12.0", "_npmUser": { "name": "royriojas", "email": "royriojas@gmail.com" }, "maintainers": [ { "name": "royriojas", "email": "royriojas@gmail.com" } ], "dist": { "shasum": "d6d39d679f4506b4be9a0215a953a20552f9e678", "tarball": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.0.6.tgz" }, "directories": {} }, "1.0.7": { "name": "flat-cache", "version": "1.0.7", "description": "A stupidly simple key/value storage using files to persist some data", "repository": { "type": "git", "url": "git+https://github.com/royriojas/flat-cache.git" }, "license": "MIT", "author": { "name": "Roy Riojas", "url": "http://royriojas.com" }, "main": "cache.js", "files": [ "cache.js" ], "engines": { "node": ">=0.10.0" }, "precommit": [ "npm run verify --silent" ], "prepush": [ "npm run verify --silent" ], "scripts": { "beautify": "esbeautifier 'cache.js' 'specs/**/*.js'", "beautify-check": "esbeautifier -k 'cache.js' 'specs/**/*.js'", "eslint": "eslinter 'cache.js' 'specs/**/*.js'", "lint": "npm run beautify && npm run eslint", "verify": "npm run beautify-check && npm run eslint", "install-hooks": "prepush install && changelogx install-hook && precommit install", "changelog": "changelogx -f markdown -o ./changelog.md", "do-changelog": "npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify", "pre-v": "npm run verify", "post-v": "npm run do-changelog && git push --no-verify && git push --tags --no-verify", "bump-major": "npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v", "bump-minor": "npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v", "bump-patch": "npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v", "test": "mocha -R spec test/specs", "cover": "istanbul cover test/runner.js html text-summary", "watch": "watch-run -i -p 'test/specs/**/*.js' istanbul cover test/runner.js html text-summary" }, "keywords": [ "json cache", "simple cache", "file cache", "key par", "key value", "cache" ], "devDependencies": { "chai": "^3.2.0", "changelogx": "^1.0.18", "esbeautifier": "^4.2.11", "eslinter": "^2.3.3", "glob-expand": "^0.1.0", "istanbul": "^0.3.19", "mocha": "^2.3.2", "precommit": "^1.1.5", "prepush": "^3.1.4", "proxyquire": "^1.7.2", "sinon": "^1.16.1", "sinon-chai": "^2.8.0", "watch-run": "^1.2.2" }, "dependencies": { "del": "^2.0.2", "graceful-fs": "^4.1.2", "read-json-sync": "^1.1.0", "write": "^0.2.1" }, "gitHead": "c8981cea35776b4a60deca3e6b51ffae263ee6dd", "bugs": { "url": "https://github.com/royriojas/flat-cache/issues" }, "homepage": "https://github.com/royriojas/flat-cache#readme", "_id": "flat-cache@1.0.7", "_shasum": "d8a0400ea8761eb23ad48aac0bc829f51757874c", "_from": ".", "_npmVersion": "2.14.1", "_nodeVersion": "0.12.0", "_npmUser": { "name": "royriojas", "email": "royriojas@gmail.com" }, "maintainers": [ { "name": "royriojas", "email": "royriojas@gmail.com" } ], "dist": { "shasum": "d8a0400ea8761eb23ad48aac0bc829f51757874c", "tarball": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.0.7.tgz" }, "directories": {} }, "1.0.8": { "name": "flat-cache", "version": "1.0.8", "description": "A stupidly simple key/value storage using files to persist some data", "repository": { "type": "git", "url": "git+https://github.com/royriojas/flat-cache.git" }, "license": "MIT", "author": { "name": "Roy Riojas", "url": "http://royriojas.com" }, "main": "cache.js", "files": [ "cache.js" ], "engines": { "node": ">=0.10.0" }, "precommit": [ "npm run verify --silent" ], "prepush": [ "npm run verify --silent" ], "scripts": { "beautify": "esbeautifier 'cache.js' 'specs/**/*.js'", "beautify-check": "esbeautifier -k 'cache.js' 'specs/**/*.js'", "eslint": "eslinter 'cache.js' 'specs/**/*.js'", "lint": "npm run beautify && npm run eslint", "verify": "npm run beautify-check && npm run eslint", "install-hooks": "prepush install && changelogx install-hook && precommit install", "changelog": "changelogx -f markdown -o ./changelog.md", "do-changelog": "npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify", "pre-v": "npm run verify", "post-v": "npm run do-changelog && git push --no-verify && git push --tags --no-verify", "bump-major": "npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v", "bump-minor": "npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v", "bump-patch": "npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v", "test": "mocha -R spec test/specs", "cover": "istanbul cover test/runner.js html text-summary", "watch": "watch-run -i -p 'test/specs/**/*.js' istanbul cover test/runner.js html text-summary" }, "keywords": [ "json cache", "simple cache", "file cache", "key par", "key value", "cache" ], "devDependencies": { "chai": "^3.2.0", "changelogx": "^1.0.18", "esbeautifier": "^4.2.11", "eslinter": "^2.3.3", "glob-expand": "^0.1.0", "istanbul": "^0.3.19", "mocha": "^2.3.2", "precommit": "^1.1.5", "prepush": "^3.1.4", "proxyquire": "^1.7.2", "sinon": "^1.16.1", "sinon-chai": "^2.8.0", "watch-run": "^1.2.2" }, "dependencies": { "del": "^2.0.2", "graceful-fs": "^4.1.2", "read-json-sync": "^1.1.0", "write": "^0.2.1" }, "gitHead": "73ffed9194a60da639fe07f10b7742fdd2807326", "bugs": { "url": "https://github.com/royriojas/flat-cache/issues" }, "homepage": "https://github.com/royriojas/flat-cache#readme", "_id": "flat-cache@1.0.8", "_shasum": "d0923628adef582373336f2d2e8623ee2b53b552", "_from": ".", "_npmVersion": "2.14.1", "_nodeVersion": "0.12.0", "_npmUser": { "name": "royriojas", "email": "royriojas@gmail.com" }, "maintainers": [ { "name": "royriojas", "email": "royriojas@gmail.com" } ], "dist": { "shasum": "d0923628adef582373336f2d2e8623ee2b53b552", "tarball": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.0.8.tgz" }, "directories": {} }, "1.0.9": { "name": "flat-cache", "version": "1.0.9", "description": "A stupidly simple key/value storage using files to persist some data", "repository": { "type": "git", "url": "git+https://github.com/royriojas/flat-cache.git" }, "license": "MIT", "author": { "name": "Roy Riojas", "url": "http://royriojas.com" }, "main": "cache.js", "files": [ "cache.js" ], "engines": { "node": ">=0.10.0" }, "precommit": [ "npm run verify --silent" ], "prepush": [ "npm run verify --silent" ], "scripts": { "beautify": "esbeautifier 'cache.js' 'specs/**/*.js'", "beautify-check": "esbeautifier -k 'cache.js' 'specs/**/*.js'", "eslint": "eslinter 'cache.js' 'specs/**/*.js'", "lint": "npm run beautify && npm run eslint", "verify": "npm run beautify-check && npm run eslint", "install-hooks": "prepush install && changelogx install-hook && precommit install", "changelog": "changelogx -f markdown -o ./changelog.md", "do-changelog": "npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify", "pre-v": "npm run verify", "post-v": "npm run do-changelog && git push --no-verify && git push --tags --no-verify", "bump-major": "npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v", "bump-minor": "npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v", "bump-patch": "npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v", "test": "mocha -R spec test/specs", "cover": "istanbul cover test/runner.js html text-summary", "watch": "watch-run -i -p 'test/specs/**/*.js' istanbul cover test/runner.js html text-summary" }, "keywords": [ "json cache", "simple cache", "file cache", "key par", "key value", "cache" ], "changelogx": { "ignoreRegExp": [ "BLD: Release", "DOC: Generate Changelog", "Generated Changelog" ], "issueIDRegExp": "#(\\d+)", "commitURL": "https://github.com/royriojas/flat-cache/commit/{0}", "authorURL": "https://github.com/{0}", "issueIDURL": "https://github.com/royriojas/flat-cache/issues/{0}", "projectName": "flat-cache" }, "devDependencies": { "chai": "^3.2.0", "changelogx": "^1.0.18", "esbeautifier": "^4.2.11", "eslinter": "^2.3.3", "glob-expand": "^0.1.0", "istanbul": "^0.3.19", "mocha": "^2.3.2", "precommit": "^1.1.5", "prepush": "^3.1.4", "proxyquire": "^1.7.2", "sinon": "^1.16.1", "sinon-chai": "^2.8.0", "watch-run": "^1.2.2" }, "dependencies": { "del": "^2.0.2", "graceful-fs": "^4.1.2", "read-json-sync": "^1.1.0", "write": "^0.2.1" }, "gitHead": "7dbd7009e254239fd961c9d9c3c2695d50269f5b", "bugs": { "url": "https://github.com/royriojas/flat-cache/issues" }, "homepage": "https://github.com/royriojas/flat-cache#readme", "_id": "flat-cache@1.0.9", "_shasum": "e1901f4fe9831664d8c23f040ebda30c73df3b3b", "_from": ".", "_npmVersion": "2.14.1", "_nodeVersion": "0.12.0", "_npmUser": { "name": "royriojas", "email": "royriojas@gmail.com" }, "maintainers": [ { "name": "royriojas", "email": "royriojas@gmail.com" } ], "dist": { "shasum": "e1901f4fe9831664d8c23f040ebda30c73df3b3b", "tarball": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.0.9.tgz" }, "directories": {} }, "1.0.10": { "name": "flat-cache", "version": "1.0.10", "description": "A stupidly simple key/value storage using files to persist some data", "repository": { "type": "git", "url": "git+https://github.com/royriojas/flat-cache.git" }, "license": "MIT", "author": { "name": "Roy Riojas", "url": "http://royriojas.com" }, "main": "cache.js", "files": [ "cache.js" ], "engines": { "node": ">=0.10.0" }, "precommit": [ "npm run verify --silent" ], "prepush": [ "npm run verify --silent" ], "scripts": { "beautify": "esbeautifier 'cache.js' 'specs/**/*.js'", "beautify-check": "npm run beautify -- -k", "eslint": "eslinter 'cache.js' 'specs/**/*.js'", "eslint-fix": "npm run eslint -- --fix", "autofix": "npm run beautify && npm run eslint-fix", "check": "npm run beautify-check && npm run eslint", "verify": "npm run check && npm run test:cache", "install-hooks": "prepush install && changelogx install-hook && precommit install", "changelog": "changelogx -f markdown -o ./changelog.md", "do-changelog": "npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify", "pre-v": "npm run verify", "post-v": "npm run do-changelog && git push --no-verify && git push --tags --no-verify", "bump-major": "npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v", "bump-minor": "npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v", "bump-patch": "npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v", "test:cache": "mocha -R spec test/specs", "test": "npm run verify --silent", "cover": "istanbul cover test/runner.js html text-summary", "watch": "watch-run -i -p 'test/specs/**/*.js' istanbul cover test/runner.js html text-summary" }, "keywords": [ "json cache", "simple cache", "file cache", "key par", "key value", "cache" ], "changelogx": { "ignoreRegExp": [ "BLD: Release", "DOC: Generate Changelog", "Generated Changelog" ], "issueIDRegExp": "#(\\d+)", "commitURL": "https://github.com/royriojas/flat-cache/commit/{0}", "authorURL": "https://github.com/{0}", "issueIDURL": "https://github.com/royriojas/flat-cache/issues/{0}", "projectName": "flat-cache" }, "devDependencies": { "chai": "^3.2.0", "changelogx": "^1.0.18", "esbeautifier": "^6.1.8", "eslinter": "^3.2.1", "glob-expand": "^0.1.0", "istanbul": "^0.3.19", "mocha": "^2.3.2", "precommit": "^1.1.5", "prepush": "^3.1.4", "proxyquire": "^1.7.2", "sinon": "^1.16.1", "sinon-chai": "^2.8.0", "watch-run": "^1.2.2" }, "dependencies": { "del": "^2.0.2", "graceful-fs": "^4.1.2", "read-json-sync": "^1.1.0", "write": "^0.2.1" }, "gitHead": "58bb40ccc87d79eb16146629be79d7577e6632da", "bugs": { "url": "https://github.com/royriojas/flat-cache/issues" }, "homepage": "https://github.com/royriojas/flat-cache#readme", "_id": "flat-cache@1.0.10", "_shasum": "73d6df4a28502160a05e059544a6aeeae8b0047a", "_from": ".", "_npmVersion": "2.14.5", "_nodeVersion": "0.12.0", "_npmUser": { "name": "royriojas", "email": "royriojas@gmail.com" }, "maintainers": [ { "name": "royriojas", "email": "royriojas@gmail.com" } ], "dist": { "shasum": "73d6df4a28502160a05e059544a6aeeae8b0047a", "tarball": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.0.10.tgz" }, "directories": {} }, "1.2.0": { "name": "flat-cache", "version": "1.2.0", "description": "A stupidly simple key/value storage using files to persist some data", "repository": { "type": "git", "url": "git+https://github.com/royriojas/flat-cache.git" }, "license": "MIT", "author": { "name": "Roy Riojas", "url": "http://royriojas.com" }, "main": "cache.js", "files": [ "cache.js" ], "engines": { "node": ">=0.10.0" }, "precommit": [ "npm run verify --silent" ], "prepush": [ "npm run verify --silent" ], "scripts": { "beautify": "esbeautifier 'cache.js' 'test/specs/**/*.js'", "beautify-check": "npm run beautify -- -k", "eslint": "eslinter 'cache.js' 'utils.js' 'specs/**/*.js'", "eslint-fix": "npm run eslint -- --fix", "autofix": "npm run beautify && npm run eslint-fix", "check": "npm run beautify-check && npm run eslint", "verify": "npm run check && npm run test:cache", "install-hooks": "prepush install && changelogx install-hook && precommit install", "changelog": "changelogx -f markdown -o ./changelog.md", "do-changelog": "npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify", "pre-v": "npm run verify", "post-v": "npm run do-changelog && git push --no-verify && git push --tags --no-verify", "bump-major": "npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v", "bump-minor": "npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v", "bump-patch": "npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v", "test:cache": "mocha -R spec test/specs", "test": "npm run verify --silent", "cover": "istanbul cover test/runner.js html text-summary", "watch": "watch-run -i -p 'test/specs/**/*.js' istanbul cover test/runner.js html text-summary" }, "keywords": [ "json cache", "simple cache", "file cache", "key par", "key value", "cache" ], "changelogx": { "ignoreRegExp": [ "BLD: Release", "DOC: Generate Changelog", "Generated Changelog" ], "issueIDRegExp": "#(\\d+)", "commitURL": "https://github.com/royriojas/flat-cache/commit/{0}", "authorURL": "https://github.com/{0}", "issueIDURL": "https://github.com/royriojas/flat-cache/issues/{0}", "projectName": "flat-cache" }, "devDependencies": { "chai": "^3.2.0", "changelogx": "^1.0.18", "esbeautifier": "^6.1.8", "eslinter": "^3.2.1", "glob-expand": "^0.1.0", "istanbul": "^0.3.19", "mocha": "^2.3.2", "precommit": "^1.1.5", "prepush": "^3.1.4", "proxyquire": "^1.7.2", "sinon": "^1.16.1", "sinon-chai": "^2.8.0", "watch-run": "^1.2.2" }, "dependencies": { "circular-json": "^0.3.0", "del": "^2.0.2", "graceful-fs": "^4.1.2", "write": "^0.2.1" }, "gitHead": "199f3fc3760745083121bb77ed093a0fc400dc56", "bugs": { "url": "https://github.com/royriojas/flat-cache/issues" }, "homepage": "https://github.com/royriojas/flat-cache#readme", "_id": "flat-cache@1.2.0", "_shasum": "9647a9d7aebe50af99c02b1c923b1b22c7f61472", "_from": ".", "_npmVersion": "3.10.3", "_nodeVersion": "6.3.0", "_npmUser": { "name": "royriojas", "email": "royriojas@gmail.com" }, "dist": { "shasum": "9647a9d7aebe50af99c02b1c923b1b22c7f61472", "tarball": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.2.0.tgz" }, "maintainers": [ { "name": "royriojas", "email": "royriojas@gmail.com" } ], "_npmOperationalInternal": { "host": "packages-12-west.internal.npmjs.com", "tmp": "tmp/flat-cache-1.2.0.tgz_1470042472547_0.039611376356333494" }, "directories": {} }, "1.2.1": { "name": "flat-cache", "version": "1.2.1", "description": "A stupidly simple key/value storage using files to persist some data", "repository": { "type": "git", "url": "git+https://github.com/royriojas/flat-cache.git" }, "license": "MIT", "author": { "name": "Roy Riojas", "url": "http://royriojas.com" }, "main": "cache.js", "files": [ "cache.js", "utils.js" ], "engines": { "node": ">=0.10.0" }, "precommit": [ "npm run verify --silent" ], "prepush": [ "npm run verify --silent" ], "scripts": { "beautify": "esbeautifier 'cache.js' 'test/specs/**/*.js'", "beautify-check": "npm run beautify -- -k", "eslint": "eslinter 'cache.js' 'utils.js' 'specs/**/*.js'", "eslint-fix": "npm run eslint -- --fix", "autofix": "npm run beautify && npm run eslint-fix", "check": "npm run beautify-check && npm run eslint", "verify": "npm run check && npm run test:cache", "install-hooks": "prepush install && changelogx install-hook && precommit install", "changelog": "changelogx -f markdown -o ./changelog.md", "do-changelog": "npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify", "pre-v": "npm run verify", "post-v": "npm run do-changelog && git push --no-verify && git push --tags --no-verify", "bump-major": "npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v", "bump-minor": "npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v", "bump-patch": "npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v", "test:cache": "mocha -R spec test/specs", "test": "npm run verify --silent", "cover": "istanbul cover test/runner.js html text-summary", "watch": "watch-run -i -p 'test/specs/**/*.js' istanbul cover test/runner.js html text-summary" }, "keywords": [ "json cache", "simple cache", "file cache", "key par", "key value", "cache" ], "changelogx": { "ignoreRegExp": [ "BLD: Release", "DOC: Generate Changelog", "Generated Changelog" ], "issueIDRegExp": "#(\\d+)", "commitURL": "https://github.com/royriojas/flat-cache/commit/{0}", "authorURL": "https://github.com/{0}", "issueIDURL": "https://github.com/royriojas/flat-cache/issues/{0}", "projectName": "flat-cache" }, "devDependencies": { "chai": "^3.2.0", "changelogx": "^1.0.18", "esbeautifier": "^6.1.8", "eslinter": "^3.2.1", "glob-expand": "^0.1.0", "istanbul": "^0.3.19", "mocha": "^2.3.2", "precommit": "^1.1.5", "prepush": "^3.1.4", "proxyquire": "^1.7.2", "sinon": "^1.16.1", "sinon-chai": "^2.8.0", "watch-run": "^1.2.2" }, "dependencies": { "circular-json": "^0.3.0", "del": "^2.0.2", "graceful-fs": "^4.1.2", "write": "^0.2.1" }, "gitHead": "ca27117e382576b93d22754902bf7d80f607fb22", "bugs": { "url": "https://github.com/royriojas/flat-cache/issues" }, "homepage": "https://github.com/royriojas/flat-cache#readme", "_id": "flat-cache@1.2.1", "_shasum": "6c837d6225a7de5659323740b36d5361f71691ff", "_from": ".", "_npmVersion": "3.10.3", "_nodeVersion": "6.3.0", "_npmUser": { "name": "royriojas", "email": "royriojas@gmail.com" }, "dist": { "shasum": "6c837d6225a7de5659323740b36d5361f71691ff", "tarball": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.2.1.tgz" }, "maintainers": [ { "name": "royriojas", "email": "royriojas@gmail.com" } ], "_npmOperationalInternal": { "host": "packages-16-east.internal.npmjs.com", "tmp": "tmp/flat-cache-1.2.1.tgz_1470043202592_0.29112970223650336" }, "directories": {} }, "1.2.2": { "name": "flat-cache", "version": "1.2.2", "description": "A stupidly simple key/value storage using files to persist some data", "repository": { "type": "git", "url": "git+https://github.com/royriojas/flat-cache.git" }, "license": "MIT", "author": { "name": "Roy Riojas", "url": "http://royriojas.com" }, "main": "cache.js", "files": [ "cache.js", "utils.js" ], "engines": { "node": ">=0.10.0" }, "precommit": [ "npm run verify --silent" ], "prepush": [ "npm run verify --silent" ], "scripts": { "beautify": "esbeautifier 'cache.js' 'test/specs/**/*.js'", "beautify-check": "npm run beautify -- -k", "eslint": "eslinter 'cache.js' 'utils.js' 'specs/**/*.js'", "eslint-fix": "npm run eslint -- --fix", "autofix": "npm run beautify && npm run eslint-fix", "check": "npm run beautify-check && npm run eslint", "verify": "npm run check && npm run test:cache", "install-hooks": "prepush install && changelogx install-hook && precommit install", "changelog": "changelogx -f markdown -o ./changelog.md", "do-changelog": "npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify", "pre-v": "npm run verify", "post-v": "npm run do-changelog && git push --no-verify && git push --tags --no-verify", "bump-major": "npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v", "bump-minor": "npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v", "bump-patch": "npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v", "test:cache": "mocha -R spec test/specs", "test": "npm run verify --silent", "cover": "istanbul cover test/runner.js html text-summary", "watch": "watch-run -i -p 'test/specs/**/*.js' istanbul cover test/runner.js html text-summary" }, "keywords": [ "json cache", "simple cache", "file cache", "key par", "key value", "cache" ], "changelogx": { "ignoreRegExp": [ "BLD: Release", "DOC: Generate Changelog", "Generated Changelog" ], "issueIDRegExp": "#(\\d+)", "commitURL": "https://github.com/royriojas/flat-cache/commit/{0}", "authorURL": "https://github.com/{0}", "issueIDURL": "https://github.com/royriojas/flat-cache/issues/{0}", "projectName": "flat-cache" }, "devDependencies": { "chai": "^3.2.0", "changelogx": "^1.0.18", "esbeautifier": "^6.1.8", "eslinter": "^3.2.1", "glob-expand": "^0.1.0", "istanbul": "^0.3.19", "mocha": "^2.3.2", "precommit": "^1.1.5", "prepush": "^3.1.4", "proxyquire": "^1.7.2", "sinon": "^1.16.1", "sinon-chai": "^2.8.0", "watch-run": "^1.2.2" }, "dependencies": { "circular-json": "^0.3.1", "del": "^2.0.2", "graceful-fs": "^4.1.2", "write": "^0.2.1" }, "gitHead": "9fdf499efd3dfb950e563ed7486623d7dc3e26c8", "bugs": { "url": "https://github.com/royriojas/flat-cache/issues" }, "homepage": "https://github.com/royriojas/flat-cache#readme", "_id": "flat-cache@1.2.2", "_shasum": "fa86714e72c21db88601761ecf2f555d1abc6b96", "_from": ".", "_npmVersion": "3.10.8", "_nodeVersion": "6.9.1", "_npmUser": { "name": "royriojas", "email": "royriojas@gmail.com" }, "dist": { "shasum": "fa86714e72c21db88601761ecf2f555d1abc6b96", "tarball": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.2.2.tgz" }, "maintainers": [ { "name": "royriojas", "email": "royriojas@gmail.com" } ], "_npmOperationalInternal": { "host": "packages-18-east.internal.npmjs.com", "tmp": "tmp/flat-cache-1.2.2.tgz_1482199463409_0.13759022881276906" }, "directories": {} }, "1.3.0": { "name": "flat-cache", "version": "1.3.0", "description": "A stupidly simple key/value storage using files to persist some data", "repository": { "type": "git", "url": "git+https://github.com/royriojas/flat-cache.git" }, "license": "MIT", "author": { "name": "Roy Riojas", "url": "http://royriojas.com" }, "main": "cache.js", "files": [ "cache.js", "utils.js" ], "engines": { "node": ">=0.10.0" }, "precommit": [ "npm run verify --silent" ], "prepush": [ "npm run verify --silent" ], "scripts": { "beautify": "esbeautifier 'cache.js' 'test/specs/**/*.js'", "beautify-check": "npm run beautify -- -k", "eslint": "eslinter 'cache.js' 'utils.js' 'specs/**/*.js'", "eslint-fix": "npm run eslint -- --fix", "autofix": "npm run beautify && npm run eslint-fix", "check": "npm run beautify-check && npm run eslint", "verify": "npm run check && npm run test:cache", "install-hooks": "prepush install && changelogx install-hook && precommit install", "changelog": "changelogx -f markdown -o ./changelog.md", "do-changelog": "npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify", "pre-v": "npm run verify", "post-v": "npm run do-changelog && git push --no-verify && git push --tags --no-verify", "bump-major": "npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v", "bump-minor": "npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v", "bump-patch": "npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v", "test:cache": "mocha -R spec test/specs", "test": "npm run verify --silent", "cover": "istanbul cover test/runner.js html text-summary", "watch": "watch-run -i -p 'test/specs/**/*.js' istanbul cover test/runner.js html text-summary" }, "keywords": [ "json cache", "simple cache", "file cache", "key par", "key value", "cache" ], "changelogx": { "ignoreRegExp": [ "BLD: Release", "DOC: Generate Changelog", "Generated Changelog" ], "issueIDRegExp": "#(\\d+)", "commitURL": "https://github.com/royriojas/flat-cache/commit/{0}", "authorURL": "https://github.com/{0}", "issueIDURL": "https://github.com/royriojas/flat-cache/issues/{0}", "projectName": "flat-cache" }, "devDependencies": { "chai": "^3.2.0", "changelogx": "^1.0.18", "esbeautifier": "^6.1.8", "eslinter": "^3.2.1", "glob-expand": "^0.1.0", "istanbul": "^0.3.19", "mocha": "^2.3.2", "precommit": "^1.1.5", "prepush": "^3.1.4", "proxyquire": "^1.7.2", "sinon": "^1.16.1", "sinon-chai": "^2.8.0", "watch-run": "^1.2.2" }, "dependencies": { "circular-json": "^0.3.1", "del": "^2.0.2", "graceful-fs": "^4.1.2", "write": "^0.2.1" }, "gitHead": "f24515a154833853feb825b62149ea48ba7e226a", "bugs": { "url": "https://github.com/royriojas/flat-cache/issues" }, "homepage": "https://github.com/royriojas/flat-cache#readme", "_id": "flat-cache@1.3.0", "_shasum": "d3030b32b38154f4e3b7e9c709f490f7ef97c481", "_from": ".", "_npmVersion": "3.10.8", "_nodeVersion": "6.9.1", "_npmUser": { "name": "royriojas", "email": "royriojas@gmail.com" }, "dist": { "shasum": "d3030b32b38154f4e3b7e9c709f490f7ef97c481", "tarball": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.3.0.tgz" }, "maintainers": [ { "name": "royriojas", "email": "royriojas@gmail.com" } ], "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/flat-cache-1.3.0.tgz_1506460157624_0.9121717647649348" }, "directories": {} }, "1.3.1": { "name": "flat-cache", "version": "1.3.1", "description": "A stupidly simple key/value storage using files to persist some data", "repository": { "type": "git", "url": "git+https://github.com/royriojas/flat-cache.git" }, "license": "MIT", "author": { "name": "Roy Riojas", "url": "http://royriojas.com" }, "main": "cache.js", "engines": { "node": ">=0.10.0" }, "precommit": [ "npm run verify --silent" ], "prepush": [ "npm run verify --silent" ], "scripts": { "beautify": "esbeautifier cache.js test/specs/**/*.js", "beautify-check": "npm run beautify -- -k", "eslint": "eslinter cache.js utils.js specs/**/*.js", "eslint-fix": "npm run eslint -- --fix", "autofix": "npm run beautify && npm run eslint-fix", "check": "npm run beautify-check && npm run eslint", "verify": "npm run check && npm run test:cache", "install-hooks": "prepush install && changelogx install-hook && precommit install", "changelog": "changelogx -f markdown -o ./changelog.md", "do-changelog": "npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify", "pre-v": "npm run verify", "post-v": "npm run do-changelog && git push --no-verify && git push --tags --no-verify", "bump-major": "npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v", "bump-minor": "npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v", "bump-patch": "npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v", "test:cache": "mocha -R spec test/specs", "test": "npm run verify --silent", "cover": "istanbul cover test/runner.js html text-summary", "watch": "watch-run -i -p 'test/specs/**/*.js' istanbul cover test/runner.js html text-summary" }, "keywords": [ "json cache", "simple cache", "file cache", "key par", "key value", "cache" ], "changelogx": { "ignoreRegExp": [ "BLD: Release", "DOC: Generate Changelog", "Generated Changelog" ], "issueIDRegExp": "#(\\d+)", "commitURL": "https://github.com/royriojas/flat-cache/commit/{0}", "authorURL": "https://github.com/{0}", "issueIDURL": "https://github.com/royriojas/flat-cache/issues/{0}", "projectName": "flat-cache" }, "devDependencies": { "chai": "^3.2.0", "changelogx": "3.0.0", "esbeautifier": "10.1.1", "eslinter": "^3.2.1", "glob-expand": "0.2.1", "istanbul": "0.4.5", "mocha": "5.2.0", "precommit": "^1.1.5", "prepush": "^3.1.4", "proxyquire": "^1.7.2", "sinon": "^1.16.1", "sinon-chai": "^2.8.0", "watch-run": "^1.2.2" }, "dependencies": { "del": "^3.0.0", "flatted": "^2.0.0", "graceful-fs": "^4.1.2", "write": "^0.2.1" }, "gitHead": "29df8a60fae8dfd19d3dda9d7dcbb32d3bf5967f", "bugs": { "url": "https://github.com/royriojas/flat-cache/issues" }, "homepage": "https://github.com/royriojas/flat-cache#readme", "_id": "flat-cache@1.3.1", "_npmVersion": "6.4.1", "_nodeVersion": "8.11.1", "_npmUser": { "name": "royriojas", "email": "royriojas@gmail.com" }, "dist": { "integrity": "sha512-BUaXPScuox3BPmS9CGqbsh7tvAGzBEU2Dlnw243WoHjC0vO57faTOvHOkPQkPZZdpvJuwOQhMdAQx3BtdUh6nQ==", "shasum": "0c7e56264f2f2445836130f2db116b15aa726326", "tarball": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.3.1.tgz", "fileCount": 6, "unpackedSize": 25682, "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4fTDCRA9TVsSAnZWagAAYrwQAJnITzOa+Kwm6e6uqROy\ngHD97pcDpb+fc0OfFaHqZX1rpqQ5nNpliRE7DjnqPliubelJqXOV266UXem+\nnWow6vygOL9padzOdNSxjPhDv1JUd7sv2mBSONXOtKcjECJXHIqoCEEGf9hZ\nWpTZsMhMC5OiUYG3I4IQnW+f9o33MuCyPJX2VZP5HoOh1LMb/ZArAjPZ4QeP\nOrehqPS9fBBVq0JKEtYgNt7P8WtD2CGaA7icJdQokwMqZzj0i3mxOf2D0JkS\n1jJdCwBCUH9tqZHc3SdfeFchsA3x2BA9lTs8L7UbuvjAXZjfo3DRv2TvUm6D\n44NgxzfewxuNsBblqGnOOCxUUY0Xtd4JKE244VX9QeKQrmrDKOv2CfJRvP++\nI2WZ4bcbyv3JSLU9xqIiFAFnsAl7POTGNA62/n+35cFK8PtBFKvVNjFnAwx/\nvy9ZfuijCtiS0CAjYaJYwiiXIKkRfK5rbO7+mwaRRuO76iWV+tMqPSFxNVhF\nrrZjbJVo1/0bAbue3Vzjok3qKOpcyly2E5JP7MI4Rmnpyz6if7inCLQNzRDO\nfUOTCM40l2kYaJNIzKBj46QPbv8s4yWi0qJ+Bff7E35bnkVX2Izceh54kba8\nR3uaYmTREYXiJAUKs1BhgOq39eQgMRnqK1jIphKjury3iEKCE1V7LSa3JONg\nUQfF\r\n=H/at\r\n-----END PGP SIGNATURE-----\r\n" }, "maintainers": [ { "name": "royriojas", "email": "royriojas@gmail.com" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/flat-cache_1.3.1_1541534915423_0.8906360893665948" }, "_hasShrinkwrap": false }, "1.3.2": { "name": "flat-cache", "version": "1.3.2", "description": "A stupidly simple key/value storage using files to persist some data", "repository": { "type": "git", "url": "git+https://github.com/royriojas/flat-cache.git" }, "license": "MIT", "author": { "name": "Roy Riojas", "url": "http://royriojas.com" }, "main": "cache.js", "engines": { "node": ">=0.10.0" }, "precommit": [ "npm run verify --silent" ], "prepush": [ "npm run verify --silent" ], "scripts": { "beautify": "esbeautifier 'cache.js' 'test/specs/**/*.js'", "beautify-check": "npm run beautify -- -k", "eslint": "eslinter 'cache.js' 'utils.js' 'specs/**/*.js'", "eslint-fix": "npm run eslint -- --fix", "autofix": "npm run beautify && npm run eslint-fix", "check": "npm run beautify-check && npm run eslint", "verify": "npm run check && npm run test:cache", "install-hooks": "prepush install && changelogx install-hook && precommit install", "changelog": "changelogx -f markdown -o ./changelog.md", "do-changelog": "npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify", "pre-v": "npm run verify", "post-v": "npm run do-changelog && git push --no-verify && git push --tags --no-verify", "bump-major": "npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v", "bump-minor": "npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v", "bump-patch": "npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v", "test:cache": "mocha -R spec test/specs", "test": "npm run verify --silent", "cover": "istanbul cover test/runner.js html text-summary", "watch": "watch-run -i -p 'test/specs/**/*.js' istanbul cover test/runner.js html text-summary" }, "keywords": [ "json cache", "simple cache", "file cache", "key par", "key value", "cache" ], "changelogx": { "ignoreRegExp": [ "BLD: Release", "DOC: Generate Changelog", "Generated Changelog" ], "issueIDRegExp": "#(\\d+)", "commitURL": "https://github.com/royriojas/flat-cache/commit/{0}", "authorURL": "https://github.com/{0}", "issueIDURL": "https://github.com/royriojas/flat-cache/issues/{0}", "projectName": "flat-cache" }, "devDependencies": { "chai": "^3.2.0", "changelogx": "3.0.0", "esbeautifier": "10.1.1", "eslinter": "^3.2.1", "glob-expand": "0.2.1", "istanbul": "0.4.5", "mocha": "5.2.0", "precommit": "^1.1.5", "prepush": "^3.1.4", "proxyquire": "^1.7.2", "sinon": "^1.16.1", "sinon-chai": "^2.8.0", "watch-run": "^1.2.2" }, "dependencies": { "circular-json": "^0.3.1", "del": "^3.0.0", "graceful-fs": "^4.1.2", "write": "^0.2.1" }, "gitHead": "0ed6bc716e7c36d40ba10dd09b2caa0a7b3e80a4", "bugs": { "url": "https://github.com/royriojas/flat-cache/issues" }, "homepage": "https://github.com/royriojas/flat-cache#readme", "_id": "flat-cache@1.3.2", "_npmVersion": "6.4.1", "_nodeVersion": "8.11.1", "_npmUser": { "name": "royriojas", "email": "royriojas@gmail.com" }, "dist": { "integrity": "sha512-KByBY8c98sLUAGpnmjEdWTrtrLZRtZdwds+kAL/ciFXTCb7AZgqKsAnVnYFQj1hxepwO8JKN/8AsRWwLq+RK0A==", "shasum": "7f852d70be573dac874a4c4129d340a34fba7e65", "tarball": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.3.2.tgz", "fileCount": 6, "unpackedSize": 26250, "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb43mDCRA9TVsSAnZWagAAJAEQAJJ4sSKlH5VZVylAyeTN\nleITqgjD0IT7Zf7vTol2gi+/b/UJfCTCB56uCKHcAafwYHfSWYRCM71a50xu\nBBMK7wM1Ij9dht0OW7+B2BxX//EteKls+tLdwpCm5Y9AZS8oja56byNyB+YY\nDVhKwKp3By5UABw+uLt77o7QoKm5RyDZ1BKpA6nWQsuPyhDD+K5gRuE3OXh1\n/LtV52ve0c3BR7zj5yaOXq6zHnihV2hOqgqR8GkWgU/Ad79gPxFezELyEN5H\nVqKvIP3tby+eEKco/sEXB14IgEyEdRbekmZUMJ0PB7q0tfqwqk9ZB8iMZC5I\nTF5P0EEHbMSiSjboMGv/jC6nL6cA+cjPc7LpRbqzeGRXd9kHRmgtxBlekTwE\nZfybOykfKX8BTj0MpDgQel57P/9gFbEbqbLda8525vHbRrDNKDny6M3hG/LG\nPEX/K/8Xn4lIxrmMn+MNLEDsnMi+ZJKhsblhfb/tvTFvORlV9D/VYFb4kc5u\n0+GyQ+jAVNhiS5QoF3O0vrrMTOaSBTKe7OTr+UXJ483cIUxVNW6Vn4vdD5xi\nD9LhDeEc9P3lSVubqjgB94+p2ZtuX9NoW1DY0gDJktvbSnNlzh6Q4sgsR6HR\ny2xEmITltSPl1i+GD0UqWIlYs/gGSQC2/H3CWXX5VhuiYqGbuh2eeVvMo+x/\nPdqD\r\n=2kqg\r\n-----END PGP SIGNATURE-----\r\n" }, "maintainers": [ { "name": "royriojas", "email": "royriojas@gmail.com" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/flat-cache_1.3.2_1541634435249_0.7320566867931761" }, "_hasShrinkwrap": false }, "1.3.4": { "name": "flat-cache", "version": "1.3.4", "description": "A stupidly simple key/value storage using files to persist some data", "repository": { "type": "git", "url": "git+https://github.com/royriojas/flat-cache.git" }, "license": "MIT", "author": { "name": "Roy Riojas", "url": "http://royriojas.com" }, "main": "cache.js", "engines": { "node": ">=0.10.0" }, "precommit": [ "npm run verify --silent" ], "prepush": [ "npm run verify --silent" ], "scripts": { "beautify": "esbeautifier 'cache.js' 'utils.js' 'del.js' 'test/specs/**/*.js'", "beautify-check": "npm run beautify -- -k", "eslint": "eslinter 'cache.js' 'utils.js' 'del.js' 'specs/**/*.js'", "eslint-fix": "npm run eslint -- --fix", "autofix": "npm run beautify && npm run eslint-fix", "check": "npm run beautify-check && npm run eslint", "verify": "npm run check && npm run test:cache", "install-hooks": "prepush install && changelogx install-hook && precommit install", "changelog": "changelogx -f markdown -o ./changelog.md", "do-changelog": "npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify", "pre-v": "npm run verify", "post-v": "npm run do-changelog && git push --no-verify && git push --tags --no-verify", "bump-major": "npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v", "bump-minor": "npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v", "bump-patch": "npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v", "test:cache": "mocha -R spec test/specs", "test": "npm run verify --silent", "cover": "istanbul cover test/runner.js html text-summary", "watch": "watch-run -i -p 'test/specs/**/*.js' istanbul cover test/runner.js html text-summary" }, "keywords": [ "json cache", "simple cache", "file cache", "key par", "key value", "cache" ], "changelogx": { "ignoreRegExp": [ "BLD: Release", "DOC: Generate Changelog", "Generated Changelog" ], "issueIDRegExp": "#(\\d+)", "commitURL": "https://github.com/royriojas/flat-cache/commit/{0}", "authorURL": "https://github.com/{0}", "issueIDURL": "https://github.com/royriojas/flat-cache/issues/{0}", "projectName": "flat-cache" }, "devDependencies": { "chai": "^3.2.0", "changelogx": "3.0.0", "esbeautifier": "10.1.1", "eslinter": "^3.2.1", "glob-expand": "0.2.1", "istanbul": "0.4.5", "mocha": "5.2.0", "precommit": "^1.1.5", "prepush": "^3.1.4", "proxyquire": "^1.7.2", "sinon": "^1.16.1", "sinon-chai": "^2.8.0", "watch-run": "^1.2.2" }, "dependencies": { "circular-json": "^0.3.1", "graceful-fs": "^4.1.2", "rimraf": "~2.6.2", "write": "^0.2.1" }, "gitHead": "760cd0f0f6f75ddfa25b678c4f19155718758ca5", "bugs": { "url": "https://github.com/royriojas/flat-cache/issues" }, "homepage": "https://github.com/royriojas/flat-cache#readme", "_id": "flat-cache@1.3.4", "_npmVersion": "6.4.1", "_nodeVersion": "8.11.1", "_npmUser": { "name": "royriojas", "email": "royriojas@gmail.com" }, "dist": { "integrity": "sha512-VwyB3Lkgacfik2vhqR4uv2rvebqmDvFu4jlN/C1RzWoJEo8I7z4Q404oiqYCkq41mni8EzQnm95emU9seckwtg==", "shasum": "2c2ef77525cc2929007dfffa1dd314aa9c9dee6f", "tarball": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.3.4.tgz", "fileCount": 7, "unpackedSize": 27573, "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7Ii0CRA9TVsSAnZWagAAuH8P/iY6BUV+e+6UhIonKr97\nwNvnSOqhBezFdT0Qtpmznl7VhReXo59DYLB3g1F6GufGl1S6jyGuLPxsfrjM\nLbo0H09JVlEQ06bwI4NDPE/kSY1hWyqE1g6LSQ1N8szpaJ5QFujh9Mz2JyC0\n63dx3v40xlAAI7UctvaO6FxBJuyq2xUrRKuI0tuMI0qerWvx2FU6bv+JUKg/\njI4KRQDb8fOSCXHVN0/89hwN69RpN16Hh9PrPINNz5PcWh31vdxkS3bNhCeZ\nOBQio17LBVuGKLKCJHNXgtOLCpxGjPu7BcMuNkQt4szjPhE8dXB16dq9Tcff\nIMfyb2PPy45r/dojwge38tR6Rkp95WygenY4+2i8XHqVOjvThEyDK2SD8xBP\nqNgR0jqc5FEvOOKyQkDGoVpk2ZlFqKJ9CZKjgdRZuKuh82eOdtkmKcKa0HSo\nVXymMDSiKzdSOAX1XY/NuJsX+YYTjyqJGF+U8wM5FmRZTgFCTVittQiwnLLb\njbkNPDX7pUyNVRWsDztTCnczZyvWM7lLyX1oFX/a5MYR6oKB9qjt5/2pzKHK\nUSywxlcFl0N5uR8z2saYuMIRlQBO70RwmnhV5qS02quy8HyU4q9u4ljlVVcP\nLQHn6Lh6o8bIyrqkOig+76j+XoNMFrwvOLj8JYfnjUdPXV/EkpwJp2sMuXnf\nmao6\r\n=ikpm\r\n-----END PGP SIGNATURE-----\r\n" }, "maintainers": [ { "name": "royriojas", "email": "royriojas@gmail.com" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/flat-cache_1.3.4_1542228147422_0.6319216703755108" }, "_hasShrinkwrap": false }, "2.0.0": { "name": "flat-cache", "version": "2.0.0", "description": "A stupidly simple key/value storage using files to persist some data", "repository": { "type": "git", "url": "git+https://github.com/royriojas/flat-cache.git" }, "license": "MIT", "author": { "name": "Roy Riojas", "url": "http://royriojas.com" }, "main": "cache.js", "engines": { "node": ">=4" }, "precommit": [ "npm run verify --silent" ], "prepush": [ "npm run verify --silent" ], "scripts": { "beautify": "esbeautifier 'cache.js' 'utils.js' 'del.js' 'test/specs/**/*.js'", "beautify-check": "npm run beautify -- -k", "eslint": "eslinter 'cache.js' 'utils.js' 'del.js' 'specs/**/*.js'", "eslint-fix": "npm run eslint -- --fix", "autofix": "npm run beautify && npm run eslint-fix", "check": "npm run beautify-check && npm run eslint", "verify": "npm run check && npm run test:cache", "install-hooks": "prepush install && changelogx install-hook && precommit install", "changelog": "changelogx -f markdown -o ./changelog.md", "do-changelog": "npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify", "pre-v": "npm run verify", "post-v": "npm run do-changelog && git push --no-verify && git push --tags --no-verify", "bump-major": "npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v", "bump-minor": "npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v", "bump-patch": "npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v", "test:cache": "mocha -R spec test/specs", "test": "npm run verify --silent", "cover": "istanbul cover test/runner.js html text-summary", "watch": "watch-run -i -p 'test/specs/**/*.js' istanbul cover test/runner.js html text-summary" }, "keywords": [ "json cache", "simple cache", "file cache", "key par", "key value", "cache" ], "changelogx": { "ignoreRegExp": [ "BLD: Release", "DOC: Generate Changelog", "Generated Changelog" ], "issueIDRegExp": "#(\\d+)", "commitURL": "https://github.com/royriojas/flat-cache/commit/{0}", "authorURL": "https://github.com/{0}", "issueIDURL": "https://github.com/royriojas/flat-cache/issues/{0}", "projectName": "flat-cache" }, "devDependencies": { "chai": "^3.2.0", "changelogx": "3.0.0", "esbeautifier": "10.1.1", "eslinter": "^3.2.1", "glob-expand": "0.2.1", "istanbul": "0.4.5", "mocha": "5.2.0", "precommit": "^1.1.5", "prepush": "^3.1.4", "proxyquire": "^1.7.2", "sinon": "^1.16.1", "sinon-chai": "^2.8.0", "watch-run": "^1.2.2" }, "dependencies": { "flatted": "^2.0.0", "graceful-fs": "^4.1.2", "rimraf": "~2.6.2", "write": "^0.2.1" }, "gitHead": "d0380c1f36de9a75c651a42c31ab5210a8eefecf", "bugs": { "url": "https://github.com/royriojas/flat-cache/issues" }, "homepage": "https://github.com/royriojas/flat-cache#readme", "_id": "flat-cache@2.0.0", "_npmVersion": "6.5.0", "_nodeVersion": "8.11.1", "_npmUser": { "name": "royriojas", "email": "royriojas@gmail.com" }, "dist": { "integrity": "sha512-nE0IaGbpj/3/93knNdHJ9ARgfQ7RDuniIRKIGckjZBUs97xmI97dadUSI1913MwBGfvyXwD7FtBzqpf0PXu6Wg==", "shasum": "c5296eebf617a0ed2e7d1d3ec0ccd5cdd074a959", "tarball": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.0.tgz", "fileCount": 7, "unpackedSize": 28968, "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNVZBCRA9TVsSAnZWagAAJ/YP/RTThdVNKvjmCo3Ce9z7\nFQjKyWeGFCfTQnMZCKMQeVK3HNAomxi6vbzwF/36FD7j3lsGdowa9rsRmLWH\nUvZkmMEBYTISlfvUiqD7/nEJXh+tSdWIQ+tPDHFS9bmUEeBw62mYaO7Wxx0v\n/7mver2t0UgPJlJXdC1IEQMpyTa9HjNafjBIlj7Jk6RECbSrB3VMU71swJYp\n0yPAoY7v6bdz6xWNTk4ksZjAO7M3Etc0C0UxLf3Zray4BEKL7qkphjP8STGk\nz5IHRj6sWwmEhZPxA1myPA1KZ/RJx3D244YhIMvrnnbpKAV1lFDfT6nvdhuI\n0znHHX1TieYrcwGDYQEQcZUmctMA4gffPHy+2OTfV+sGQauhcqisBOQE29Dw\nRwlcLW4Kv2/hPpa80nkmGH3yV8MqqZuAxpUGENcdcYBUOea3IVB6jNHH40ew\n16YAqbedQD1PV5kXId6/X/lhhPLk2H6Xqn55r1Qtp8qFeaJUtaqQeTo/rjLp\n5u1JOZjKiP7uI8hlYM3sR13+MD+NmyTjeDUu8roL7aK+w/R1IzGCXhbPQL2V\nochtbZrI/lwOlKWSm/BXxNTiEP1JaFZbW5eyHRTxVBOTIlu5N3xUAeuS400X\n0pekdiuGeweaBSbcsHaWw419VESVvHvQi+4WYzVseV7ulztsMy3582/rIwkV\njpgx\r\n=i7v+\r\n-----END PGP SIGNATURE-----\r\n" }, "maintainers": [ { "name": "royriojas", "email": "royriojas@gmail.com" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/flat-cache_2.0.0_1546999360600_0.5117255656376047" }, "_hasShrinkwrap": false }, "2.0.1": { "name": "flat-cache", "version": "2.0.1", "description": "A stupidly simple key/value storage using files to persist some data", "repository": { "type": "git", "url": "git+https://github.com/royriojas/flat-cache.git" }, "license": "MIT", "author": { "name": "Roy Riojas", "url": "http://royriojas.com" }, "main": "cache.js", "engines": { "node": ">=4" }, "precommit": [ "npm run verify --silent" ], "prepush": [ "npm run verify --silent" ], "scripts": { "beautify": "esbeautifier 'cache.js' 'utils.js' 'del.js' 'test/specs/**/*.js'", "beautify-check": "npm run beautify -- -k", "eslint": "eslinter 'cache.js' 'utils.js' 'del.js' 'specs/**/*.js'", "eslint-fix": "npm run eslint -- --fix", "autofix": "npm run beautify && npm run eslint-fix", "check": "npm run beautify-check && npm run eslint", "verify": "npm run check && npm run test:cache", "install-hooks": "prepush install && changelogx install-hook && precommit install", "changelog": "changelogx -f markdown -o ./changelog.md", "do-changelog": "npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify", "pre-v": "npm run verify", "post-v": "npm run do-changelog && git push --no-verify && git push --tags --no-verify", "bump-major": "npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v", "bump-minor": "npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v", "bump-patch": "npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v", "test:cache": "mocha -R spec test/specs", "test": "npm run verify --silent", "cover": "istanbul cover test/runner.js html text-summary", "watch": "watch-run -i -p 'test/specs/**/*.js' istanbul cover test/runner.js html text-summary" }, "keywords": [ "json cache", "simple cache", "file cache", "key par", "key value", "cache" ], "changelogx": { "ignoreRegExp": [ "BLD: Release", "DOC: Generate Changelog", "Generated Changelog" ], "issueIDRegExp": "#(\\d+)", "commitURL": "https://github.com/royriojas/flat-cache/commit/{0}", "authorURL": "https://github.com/{0}", "issueIDURL": "https://github.com/royriojas/flat-cache/issues/{0}", "projectName": "flat-cache" }, "devDependencies": { "chai": "^3.2.0", "changelogx": "3.0.0", "esbeautifier": "10.1.1", "eslinter": "^3.2.1", "glob-expand": "0.2.1", "istanbul": "0.4.5", "mocha": "5.2.0", "precommit": "^1.1.5", "prepush": "^3.1.4", "proxyquire": "^1.7.2", "sinon": "^1.16.1", "sinon-chai": "^2.8.0", "watch-run": "^1.2.2" }, "dependencies": { "flatted": "^2.0.0", "rimraf": "2.6.3", "write": "1.0.3" }, "gitHead": "9e95cdca746ccc5c066d277f1edde9c9b9f95348", "bugs": { "url": "https://github.com/royriojas/flat-cache/issues" }, "homepage": "https://github.com/royriojas/flat-cache#readme", "_id": "flat-cache@2.0.1", "_npmVersion": "6.5.0", "_nodeVersion": "8.11.1", "_npmUser": { "name": "royriojas", "email": "royriojas@gmail.com" }, "dist": { "integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==", "shasum": "5d296d6f04bda44a4630a301413bdbc2ec085ec0", "tarball": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz", "fileCount": 7, "unpackedSize": 29143, "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNWHZCRA9TVsSAnZWagAAGgkP/RdMOqxe9kNIdMCDjJPc\nqIu3rKv3RN3ba9/viNJ+1M3KbtvGiRChCoL3zP2y4JSf0Gcd3s7bd/nN6Wi0\nxCTW/Ba8u9wAdwkuX8dnXXvzd8+QzZiqASuPAHeWHDaegejLF5hJSTuNibEO\noubmii5jUpTULaGTexFEtyzJ+8agwgPTfh961ReCRBbtiVGGA4za5Lw17Q6b\ngkCktGDBQ7224/RKsC1XaN+zqvkvfXVOWzlcEYDfrrssyDtzUhbXlT99rfOy\nPT068Y5dh+EQYzXEPLlsi1uI4efEe8bOIWt5W8r55+wNNC4OtobBahiK/GeG\ntVNW7bwKglAMJ62f6J60q8MjuKu+EGAbBlHo2wSUEKyqERevS8LgnBvH1bWm\n8kDRT2BLAJ+5ed26tG7yzUL4vlYOOOdvRoObyPS2M37sh2itwBQUPsSfN3zg\nB7HelOXtbmEEWlWa8SLXJYg4zUb+kvU44n1UWiUQQaocxz8W3K1szFmNJ6q7\nvhmr+C4HCT+UUIcMmfk5qEKrmcEBoMt6LxKeidiDJMFhPaIS1d7wwLlC4xIv\nQQKx0rGQjbAMTclT6akZzP6pXnpSUtVYHvt0Hgx136NNfJ5ekecoEB4zZuAd\nirnRW/6Nd6FH/GXB59MZ/OPTAxnA1Fc1xtX+RMrXftKL3RZ/Ain+vWK7vdo0\na/OL\r\n=gkcr\r\n-----END PGP SIGNATURE-----\r\n" }, "maintainers": [ { "name": "royriojas", "email": "royriojas@gmail.com" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/flat-cache_2.0.1_1547002329088_0.7583655400817242" }, "_hasShrinkwrap": false } }, "readme": "# flat-cache\n> A stupidly simple key/value storage using files to persist the data\n\n[![NPM Version](http://img.shields.io/npm/v/flat-cache.svg?style=flat)](https://npmjs.org/package/flat-cache)\n[![Build Status](http://img.shields.io/travis/royriojas/flat-cache.svg?style=flat)](https://travis-ci.org/royriojas/flat-cache)\n\n## install\n\n```bash\nnpm i --save flat-cache\n```\n\n## Usage\n\n```js\nvar flatCache = require('flat-cache')\n// loads the cache, if one does not exists for the given\n// Id a new one will be prepared to be created\nvar cache = flatCache.load('cacheId');\n\n// sets a key on the cache\ncache.setKey('key', { foo: 'var' });\n\n// get a key from the cache\ncache.getKey('key') // { foo: 'var' }\n\n// fetch the entire persisted object\ncache.all() // { 'key': { foo: 'var' } }\n\n// remove a key\ncache.removeKey('key'); // removes a key from the cache\n\n// save it to disk\ncache.save(); // very important, if you don't save no changes will be persisted.\n// cache.save( true /* noPrune */) // can be used to prevent the removal of non visited keys\n\n// loads the cache from a given directory, if one does\n// not exists for the given Id a new one will be prepared to be created\nvar cache = flatCache.load('cacheId', path.resolve('./path/to/folder'));\n\n// The following methods are useful to clear the cache\n// delete a given cache\nflatCache.clearCacheById('cacheId') // removes the cacheId document if one exists.\n\n// delete all cache\nflatCache.clearAll(); // remove the cache directory\n```\n\n## Motivation for this module\n\nI needed a super simple and dumb **in-memory cache** with optional disk persistance in order to make\na script that will beutify files with `esformatter` only execute on the files that were changed since the last run.\nTo make that possible we need to store the `fileSize` and `modificationTime` of the files. So a simple `key/value`\nstorage was needed and Bam! this module was born.\n\n## Important notes\n- If no directory is especified when the `load` method is called, a folder named `.cache` will be created\n inside the module directory when `cache.save` is called. If you're committing your `node_modules` to any vcs, you\n might want to ignore the default `.cache` folder, or specify a custom directory.\n- The values set on the keys of the cache should be `stringify-able` ones, meaning no circular references\n- All the changes to the cache state are done to memory\n- I could have used a timer or `Object.observe` to deliver the changes to disk, but I wanted to keep this module\n intentionally dumb and simple\n- Non visited keys are removed when `cache.save()` is called. If this is not desired, you can pass `true` to the save call\n like: `cache.save( true /* noPrune */ )`.\n\n## License\n\nMIT\n\n## Changelog\n\n[changelog](./changelog.md)\n", "maintainers": [ { "name": "royriojas", "email": "royriojas@gmail.com" } ], "time": { "modified": "2019-01-09T02:52:11.709Z", "created": "2015-02-26T12:20:02.550Z", "1.0.0": "2015-02-26T12:20:02.550Z", "1.0.1": "2015-02-26T12:30:21.242Z", "1.0.2": "2015-03-02T07:39:37.226Z", "1.0.3": "2015-03-02T07:44:29.331Z", "1.0.4": "2015-08-30T11:20:11.548Z", "1.0.6": "2015-09-11T21:47:54.870Z", "1.0.7": "2015-09-11T22:21:22.646Z", "1.0.8": "2015-09-11T22:52:46.646Z", "1.0.9": "2015-09-11T23:00:36.275Z", "1.0.10": "2015-11-01T23:05:22.543Z", "1.2.0": "2016-08-01T09:07:54.338Z", "1.2.1": "2016-08-01T09:20:03.212Z", "1.2.2": "2016-12-20T02:04:23.984Z", "1.3.0": "2017-09-26T21:09:18.566Z", "1.3.1": "2018-11-06T20:08:35.564Z", "1.3.2": "2018-11-07T23:47:15.412Z", "1.3.4": "2018-11-14T20:42:27.561Z", "2.0.0": "2019-01-09T02:02:40.757Z", "2.0.1": "2019-01-09T02:52:09.223Z" }, "homepage": "https://github.com/royriojas/flat-cache#readme", "keywords": [ "json cache", "simple cache", "file cache", "key par", "key value", "cache" ], "repository": { "type": "git", "url": "git+https://github.com/royriojas/flat-cache.git" }, "author": { "name": "Roy Riojas", "url": "http://royriojas.com" }, "bugs": { "url": "https://github.com/royriojas/flat-cache/issues" }, "license": "MIT", "readmeFilename": "README.md", "users": { "gavinning": true, "dron": true, "sasquatch": true, "jonschlinkert": true, "rocket0191": true, "kivava": true } }