{"_id":"redux-localstorage-filter","_rev":"4-4fcc78e191cf970d56d3b80efb18cd7b","name":"redux-localstorage-filter","description":"Storage enhancer to persist a subset of your state.","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"redux-localstorage-filter","version":"0.1.0","description":"Storage enhancer to persist a subset of your state.","main":"/lib/filter.js","scripts":{"prepublish":"make test clean build","test":"make test"},"files":["lib/","package.json","README.md"],"repository":{"type":"git","url":"git+https://github.com/elgerlambert/redux-localstorage-filter.git"},"keywords":["redux","redux-localstorage","storage enhancer","filter"],"author":{"name":"Elger Lambert","email":"elgerlambert@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/elgerlambert/redux-localstorage-filter/issues"},"homepage":"https://github.com/elgerlambert/redux-localstorage-filter#readme","devDependencies":{"babel":"^5.8.23","babel-core":"^5.8.23","babel-eslint":"^4.1.0","chai":"^3.2.0","eslint":"^1.3.1","eslint-config-airbnb":"0.0.8","mocha":"^2.2.5"},"gitHead":"c32ff11ebaa58f074d22d2f87ea0864592722cb8","_id":"redux-localstorage-filter@0.1.0","_shasum":"e3ce831f22308fe4860a6039c24affa7087e96c8","_from":".","_npmVersion":"2.12.1","_nodeVersion":"2.3.4","_npmUser":{"name":"elgerlambert","email":"elgerlambert@gmail.com"},"dist":{"shasum":"e3ce831f22308fe4860a6039c24affa7087e96c8","tarball":"https://registry.npmjs.org/redux-localstorage-filter/-/redux-localstorage-filter-0.1.0.tgz","integrity":"sha512-t3xL1A4dcP3iw7DngurgCqdw/SIZKMJZUiHI+fx+K4Ozsb5IpKyZ/BQD/U94CKLHpepGNbhVDPuzmei+VVDStQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgVo7iPtDLyzHNymy1cQJ82sPnU7ssjuSfnsA1U1gz4gIgcLrBuskC5U74xyrDX2WixM1xuQhhcYhJz5PY9Ejz1nY="}]},"maintainers":[{"name":"elgerlambert","email":"elgerlambert@gmail.com"}]},"0.1.1":{"name":"redux-localstorage-filter","version":"0.1.1","description":"Storage enhancer to persist a subset of your state.","main":"lib/filter.js","scripts":{"prepublish":"make test clean build","test":"make test"},"files":["lib/","package.json","README.md"],"repository":{"type":"git","url":"git+https://github.com/elgerlambert/redux-localstorage-filter.git"},"keywords":["redux","redux-localstorage","storage enhancer","filter"],"author":{"name":"Elger Lambert","email":"elgerlambert@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/elgerlambert/redux-localstorage-filter/issues"},"homepage":"https://github.com/elgerlambert/redux-localstorage-filter#readme","devDependencies":{"babel":"^5.8.23","babel-core":"^5.8.23","babel-eslint":"^4.1.0","chai":"^3.2.0","eslint":"^1.3.1","eslint-config-airbnb":"0.0.8","mocha":"^2.2.5"},"gitHead":"9576e3e0679b957981cc7e80db276b48766af175","_id":"redux-localstorage-filter@0.1.1","_shasum":"94c5ab68d8cda479bb3cc6cdf03569f8f63a188d","_from":".","_npmVersion":"2.12.1","_nodeVersion":"2.3.4","_npmUser":{"name":"elgerlambert","email":"elgerlambert@gmail.com"},"dist":{"shasum":"94c5ab68d8cda479bb3cc6cdf03569f8f63a188d","tarball":"https://registry.npmjs.org/redux-localstorage-filter/-/redux-localstorage-filter-0.1.1.tgz","integrity":"sha512-qWx0stDxleQJEO0M4n7DNCWb7VJa+FzOSpYaMPq6aUIYlmlQf9rc197+6uvbNsW3Jsc4G/SYrGPd9s8KQpP5pg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtEVtjk7pJqXJi1XLkO1/E0ul8ZrG5BtYaIuqAPGbwsAIgVKv2cumHVZUB8zdCdbv9UEZbbRPtre+lWQQ3TkinB1U="}]},"maintainers":[{"name":"elgerlambert","email":"elgerlambert@gmail.com"}]}},"readme":"# redux-localstorage-filter\nStorage enhancer to persist a subset of your state.\n\n[![license](https://img.shields.io/npm/l/redux-localstorage-filter.svg?style=flat-square)](https://www.npmjs.com/package/redux-localstorage-filter)\n[![npm version](https://img.shields.io/npm/v/redux-localstorage-filter.svg?style=flat-square)](https://www.npmjs.com/package/redux-localstorage-filter)\n[![npm downloads](https://img.shields.io/npm/dm/redux-localstorage-filter.svg?style=flat-square)](https://www.npmjs.com/package/redux-localstorage-filter)\n\n## Installation\n```js\nnpm install --save redux-localstorage-filter\n```\n\n## Usage\n```js\nconst storage = compose(\n  filter('nested.key'),\n)(adapter(localStorage));\n```\nFor more information on using storage enhancers check out [redux-localstorage](elgerlambert/redux-localstorage)\n\n## API\n### filter(paths)\n```js\ntype paths = Array<String> | String\n```\nA path is a `string` that points to the property key of your redux store that you would like to persist. In order to specify a nested key separate the keys that make up the full path with fullstops (`.`). Specify multiple paths by passing in an `Array`: \n\n```js\nfilter(['key', 'another.key']),\n```\n\n## License\nMIT\n","maintainers":[{"name":"elgerlambert","email":"elgerlambert@gmail.com"}],"time":{"modified":"2022-06-26T10:14:23.457Z","created":"2015-09-01T14:54:46.873Z","0.1.0":"2015-09-01T14:54:46.873Z","0.1.1":"2015-09-02T08:21:13.401Z"},"homepage":"https://github.com/elgerlambert/redux-localstorage-filter#readme","keywords":["redux","redux-localstorage","storage enhancer","filter"],"repository":{"type":"git","url":"git+https://github.com/elgerlambert/redux-localstorage-filter.git"},"author":{"name":"Elger Lambert","email":"elgerlambert@gmail.com"},"bugs":{"url":"https://github.com/elgerlambert/redux-localstorage-filter/issues"},"license":"MIT","readmeFilename":"README.md"}