{"_id":"@bodetree/crudux","_rev":"5-73da6f706ac91e2d359ce74c040b1371","name":"@bodetree/crudux","description":"A redux library for managing CRUD state.","dist-tags":{"latest":"1.2.0"},"versions":{"1.1.0":{"name":"@bodetree/crudux","version":"1.1.0","description":"A redux library for managing CRUD state.","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/SpinGo/crudux.git"},"scripts":{"clean":"rimraf lib","build":"npm run build:lib","build:lib":"babel src --out-dir lib","test":"mocha --compilers js:babel-register --recursive --recursive \"src/**/__tests__/*\"","test:watch":"npm test -- --watch","prepublish":"npm run clean && npm run build"},"author":{"name":"SpinGo - Matt Polichette"},"license":"MIT","dependencies":{"lodash":"^4.17.4","normalizr":"^3.1.0","query-string":"^4.3.1","redux":"^3.6.0"},"devDependencies":{"babel-core":"^6.22.1","babel-eslint":"^7.1.1","babel-loader":"^6.2.10","babel-preset-es2015":"^6.22.0","babel-preset-stage-2":"^6.22.0","babel-register":"^6.22.0","eslint":"^3.14.1","eslint-config-airbnb-base":"^11.0.1","eslint-plugin-import":"^2.2.0","expect":"^1.20.2","flux-standard-action":"^1.1.0","mocha":"^3.2.0","rimraf":"^2.5.4","webpack":"^1.14.0"},"gitHead":"8e926bf4be4b51a73b157ecbed617af220acb548","bugs":{"url":"https://github.com/SpinGo/crudux/issues"},"homepage":"https://github.com/SpinGo/crudux#readme","_id":"@bodetree/crudux@1.1.0","_shasum":"2182ab6c0975233f4a674704e0bd05803f1c1121","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"bjy","email":"bx.youngblood@gmail.com"},"dist":{"shasum":"2182ab6c0975233f4a674704e0bd05803f1c1121","tarball":"https://registry.npmjs.org/@bodetree/crudux/-/crudux-1.1.0.tgz","integrity":"sha512-8MUt4wGGzXl/DpwztgfAGiT4aYsSQQzi9W4eGgsA/8rq5Aq7e6QsENlpyfrSkEmjF1EUTDbxCJENCPZWudecnQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF0H8P2qMESKIu/0rLuaB/r8tvoYZVA/LW7Z9FJ4Bg1TAiAsTmzuVE6jE90jdnLx0e5+sUN2GJ/Q4MxCK4eOUy55KA=="}]},"maintainers":[{"name":"bjy","email":"bx.youngblood@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/crudux-1.1.0.tgz_1488376540975_0.6467427017632872"},"directories":{}},"1.2.0":{"name":"@bodetree/crudux","version":"1.2.0","description":"A redux library for managing CRUD state.","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/SpinGo/crudux.git"},"scripts":{"clean":"rimraf lib","build":"npm run build:lib","build:lib":"babel src --out-dir lib","test":"mocha --compilers js:babel-register --recursive --recursive \"src/**/__tests__/*\"","test:watch":"npm test -- --watch","prepublish":"npm run clean && npm run build"},"author":{"name":"SpinGo - Matt Polichette"},"license":"MIT","dependencies":{"lodash":"^4.17.4","normalizr":"^3.1.0","query-string":"^4.3.1","redux":"^3.6.0"},"devDependencies":{"babel-core":"^6.22.1","babel-eslint":"^7.1.1","babel-loader":"^6.2.10","babel-preset-es2015":"^6.22.0","babel-preset-stage-2":"^6.22.0","babel-register":"^6.22.0","eslint":"^3.14.1","eslint-config-airbnb-base":"^11.0.1","eslint-plugin-import":"^2.2.0","expect":"^1.20.2","flux-standard-action":"^1.1.0","mocha":"^3.2.0","rimraf":"^2.5.4","webpack":"^1.14.0"},"gitHead":"cb247e285c70de210e110385ae6d47ab0e08cfa9","bugs":{"url":"https://github.com/SpinGo/crudux/issues"},"homepage":"https://github.com/SpinGo/crudux#readme","_id":"@bodetree/crudux@1.2.0","_shasum":"b1060e0c4875ec1e9c1b315c3b6b740979e21742","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"bjy","email":"bx.youngblood@gmail.com"},"dist":{"shasum":"b1060e0c4875ec1e9c1b315c3b6b740979e21742","tarball":"https://registry.npmjs.org/@bodetree/crudux/-/crudux-1.2.0.tgz","integrity":"sha512-VJ3/Luu20do7XJngltqDL2i/HJCpaZAN+G+BDO1afu2lzKakaIBrKQeJ51oDsVts/KX/9ppDBSdipJQbI2VHtA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHeh+9wv6OWC09GQBgfm+Q4JnvbFcGfKyyAjg1rYctyeAiBPPayiE08m6IgEu22rQ1S+m67qYuiedaIiuZUHqiDnBg=="}]},"maintainers":[{"name":"bjy","email":"bx.youngblood@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/crudux-1.2.0.tgz_1488377673364_0.23354308167472482"},"directories":{}}},"readme":"# crudux\n\n*Note:* crudux is still a work in progress.\n\nCrudux is an attempt to dry up applications using Redux.\n\nAfter creating a few Redux applications, we noticed we kept rewriting the\nbasic entity reducers/selectors. From those applications I've distilled some basic principals into `crudux`.\n\n### Goals\n- Keep request metadata state\n  - crudux stores metadata about requests so that your application can show appropriate loading indicators\n- Paging\n  - crudux knows paging.  We store pages and paging information from your requests to make it simple to \n    page over your entities.\n  - Paging state is grouped into isolated `PageGroups` which allow multiple paging instances at once.\n- Don't mess with your entities\n  - crudux stores operational metadata separately from your entities so you can expect to get out what you put in\n\n\nCrudux comes with a reducer, and a set of actions / selectors to store your entity state.\n\nIt uses [normalizr](https://github.com/paularmstrong/normalizr) under the hood to store your entities\nin a normalized way.\n\n\n### Installation\n```\nnpm install --save crudux\n# or \nyarn add crudux\n```\n\n### Usage\n- `TODO` - Fill this section out on how to create a reducer and attach it to your store.\n\n## TODO\n- [ ] Finish testing for `reducers` and `actions`.\n- [ ] Flush out tracking of optimistic changes for `creating` and `updating`\n\n### Thanks\nThis library was inspired by some great libraries out there.\n- [redux-crud](https://github.com/Versent/redux-crud) for some initial ideas\n- [Redux Real World Example](https://github.com/reactjs/redux/tree/master/examples/real-world) For the start of how to store entities\n","maintainers":[{"email":"james.b.quigley93@gmail.com","name":"james.quigley"},{"email":"bx.youngblood@gmail.com","name":"bjy"}],"time":{"modified":"2022-06-12T15:24:02.406Z","created":"2017-03-01T13:55:41.642Z","1.1.0":"2017-03-01T13:55:41.642Z","1.2.0":"2017-03-01T14:14:33.999Z"},"homepage":"https://github.com/SpinGo/crudux#readme","repository":{"type":"git","url":"git+https://github.com/SpinGo/crudux.git"},"author":{"name":"SpinGo - Matt Polichette"},"bugs":{"url":"https://github.com/SpinGo/crudux/issues"},"license":"MIT","readmeFilename":"README.md"}