{"_id":"11online-redux-helpers","_rev":"4-e218b0d53349e6e3e08a94ba8c805873","name":"11online-redux-helpers","description":"Helpers for managing state in redux","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"11online-redux-helpers","version":"1.0.0","description":"Helpers for managing state in redux","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/11online/redux-helpers.git"},"keywords":["redux"],"author":{"name":"ericdebelak"},"license":"MIT","bugs":{"url":"https://github.com/11online/redux-helpers/issues"},"homepage":"https://github.com/11online/redux-helpers#readme","gitHead":"9d44796ddb38b09f72b6b92258178d2458655c88","_id":"11online-redux-helpers@1.0.0","_shasum":"a8c1a14507a112e9af3df58f8ed271a620548a69","_from":".","_npmVersion":"4.1.2","_nodeVersion":"4.1.2","_npmUser":{"name":"ericdebelak","email":"eric@11online.us"},"dist":{"shasum":"a8c1a14507a112e9af3df58f8ed271a620548a69","tarball":"https://registry.npmjs.org/11online-redux-helpers/-/11online-redux-helpers-1.0.0.tgz","integrity":"sha512-vGK0+l58cj8sMVIr5VIm6nYClSLj1RpsT0+THhqN4gEGqrbTZAxTCo6wRsZESLhi8r9eCbGtU1+JHXMyBZDUEA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDhKLS/ICaI2/QBtt1FVT/08EaTgCyG/be1ZnqBhOJNlAiEA5QyKB1EgixnxcNLOI9FiQOKFSYERychrDXbUhunH4dk="}]},"maintainers":[{"name":"ericdebelak","email":"eric@11online.us"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/11online-redux-helpers-1.0.0.tgz_1504908882844_0.6957547571510077"}},"1.0.1":{"name":"11online-redux-helpers","version":"1.0.1","description":"Helpers for managing state in redux","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/11online/redux-helpers.git"},"keywords":["redux"],"author":{"name":"ericdebelak"},"license":"MIT","bugs":{"url":"https://github.com/11online/redux-helpers/issues"},"homepage":"https://github.com/11online/redux-helpers#readme","gitHead":"f5cf929f7fd02cece7e3fe070bc5c98a67b4bf98","_id":"11online-redux-helpers@1.0.1","_shasum":"e7e75657ced0cecb908d736b15e44c0eb28fac71","_from":".","_npmVersion":"4.1.2","_nodeVersion":"4.1.2","_npmUser":{"name":"ericdebelak","email":"eric@11online.us"},"dist":{"shasum":"e7e75657ced0cecb908d736b15e44c0eb28fac71","tarball":"https://registry.npmjs.org/11online-redux-helpers/-/11online-redux-helpers-1.0.1.tgz","integrity":"sha512-IMKYsIyiXcp7xLrInsd3LWOpJDnp19rSBCEsh77Z00y7QVWqBiTQt3mgXuo+Yj3nSDPUoj4WlpFZfJBXHuL+sw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBQ1UIn9WdV2Jh1EU3fo9hscum1u9YeNKeOl1b7fbRNwAiEAiHE0Q5IWILdtgBXf0lYHgDJgBB+0sU6KPfXdXEDdxkM="}]},"maintainers":[{"name":"ericdebelak","email":"eric@11online.us"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/11online-redux-helpers-1.0.1.tgz_1506031416634_0.37316840165294707"}},"1.0.2":{"name":"11online-redux-helpers","version":"1.0.2","description":"Helpers for managing state in redux","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/11online/redux-helpers.git"},"keywords":["redux"],"author":{"name":"ericdebelak"},"license":"MIT","bugs":{"url":"https://github.com/11online/redux-helpers/issues"},"homepage":"https://github.com/11online/redux-helpers#readme","gitHead":"03af70b978f3bd9b0ad0844adba4d2227df32085","_id":"11online-redux-helpers@1.0.2","_shasum":"9190def1a2f412ee6a89899046c081d2ae79a5fa","_from":".","_npmVersion":"4.1.2","_nodeVersion":"4.1.2","_npmUser":{"name":"ericdebelak","email":"eric@11online.us"},"dist":{"shasum":"9190def1a2f412ee6a89899046c081d2ae79a5fa","tarball":"https://registry.npmjs.org/11online-redux-helpers/-/11online-redux-helpers-1.0.2.tgz","integrity":"sha512-QHUztEvxPqoP7T4aC6GDi2/BDp7oA1Ht4z4e9OQqJjTTsWgRvvZK3Gtmeb78idE+tyXU1z5oEtw1NJrs7v7gyQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxeLXWZ1zR1Kuf7tYehWay4OaloURwL5bof9wW40MRHAIgKH/x+Cl+ElH/Gx/wnN2BFB2Bd5t5Esp4U7TrTsVojeM="}]},"maintainers":[{"name":"ericdebelak","email":"eric@11online.us"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/11online-redux-helpers-1.0.2.tgz_1507159373613_0.7751761397812515"}}},"readme":"# 11online Redux Helpers\n\nSome helpful helper functions from merging state and deleting from state.\n\nCurrent version only uses `id`.\n\nImport like so: `import {mergeState, deleteFromState} from '11online-redux-helpers';`\n\nUse like so in your reducer:\n\n```\ncase POST_ACTIVITY_SUCCESS:\n\treturn {\n\t    ...state,\n\t    isFetching: false,\n\t    error: [],\n\t    activities: mergeState(state.activities, action.payload)\n\t};\n```\n\nor \n\n```\ncase DELETE_ACTIVITY_SUCCESS:\n    return {\n        ...state,\n        isFetching: false,\n        error: [],\n        activities: deleteFromState(state.activities, action.payload)\n    };\n```","maintainers":[{"name":"ericdebelak","email":"eric@11online.us"}],"time":{"modified":"2022-06-12T14:05:34.233Z","created":"2017-09-08T22:14:43.857Z","1.0.0":"2017-09-08T22:14:43.857Z","1.0.1":"2017-09-21T22:03:36.736Z","1.0.2":"2017-10-04T23:22:53.682Z"},"homepage":"https://github.com/11online/redux-helpers#readme","keywords":["redux"],"repository":{"type":"git","url":"git+https://github.com/11online/redux-helpers.git"},"author":{"name":"ericdebelak"},"bugs":{"url":"https://github.com/11online/redux-helpers/issues"},"license":"MIT","readmeFilename":"README.md"}