{"_id":"@agillic/create-reducer","_rev":"25-1a9f64411343620d42f153c8960d214e","name":"@agillic/create-reducer","dist-tags":{"latest":"1.0.5"},"versions":{"0.0.1":{"name":"@agillic/create-reducer","version":"0.0.1","description":"The create reducer helper of Agillic","main":"index.js","author":{"name":"Bence A. Toth","email":"bence.toth@agillic.com"},"homepage":"https://gitlab.agillic.net/frontend/open-source/create-reducer","repository":{"type":"git","url":"git@gitlab.agillic.net:frontend/open-source/create-reducer.git"},"engines":{"node":">=8.9.4"},"devDependencies":{"babel-eslint":"^10.0.1","eslint":"^5.8.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-fp":"^2.3.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jsx-a11y":"^6.1.2","eslint-plugin-react":"^7.11.1","eslint-plugin-sonarjs":"^0.2.0","eslint-plugin-unicorn":"^6.0.1","husky":"^1.1.2"},"scripts":{"lint":"node ./node_modules/eslint/bin/eslint.js index.js","prepush":"npm run lint"},"gitHead":"5cac3d078c69e2bde4aba03b2e364a90a37a0841","_id":"@agillic/create-reducer@0.0.1","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"krzysztof.czurylo","email":"krzysztof.czurylo@agillic.com"},"dist":{"integrity":"sha512-IZOVGO+pYTuxDt63HVT8VNOXh4U2tp+JnF3BzUJRecwTqmKAyroCsKAgvkEzcnpc4+baYu06K+1E5oX7RJPkHw==","shasum":"3e999536a8c19ca30d6c0913a8f0163b99982a32","tarball":"https://registry.npmjs.org/@agillic/create-reducer/-/create-reducer-0.0.1.tgz","fileCount":522,"unpackedSize":5692836,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2d2ECRA9TVsSAnZWagAAlLgP/2LWTTlgDTK8xmmp0GPz\npg86lBSqLEg3wdtS8S0lm5iZIn4PV4M7CPGq++8XDGagI5OvPS8eauTq6SUO\nVxUWwRrZCTbLRvGqGnwZadb93Hj5bd0/5i/RxVp3wcLiZnfvdNmfSDVGr6gT\nHgJQEaZdgmGuTds5zh4BDOcESrMImOAIySK7nkOKAeWHZCH/yCFyox+DcO0a\nqIfM1ZYBMGcevfYTCYvmJgfgaz0R8uUCCc4AhxbMcEcWyujkVq5Vv5dfYfEQ\nVP67o4ZWbWvaiIigyR3vCB/0NI7basnSxvNeP8zeVpQHOCauuYIlqA4Yo/kE\nO56GS9ViHSUchZpi7O1lFBG/C0RLn2hJ1SGpMkwUn13xUFVnT3emTjlaqtlP\ni15AGphm8eo1tBgzqfZOw/DyJhnheS/8bCZ+AsfdC+NVXwXJ7PwUzbfn3+dh\nQFFFiCWjg5LCprXcH8m1aHzAxJ7UMVvXlZ1hOmf6zlMTX/fBK9FlWX/Zbn1w\nf1w3hN1bN3kNztEk4N9WutO1F0n+FczbYa8zvqErRnuis7XPpe8CifME//DM\nh4LqkKPKhLLUGXjjcn9X8QCSohpDZnRSnkaHYLqhpjNJUf8FFL6Bq22Mr8+/\nRCxICWNsX32q6BI9snQexWsEO+Jsf77Y4r55ZnSMnWDQcT3q84Qv/LQJWUa2\nqny1\r\n=oM1b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCa+MYuwmS46Vt/dnFX1VN4EazRGZZJpYKAKXjQwlh4AwIgWCnSxqQ+ttpOvFTvTF0Gn1IR6ot6nfMvfgOCMIiiymk="}]},"maintainers":[{"name":"bancho.petrov","email":"bancho.petrov@agillic.com"},{"name":"bence-toth-agillic","email":"bence.toth@agillic.com"},{"name":"krzysztof.czurylo","email":"krzysztof.czurylo@agillic.com"},{"name":"kyrill.kozubenko","email":"kk@agillic.com"},{"name":"rita.radovics-agillic","email":"rita.radovics@agillic.com"},{"name":"zivile_u","email":"zivile.utkeviciute@agillic.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-reducer_0.0.1_1541004675093_0.8099741235320359"},"_hasShrinkwrap":false},"1.0.1":{"name":"@agillic/create-reducer","version":"1.0.1","description":"The create reducer helper of Agillic","main":"build/index.js","author":{"name":"Bence A. Toth","email":"bence.toth@agillic.com"},"contributors":[{"name":"Krzysztof Czurylo","email":"krzysztof.czurylo@agillic.com"}],"homepage":"https://gitlab.agillic.net/frontend/open-source/create-reducer","repository":{"type":"git","url":"git@gitlab.agillic.net:frontend/open-source/create-reducer.git"},"license":"GPL-3.0-only","engines":{"node":">=8.9.4"},"devDependencies":{"@babel/cli":"^7.1.5","@babel/core":"^7.1.2","@babel/plugin-proposal-class-properties":"^7.1.0","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-syntax-object-rest-spread":"^7.0.0","@babel/plugin-transform-exponentiation-operator":"^7.1.0","@babel/preset-env":"^7.1.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^23.6.0","eslint":"^5.8.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-fp":"^2.3.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jsx-a11y":"^6.1.2","eslint-plugin-react":"^7.11.1","eslint-plugin-sonarjs":"^0.2.0","eslint-plugin-unicorn":"^6.0.1","husky":"^1.1.2","jest":"^23.6.0","mocha-each":"^1.1.0","regenerator-runtime":"^0.12.1"},"scripts":{"build":"babel src -d build","build:watch":"babel src -w -d build","test":"jest --watch","test:run":"jest","test:coverage":"jest --coverage","lint":"node ./node_modules/eslint/bin/eslint.js src/","prepush":"npm run lint && npm run test:run"},"gitHead":"33e53acd63138f3b88b553b789af97191104e404","_id":"@agillic/create-reducer@1.0.1","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"krzysztof.czurylo","email":"krzysztof.czurylo@agillic.com"},"dist":{"integrity":"sha512-adK54PeJDHhGFNauBcLZMOHJEVKEOJ6tGQKjmCxHwavTHpCFCkRRNWMYwjnoLvQBVsSm7cixMokEdpVaiF1saQ==","shasum":"9aba029f16d4ef03fc5c24a8e509243f72c28abb","tarball":"https://registry.npmjs.org/@agillic/create-reducer/-/create-reducer-1.0.1.tgz","fileCount":5,"unpackedSize":43255,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7tWyCRA9TVsSAnZWagAAjC4QAI1slFS5M9Qn0M3WGZdr\nJ0yDcwqrg4jbcUsHKWZ0+CjzLaShpTiZBgykFz453WK2J1jWqFXeFTbDk+f4\nDz2plKiZxyvn65VwF6mZ+xdOIoGA+sADTiFvFtSIQDnNyoRN1tCYvoXYuElz\nZJ8xxWhiKb2FJ8BEQGcq2uYNP3Zh/lnioMOrLFtkv6TL5Z4/GCVOpY+WE/lw\nYLTgwW+/tsyBy4uC4Q5WWCMKicBgdDp0kf/S2b7KKeSBgJzVJoooz15pgLMJ\nMrthmgcQ4/wyKGDjmeQrAXXL7yRsUh89/IEKIQ0zuFlNo559ZBxo378XOEUi\nfXVrIl4SE3Vryhq6HXtQoPBUy5epGCKUZZiVfK/JMxBn1Xfar/yidXHYeU7x\nj6eBsRVi2eUkmaNhEIIhFxUwqxxYp3oinTVp17QUhhvWnMnuVONFqyVfK2/s\nbrrmKg5ir74QM1iq3tFtV4HM+xX+6r/DJVBb8+fAwzE8iyAYSinGtPaeAH8M\nKlsBYfW1mr1EGAYhwI5TSp0e32Et0DVwe0Xw1rO4QPfufcEltdgHTvUp/ZnS\nXV5rpjtO4BY6Xw2beFJqgl3aNMKwqTAokU5FOEzncfuhlX61Rh8idLdpK/6e\nDDWhRegTJGFIfz8cqnGMMkb16nZXFbu7Z7xeIvDYovFbxifPJuIzZt0fH5JD\nw1YL\r\n=VlEj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHIkt2HgGI7eZEQcPrXM4CTD+bXrklZk8tlY/RUr7RoMAiEA89zo+gHZJOGqRNbhQ+SNsMznqA6kLa2plbmYRg26gE0="}]},"maintainers":[{"name":"bancho.petrov","email":"bancho.petrov@agillic.com"},{"name":"bence-toth-agillic","email":"bence.toth@agillic.com"},{"name":"krzysztof.czurylo","email":"krzysztof.czurylo@agillic.com"},{"name":"kyrill.kozubenko","email":"kk@agillic.com"},{"name":"rita.radovics-agillic","email":"rita.radovics@agillic.com"},{"name":"zivile_u","email":"zivile.utkeviciute@agillic.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-reducer_1.0.1_1542378929853_0.08293608469105074"},"_hasShrinkwrap":false},"1.0.2":{"name":"@agillic/create-reducer","version":"1.0.2","description":"The create reducer helper of Agillic","main":"build/index.js","author":{"name":"Bence A. Toth","email":"bence.toth@agillic.com"},"contributors":[{"name":"Krzysztof Czurylo","email":"krzysztof.czurylo@agillic.com"}],"homepage":"https://gitlab.agillic.net/frontend/open-source/create-reducer","repository":{"type":"git","url":"git@gitlab.agillic.net:frontend/open-source/create-reducer.git"},"license":"GPL-3.0-only","engines":{"node":">=8.9.4"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.2.2","@babel/plugin-proposal-class-properties":"^7.2.3","@babel/plugin-proposal-object-rest-spread":"^7.2.0","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-syntax-object-rest-spread":"^7.2.0","@babel/plugin-transform-exponentiation-operator":"^7.2.0","@babel/preset-env":"^7.2.3","babel-core":"^7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^23.6.0","eslint":"^5.11.1","eslint-config-airbnb":"^17.1.0","eslint-plugin-fp":"^2.3.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jsx-a11y":"^6.1.2","eslint-plugin-react":"^7.11.1","eslint-plugin-sonarjs":"^0.2.0","eslint-plugin-unicorn":"^6.0.1","husky":"^1.3.1","jest":"^23.6.0","mocha-each":"^1.1.0","regenerator-runtime":"^0.13.1"},"scripts":{"build":"babel src -d build","build:watch":"babel src -w -d build","test":"jest --watch","test:run":"jest","test:coverage":"jest --coverage","lint":"node ./node_modules/eslint/bin/eslint.js src/","prepush":"npm run lint && npm run test:run"},"gitHead":"cec744e2e0a7a081b4dc814462d8bb0ff70392f2","_id":"@agillic/create-reducer@1.0.2","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"krzysztof.czurylo","email":"krzysztof.czurylo@agillic.com"},"dist":{"integrity":"sha512-2yp0d0bC/OIxY2HFTxWgzslICUJ9tyE3RrF4vLhO5ouKGPu8Kgw+7PfAwmT+UCIM4E6vq+ovifvSkQCbySkQSw==","shasum":"d5601aa8892901597a25fee0778b774c260ce671","tarball":"https://registry.npmjs.org/@agillic/create-reducer/-/create-reducer-1.0.2.tgz","fileCount":5,"unpackedSize":43260,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcLLAtCRA9TVsSAnZWagAAehQP/jWlq094zKrp0msTCi4g\nzaoy+CYxU+HpWMmQ5TBdsArtNt57RtvpHueYDVQJ2WwAzJYYrXiuAhJ5EuEF\nzM5m/kJ7mmxyNKmQJSO02mbVWPxXEDCL4cZazJC3Zt4pmOcKkjA81ebjYIrO\niJduGgI0y8tXdy38UExWDerPWRju0S4XHsRCv2J7m4rSTKnjvzJhJS77B+w3\ncLlL88g0JJQs5BiAK3Opdrane36F0HnR84HsFWv9ZixZW8kd4PNfwIIqJ6vR\nNyCHUgvIceBnJDulbg9ZbZssYdStGY411v14nmNPGwdOdSC3IgVKTtmFGHS2\nvaXiwlCBXa/2Q7q3T56qdzt0F2K1pjYMpqSa0IfqXWrg6oWlrbgwcr3QPnko\n9WMvc/TJnKFvZbWRmLalmotZq6KX5+Qpy1fkDmAozFuNrYDOhyavyvsQufp+\n5Eog7X3iLJdyPmukG+Gjuy9ii6VbkruoAFCABqxo8PuBM8AnRmttt1T1yTaN\n3C1rVIyy3ZQcZ75x7eCCr/6M4eO9cZYes7FPKOLME62TpcKKejBgp6OPgo5t\nsyXU0+VgyyapY4/0aKcdurBKMaOtJmYYnPC1DNksxYgYyaIdujk3pbdKQXD1\n9Qcdgw/4a8wgxc46byX6HfFwqQZQReFcruM5b7jbpg4n7rgTNsGeOz2FDx6S\ndLdt\r\n=o2k2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLFl5VhosA8d66W+xoKPB9Ci/QlTh5nH5inRj3dAa4pAIhAPBONxCkqP9XpQJExz5UUnUC68UUZM7y9Dliyx6VWFcC"}]},"maintainers":[{"name":"bancho.petrov","email":"bancho.petrov@agillic.com"},{"name":"bence-toth-agillic","email":"bence.toth@agillic.com"},{"name":"krzysztof.czurylo","email":"krzysztof.czurylo@agillic.com"},{"name":"kyrill.kozubenko","email":"kk@agillic.com"},{"name":"rita.radovics-agillic","email":"rita.radovics@agillic.com"},{"name":"zivile_u","email":"zivile.utkeviciute@agillic.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-reducer_1.0.2_1546432557259_0.1990835515508551"},"_hasShrinkwrap":false},"1.0.3":{"name":"@agillic/create-reducer","version":"1.0.3","description":"The create reducer helper of Agillic","main":"build/index.js","author":{"name":"Bence A. Toth","email":"bence.toth@agillic.com"},"contributors":[{"name":"Krzysztof Czurylo","email":"krzysztof.czurylo@agillic.com"}],"homepage":"https://gitlab.agillic.net/frontend/open-source/create-reducer","repository":{"type":"git","url":"git@gitlab.agillic.net:frontend/open-source/create-reducer.git"},"license":"GPL-3.0-only","engines":{"node":">=8.9.4"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.2.2","@babel/plugin-proposal-class-properties":"^7.2.3","@babel/plugin-proposal-object-rest-spread":"^7.2.0","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-syntax-object-rest-spread":"^7.2.0","@babel/plugin-transform-exponentiation-operator":"^7.2.0","@babel/preset-env":"^7.2.3","babel-core":"^7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^23.6.0","eslint":"^5.11.1","eslint-config-airbnb":"^17.1.0","eslint-plugin-fp":"^2.3.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jsx-a11y":"^6.1.2","eslint-plugin-react":"^7.11.1","eslint-plugin-sonarjs":"^0.2.0","eslint-plugin-unicorn":"^6.0.1","husky":"^1.3.1","jest":"^23.6.0","mocha-each":"^1.1.0","regenerator-runtime":"^0.13.1"},"scripts":{"build":"babel src -d build","build:watch":"babel src -w -d build","test":"jest --watch","test:run":"jest","test:coverage":"jest --coverage","lint":"node ./node_modules/eslint/bin/eslint.js src/","prepush":"npm run lint && npm run test:run"},"gitHead":"9adb514ac2e1b445c4e562fd52b5ccc56e8cc17b","_id":"@agillic/create-reducer@1.0.3","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"krzysztof.czurylo","email":"krzysztof.czurylo@agillic.com"},"dist":{"integrity":"sha512-f8mWdzDIpoCwHGMqPMwcKSIkQVcp/4hYrLwT2wvNqdaOPnSGX7M3ojESW0fomIObIBUr1Emfj6XBIej6c2bThA==","shasum":"7287321ddf13ab644f6e84ac3911e897a1627d16","tarball":"https://registry.npmjs.org/@agillic/create-reducer/-/create-reducer-1.0.3.tgz","fileCount":5,"unpackedSize":43260,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNfiPCRA9TVsSAnZWagAAducP/2X7dN/HVatFn3LVUNb6\nCXB9cqeC7XhXREwd3OxbHdXXESp2Zrul5EVFbgbGS3qJyp0Oc72qYzTxHOn+\nHMsnni9hZ69g0ZR20CwOEQ/a0F1ma9p7W7utVf+Nh3l9EuX7tAwKZFadgycD\nytj4VbOa/87bJI8WNYBK3iFkx/p0Z0CdH4oaFRacEuIr2k/QbTnNcjh4OAWp\nr0OTV/8NKVXD03puwlvHAjhp5wNrmTsR0+jJTM//B2Mmnuf9n6M7rL2h8NbS\nG2e7SW1WO+vkXpeU837CxjaFi9MCyj1R8aAQ/MT/nJV2gIWwQYXjpL7l9SPD\nhkbXMnOV0uVxY1vhMk4V9I3MaAa9t/szyrouUUzeaOAUV5W0xMpFF9kSZ3bR\niaGeLyvbaMl5C134mKjE13zh2n9P0z2KcTQKaqhtukr86kK7hNNgq2O1q3/x\n+94c2Op5F3AyIdzZ8YAKcaPbuhxIZUS/zvxn+gg/OUTKk6gjqcVOciRy66+z\nx8hslrrzUYwXJH/zj126bs7xGxN2WsvFsFchsdEE7JFM37uVr6oGYBhjvDjL\nmFuskH6h3fkq/JMqNS8ln0vhKKpjEwjO/yAmvI6Y9O/ifj0OmvSYrPw6sE9V\nFkbD2hH3d7HLlx7FTMDlzxz5Aaa9WpYvhTnpbX/pXA6pk7dbOhYAbDps8qcj\nyXz9\r\n=jGTj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxfbgOyYe289CFVGA09KzsqX8MrzYjy+/b4+d3kr6HVgIgC7VFOfYLSlaFT7zl94aZ93Nk9p+pSQSwMvcSiL+q704="}]},"maintainers":[{"name":"bancho.petrov","email":"bancho.petrov@agillic.com"},{"name":"bence-toth-agillic","email":"bence.toth@agillic.com"},{"name":"krzysztof.czurylo","email":"krzysztof.czurylo@agillic.com"},{"name":"kyrill.kozubenko","email":"kk@agillic.com"},{"name":"rita.radovics-agillic","email":"rita.radovics@agillic.com"},{"name":"zivile_u","email":"zivile.utkeviciute@agillic.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-reducer_1.0.3_1547040910267_0.09499902970088514"},"_hasShrinkwrap":false},"1.0.5":{"name":"@agillic/create-reducer","version":"1.0.5","description":"The create reducer helper of Agillic","main":"build/index.js","author":{"name":"Bence A. Toth","email":"bence.toth@agillic.com"},"contributors":[{"name":"Krzysztof Czurylo","email":"krzysztof.czurylo@agillic.com"}],"homepage":"https://gitlab.agillic.net/frontend/open-source/create-reducer","repository":{"type":"git","url":"git@gitlab.agillic.net:frontend/open-source/create-reducer.git"},"license":"GPL-3.0-only","engines":{"node":">=8.9.4"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.2.2","@babel/plugin-proposal-class-properties":"^7.2.3","@babel/plugin-proposal-object-rest-spread":"^7.2.0","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-syntax-object-rest-spread":"^7.2.0","@babel/plugin-transform-exponentiation-operator":"^7.2.0","@babel/preset-env":"^7.2.3","babel-core":"^7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^23.6.0","eslint":"^5.11.1","eslint-config-airbnb":"^17.1.0","eslint-plugin-array-func":"^3.1.3","eslint-plugin-filenames":"^1.3.2","eslint-plugin-fp":"^2.3.0","eslint-plugin-immutable":"^1.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jsx-a11y":"^6.1.2","eslint-plugin-react":"^7.11.1","eslint-plugin-react-hooks":"^1.5.0","eslint-plugin-sonarjs":"^0.2.0","eslint-plugin-unicorn":"^6.0.1","husky":"^1.3.1","jest":"^23.6.0","mocha-each":"^1.1.0","regenerator-runtime":"^0.13.1"},"scripts":{"build":"babel src -d build","build:watch":"babel src -w -d build","lint":"node ./node_modules/eslint/bin/eslint.js src/","test":"jest --watch","help":"node helpMessageScript.js","test:run":"jest","test:coverage":"jest --coverage"},"husky":{"hooks":{"pre-push":"npm run lint && npm run test:run"}},"gitHead":"fd4df5602d36a78770740c703a15bffba9915bda","_id":"@agillic/create-reducer@1.0.5","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"krzysztof.czurylo","email":"krzysztof.czurylo@agillic.com"},"dist":{"integrity":"sha512-oa5LYkhSagDb7Pxtq0wdA9u2hssfQ+QptOpQr+suW6pz5uP1ecJnhq+deVtxZcmKjstK3up2O2aZH52KGsSa3Q==","shasum":"4ae28e3a174a74af29a220b8da38df088d759a52","tarball":"https://registry.npmjs.org/@agillic/create-reducer/-/create-reducer-1.0.5.tgz","fileCount":5,"unpackedSize":43942,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+SOkCRA9TVsSAnZWagAAg3AQAIMYMyKDA64HWKwEjVln\ntiaVNg2RDGOnxY6KtUkVA0oKUaj/kBJVcoa/ctvAjXkx03t8Ij5tM7Pucawj\nIPfFyE9/+0ZyagwRyul79qG/ze4D/shaXwZ3xtD0EOU4uGirdnH4cHnVcYwy\nkqtrZQr40NotxNfmXozhCvftzdZov6oeQtttQiVNsPniAioKuW6Y/AeTdMrz\nyE0P8QbOQ35HX04Znw02g8wMQDCRSLGnKHB+UrX/xFZDduN9DDUjheSY+Xx0\nKB4VzveNajgCa2v+3W+hT9LUz7xLkp+HhQeMlyM5ZMZ6wLr7dNnrvck2ZF8p\nD0dYv4sXdSWk62SlE1fNU2SuXggoPY92dT3FzzFNQG623fnsbAf5vjbaK8z6\nv8HIO8ZDaAYNzSTIjo1T33usfq49nTdPohKKtY2oUfCiso6QeS4XQlA+Cd/I\nATIUvilaOh9yVAsi51bSvIp0WvWtLgcpCmSLCmrf0cjUnEbADmjdKBViBFEp\nxMfddjyIRLh2cFvoNpLXM0kfSfH+MMQlsBZ2ImcWObj9rvPEChLNXYp0zTpw\n4eDfooad3+qeAZR2+fpS2luQzUqp4nS2geL7S8aoU3QQuK2YPrYX6sEIAsgW\nlEWIgXe5i3Ja1A38ib9XZj4fKIXJgCdMlAFPim8bgAM2xf0LWTBbgJRTM5A6\nYbf7\r\n=RmTP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDh3ufgXU4OQejwyoXxt59Gp7bSZMySKq2t2qOF+4l2lAIgW8AqhDBaOTVVQFvHyG5MtkdnHJYFWj4uaPcdbMSeJ1g="}]},"maintainers":[{"email":"anderssommerlarsen@gmail.com","name":"anderssommer"},{"email":"bancho.petrov@agillic.com","name":"bancho.petrov"},{"email":"bence.toth@agillic.com","name":"bence-toth-agillic"},{"email":"dennis.schafroth@agillic.com","name":"dennis.schafroth-agillic"},{"email":"karithrastarson@gmail.com","name":"karithrastarson"},{"email":"krzysztof.czurylo@agillic.com","name":"krzysztof.czurylo"},{"email":"kk@agillic.com","name":"kyrill.kozubenko"},{"email":"rita.radovics@agillic.com","name":"rita.radovics-agillic"},{"email":"tibor.halmen@agillic.com","name":"tibor_h"},{"email":"zivile.utkeviciute@agillic.com","name":"zivile_u"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-reducer_1.0.5_1559831460320_0.5918955871814626"},"_hasShrinkwrap":false}},"time":{"created":"2018-10-31T16:51:15.093Z","0.0.1":"2018-10-31T16:51:15.510Z","modified":"2022-04-04T11:59:45.181Z","1.0.1":"2018-11-16T14:35:30.016Z","1.0.2":"2019-01-02T12:35:57.345Z","1.0.3":"2019-01-09T13:35:10.475Z","1.0.5":"2019-06-06T14:31:00.463Z"},"maintainers":[{"email":"cramergabriel@gmail.com","name":"gabriel.cramer"},{"email":"martin.schalck@agillic.com","name":"martinschalck"},{"email":"simon.karberg@agillic.com","name":"skarberg"}],"description":"The create reducer helper of Agillic","homepage":"https://gitlab.agillic.net/frontend/open-source/create-reducer","repository":{"type":"git","url":"git@gitlab.agillic.net:frontend/open-source/create-reducer.git"},"author":{"name":"Bence A. Toth","email":"bence.toth@agillic.com"},"readme":"<p align=\"center\">\n    <img src=\"https://www.agillic.com/wp-content/uploads/2016/02/Logo.svg\"\n        height=\"170\">\n</p>\n\n<p align=\"center\">\n  <a href=\"https://gitlab.com/agillic-ci/create-reducer/commits/master\"><img alt=\"pipeline status\" src=\"https://gitlab.com/agillic-ci/create-reducer/badges/master/pipeline.svg\" /></a>\n</p>\n<p align=\"center\">\n  <a href=\"https://gitlab.com/agillic-ci/create-reducer/commits/master\"><img alt=\"coverage report\" src=\"https://gitlab.com/agillic-ci/create-reducer/badges/master/coverage.svg\" /></a>\n</p>\n\n# Agillic Create Reducer\n\nThe `createReducer` helper makes your Redux life easier by providing an easy and maintainable way to construct reducers.\n\nMade with :heart: by Agillic\n\n## Installation\n\n```sh\nnpm install --save @agillic/create-reducer\n```\n\nOr if you're using `yarn`\n\n```sh\nyarn add @agillic/create-reducer\n```\n\n## Usage\n\nIn order to import createReducer use:\n\n```javascript\nimport createReducer from '@agillic/create-reducer'\n```\n\nOr for some good old nostalgia:\n\n```javascript\nconst createReducer = require('@agillic/create-reducer')\n```\n\n### NPM Scrips description\n\n- `build` - transpiles and builds project files and outputs them to the top-level `build` directory,\n- `build:watch` - as above but additionally also watches for changes in the files and rebuilds as needed,\n- `lint` - runs ESlint on all the files and outputs any warnings and errors to the console,\n- `test` - runs all the tests in watch mode,\n- `help` - shows description of the project's NPM scripts.\n\n## Syntax\n\n```javascript\nconst myReducer = createReducer({initialState, actions, [mode]})\n```\n\n### Parameters\n\n- `initialState` - an object with the initial state of your reducer,\n- `actions` - an object with actions available to the reducer, either as functions or objects,\n- `options` (_optional_), an object with optional properties:\n  - `mode`, defaults to `replaceState`:\n    - `replaceState` - replace the old state with the newly defined,\n    - `setState` - to use the React-like behaviour, where the new state gets merged to the old one.\n\n### Return value\n\n`createReducer` returns a reducer function which can be directly used in `combineReducers` and other typical use cases. That's why it's so awesome!\n\nIf the reducer is called with an unidentified action it will return the initial state.\n\n## Examples\n\nConsider the following `initialState` for all the following examples:\n\n```javascript\nconst initialState = {\n  stringProp: 'Nice Value',\n  numberProp: 5,\n  arrayProp: [1, 'two', 3],\n  objectProp: {\n    stringProp: 'Fancy Value'\n  },\n  boolProp: false,\n  nullProp: null\n}\n```\n\n### Typical use case\n\n```javascript\nconst myReducer = createReducer(\n  initialState,\n  {\n    simpleAction: () => ({boolProp: true}),\n    complexAction: ({action: {newNumber, newString}}) => ({\n      numberProp: newNumber,\n      objectProp: {\n        stringProp: newString\n      }\n    })\n  },\n  options: {\n    mode: 'setState'\n  }\n)\n```\n\nIn the above example, the actions are functions which specify how should the state be transformed. Note that the actions names are labels which should be passed as `type` property in action creators. The action arguments names are up to the developer to decide.\n\n### Complex use case\n\nYou are not bound to the use of just one `mode` for the whole reducer. In order to mix the two, you can specify actions as objects with either `replaceState` or `setState` properties on them, which will override the `mode` set in `options` argument.\n\n```javascript\nconst myReducer = createReducer(\n  initialState,\n  {\n    simpleAction: () => ({boolProp: true}),\n    specialAction: {\n      replaceState: ({action: {newNumber, newString}}) => ({\n      stringProp: newString,\n      numberProp: newNumber\n    })\n    }\n  },\n  options: {\n    mode: 'setState'\n  }\n)\n```\n\nIn the above example `simpleAction` will be applied in `setState` mode as it's the one specified in `options` for the whole reducer. However, `specialAction` will be applied in `replaceState` mode, since it has not been defined as a function but rather as an object with `replaceState` property defining the state transformation.\n\n### Using previous state\n\nIt is also possible to use previous state in the reducer.\n\n```javascript\nconst myReducer = createReducer(\n  initialState,\n  {\n    complexActionWithState: ({action: {newString}, state: {objectProp}}) => ({\n      objectProp: {\n        ...objectProp,\n        someStringProp: newString\n      }\n    })\n  },\n  options: {\n    mode: 'setState'\n  }\n)\n```\n\n## Scripts\n\n- `npm run build:watch` will transpile all the sources on file save,\n- `npm test` will run tests in watch mode,\n- `npm run test:coverage` will run tests and report coverage statistics,\n- `npm run lint` will lint the source files.\n","readmeFilename":"README.MD","contributors":[{"name":"Krzysztof Czurylo","email":"krzysztof.czurylo@agillic.com"}],"license":"GPL-3.0-only"}