{"_id":"@angular-redux-ivy/store","_rev":"3-f99fde05c97e3b108e0d2fe87034e80c","name":"@angular-redux-ivy/store","dist-tags":{"latest":"13.0.4"},"versions":{"13.0.0":{"name":"@angular-redux-ivy/store","version":"13.0.0","description":"Angular bindings for Redux","author":{"name":"William Buchwalter","email":"wbuchwalter@gmail.com","url":"http://github.com/wbuchwalter"},"license":"MIT","homepage":"https://github.com/angular-redux/platform","main":"src/index.ts","repository":{"type":"git","url":"git+https://github.com/angular-redux/platform.git"},"bugs":{"url":"https://github.com/angular-redux/platform/issues"},"keywords":["angular","angular2","redux","store","state management"],"publishConfig":{"access":"public"},"engines":{"node":">=8"},"peerDependencies":{"@angular/core":"^7.0.0","redux":"^4.0.0","rxjs":"^6.0.0"},"module":"fesm2015/angular-redux-ivy-store.mjs","es2020":"fesm2020/angular-redux-ivy-store.mjs","esm2020":"esm2020/angular-redux-ivy-store.mjs","fesm2020":"fesm2020/angular-redux-ivy-store.mjs","fesm2015":"fesm2015/angular-redux-ivy-store.mjs","typings":"angular-redux-ivy-store.d.ts","exports":{"./package.json":{"default":"./package.json"},".":{"types":"./angular-redux-ivy-store.d.ts","esm2020":"./esm2020/angular-redux-ivy-store.mjs","es2020":"./fesm2020/angular-redux-ivy-store.mjs","es2015":"./fesm2015/angular-redux-ivy-store.mjs","node":"./fesm2015/angular-redux-ivy-store.mjs","default":"./fesm2020/angular-redux-ivy-store.mjs"},"./testing":{"types":"./testing/angular-redux-ivy-store-testing.d.ts","esm2020":"./esm2020/testing/angular-redux-ivy-store-testing.mjs","es2020":"./fesm2020/angular-redux-ivy-store-testing.mjs","es2015":"./fesm2015/angular-redux-ivy-store-testing.mjs","node":"./fesm2015/angular-redux-ivy-store-testing.mjs","default":"./fesm2020/angular-redux-ivy-store-testing.mjs"}},"sideEffects":false,"dependencies":{"tslib":"^2.3.0"},"gitHead":"e224d8bd911ab8bb85f9be2760dfec15f4d89a16","_id":"@angular-redux-ivy/store@13.0.0","_nodeVersion":"16.13.0","_npmVersion":"8.5.4","dist":{"integrity":"sha512-q6cOTpSKs9aW4wVr3uaKe1c/2bmrAOMupSXntjO/+WaREdxrTLn1x2qcPTzV/es1VQRLelHTdkq+yzQbGNGz0A==","shasum":"132069318c1758146068d3485c0f07f34d9cd173","tarball":"https://registry.npmjs.org/@angular-redux-ivy/store/-/store-13.0.0.tgz","fileCount":58,"unpackedSize":301909,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICPCCCH3ITreSQ2hibl68ASV8ZbVqtLOCj3yCUdpB9JxAiEAtHO+fkHX5AgAWE6ryA2JUE2zdrkeZ8TYEmdO7CndS6o="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjB4f3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmomCQ//SKA0eCtu1UIa4u0Ll3H1T/PPWE70wc+Of0xo+4NMpFr3ntWC\r\nx+nIXYEq4T9G4UeUtyzBjgFnvmDgvMg+tcTUEyV4uhwNKmnFsCL3bVeczJ0p\r\nkVJNmf6c7rQ4lLxYZcHFwSy4cpp9nLbzZi+ocSd72898kH9ej+6Dazc7vdH4\r\nzxu6Kvv28EAO6AW9l/nGzhr7Yqv6SfLu6jqFDE04p0+4sBt1w0wWdGtoOo9Y\r\nFBVxIiCuCX0MiJPEMKzWvGV5gHOfzPiJ+BTpucwBkAgcbGNFu6yvE1i8H8Na\r\n9kfuUCn+QKoJP2wkQ1h/ACsR8SAFWUOLeQFM/Ib68EB+Gnh/0YepMkq2YfAU\r\nqkZOKpBjOFcPcKHcx/wL2wycI3Pl3G2NzSd+okSHQoKe4qNiNRHHW1Mu88cD\r\nr8+YXOck4UkN7CknIDtRtNNmrbfHQY1EURoJX2iZ/t3cJdPiJBomoyonBtKg\r\nAcZbGAApTsA8O65cUlND+kwkYr2m5x0OBENfr+ajTDJiLXqPbz9ZtyI5nYJK\r\n9T/XpSG7yxs445jOITI50b7zhZmEANC3hIluoAI7iX0zQyk94+UMytQ6nOO4\r\nUzlJfLeQNKAoBi/HY1g9sW2VltI0QR891IiDGxn1HPb4AZnCgJeT60QqZGz/\r\nhoMZfCrK74GM7VUF5EoaYHdYCZWvZ1+AQrE=\r\n=6CAu\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alufers","email":"albert.koczy@gmail.com"},"directories":{},"maintainers":[{"name":"alufers","email":"albert.koczy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/store_13.0.0_1661437943176_0.5776657279374715"},"_hasShrinkwrap":false},"13.0.1":{"name":"@angular-redux-ivy/store","version":"13.0.1","description":"Angular bindings for Redux","author":{"name":"William Buchwalter","email":"wbuchwalter@gmail.com","url":"http://github.com/wbuchwalter"},"license":"MIT","homepage":"https://github.com/alufers/platform","main":"src/index.ts","repository":{"type":"git","url":"git+https://github.com/alufers/platform.git"},"bugs":{"url":"https://github.com/alufers/platform/issues"},"keywords":["angular","angular2","redux","store","state management"],"publishConfig":{"access":"public"},"engines":{"node":">=8"},"peerDependencies":{"@angular/core":"^7.0.0","redux":"^4.0.0","rxjs":"^6.0.0"},"gitHead":"5b1cd2fb057f505ac740be6c1727c0e71e488dd4","module":"fesm2015/angular-redux-ivy-store.mjs","es2020":"fesm2020/angular-redux-ivy-store.mjs","esm2020":"esm2020/angular-redux-ivy-store.mjs","fesm2020":"fesm2020/angular-redux-ivy-store.mjs","fesm2015":"fesm2015/angular-redux-ivy-store.mjs","typings":"angular-redux-ivy-store.d.ts","exports":{"./package.json":{"default":"./package.json"},".":{"types":"./angular-redux-ivy-store.d.ts","esm2020":"./esm2020/angular-redux-ivy-store.mjs","es2020":"./fesm2020/angular-redux-ivy-store.mjs","es2015":"./fesm2015/angular-redux-ivy-store.mjs","node":"./fesm2015/angular-redux-ivy-store.mjs","default":"./fesm2020/angular-redux-ivy-store.mjs"},"./testing":{"types":"./testing/angular-redux-ivy-store-testing.d.ts","esm2020":"./esm2020/testing/angular-redux-ivy-store-testing.mjs","es2020":"./fesm2020/angular-redux-ivy-store-testing.mjs","es2015":"./fesm2015/angular-redux-ivy-store-testing.mjs","node":"./fesm2015/angular-redux-ivy-store-testing.mjs","default":"./fesm2020/angular-redux-ivy-store-testing.mjs"}},"sideEffects":false,"dependencies":{"tslib":"^2.3.0"},"_id":"@angular-redux-ivy/store@13.0.1","_nodeVersion":"16.13.0","_npmVersion":"8.5.4","dist":{"integrity":"sha512-GBbX//+aPWNlBrwAyAOF8IeMkeKcTPaCbolqfTcBeWdPz1RpiHWL1AB89DUjdBmJGnmsnW8iyOWEhdpv8kFYRg==","shasum":"6abf2490bad81ab51e61f8354012035c23d3b5ed","tarball":"https://registry.npmjs.org/@angular-redux-ivy/store/-/store-13.0.1.tgz","fileCount":58,"unpackedSize":302053,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAb171pTF9tOu1bZiOH20HTpg9KUVwjRZeXApBEkESEYAiAEF3Lo+R3Zej3KvhSWsq83hWCRQH4CvWb580xYYa5Vfg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjB4lsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrSERAAhU8c5eDt6+OJfl1lSAsU1MXLXVIS1jZVAQfSUymMYRvef3zr\r\n6FIvOBQY7lT9wjp1eLVL1oLXNArKanUSNMRbRQHYsq2h+hOB9Ufg8Y6+BwZ4\r\nd1fCfM60g8gcf3l4LveEEwwNQnMQfkGOkzEKMwCV8GDSEtwGB9qvueyq4xsr\r\nOb9hNpefqbAQGC37CMrl+GMyS9hCkUzF7T6PeNFaiwkX3TQUCsPpxXN+0/Ga\r\nZd7zEopunCehNf9iXr78qe8hC/5kLZXwZkTbONTI75kEjMuBRFdlyNJ3vFcS\r\nTLnn33XitpLeMweoMIXArk6EwZ6wyTq/KDHQAVMiOlYghpduZo4JQ9zQFcxm\r\nLXwiGv10xf3wHUKczZPrBpign3apEEBUhAEVwp51xMePws6GaQ6I/JGAaQum\r\nyloxuqy5PP9MGJvtquiq+RunEu6lPVBs96MR7uJ2S0uelTQWo+hokOBDUYAB\r\nTwsEmJqJAE3lNNFw2UjftnbRwjbraZE2rNeMbhwyfqp+Fk9g4Q+drZp+dHQf\r\nk4Rkwkf85H0+C/WYGR11KnVDx22soLq2xWSYjb9xPtCD1lDO66vG9bEX28D4\r\nSPsSQJreQEbSefLhK2z1SXBQCoYWMg/ccVExvc5a27nRhhL7I4ka0VVqvbj8\r\nVf6wyZNdyGSm38kP+1pR/fbuCvv7EpEH71o=\r\n=2ryd\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alufers","email":"albert.koczy@gmail.com"},"directories":{},"maintainers":[{"name":"alufers","email":"albert.koczy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/store_13.0.1_1661438316209_0.6144916651105659"},"_hasShrinkwrap":false},"13.0.3":{"name":"@angular-redux-ivy/store","version":"13.0.3","description":"Angular bindings for Redux","author":{"name":"William Buchwalter","email":"wbuchwalter@gmail.com","url":"http://github.com/wbuchwalter"},"license":"MIT","homepage":"https://github.com/alufers/platform","main":"src/index.ts","repository":{"type":"git","url":"git+https://github.com/alufers/platform.git"},"bugs":{"url":"https://github.com/alufers/platform/issues"},"keywords":["angular","angular2","redux","store","state management"],"publishConfig":{"access":"public"},"engines":{"node":">=8"},"peerDependencies":{"@angular/core":"^7.0.0","redux":"^4.0.0","rxjs":"^6.0.0"},"gitHead":"332f2ed46eb3b3ec125e4464d470025a830c0208","module":"fesm2015/angular-redux-ivy-store.mjs","es2020":"fesm2020/angular-redux-ivy-store.mjs","esm2020":"esm2020/angular-redux-ivy-store.mjs","fesm2020":"fesm2020/angular-redux-ivy-store.mjs","fesm2015":"fesm2015/angular-redux-ivy-store.mjs","typings":"angular-redux-ivy-store.d.ts","exports":{"./package.json":{"default":"./package.json"},".":{"types":"./angular-redux-ivy-store.d.ts","esm2020":"./esm2020/angular-redux-ivy-store.mjs","es2020":"./fesm2020/angular-redux-ivy-store.mjs","es2015":"./fesm2015/angular-redux-ivy-store.mjs","node":"./fesm2015/angular-redux-ivy-store.mjs","default":"./fesm2020/angular-redux-ivy-store.mjs"},"./testing":{"types":"./testing/angular-redux-ivy-store-testing.d.ts","esm2020":"./esm2020/testing/angular-redux-ivy-store-testing.mjs","es2020":"./fesm2020/angular-redux-ivy-store-testing.mjs","es2015":"./fesm2015/angular-redux-ivy-store-testing.mjs","node":"./fesm2015/angular-redux-ivy-store-testing.mjs","default":"./fesm2020/angular-redux-ivy-store-testing.mjs"}},"sideEffects":false,"dependencies":{"tslib":"^2.3.0"},"_id":"@angular-redux-ivy/store@13.0.3","_nodeVersion":"16.13.0","_npmVersion":"8.5.4","dist":{"integrity":"sha512-GNFQIZKWLtTdb5PauLf+0k71cqxPiZR2QIP5unFIaB/KZ/iu3RWUDhUQc0Rr5JT4mYGcHGtQoVT1qVno7J41nA==","shasum":"fcc0c70f7bec3b7f265af8cf17e8bfb3fad8a3ec","tarball":"https://registry.npmjs.org/@angular-redux-ivy/store/-/store-13.0.3.tgz","fileCount":58,"unpackedSize":302367,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWUVwyGC0uFPxZrtX3VPz5JOipg499dfbj+qbMNfMaagIgcDg3h3xfUBTfBd834ma2BwcbEFLWGA+b07I0hdSjEkA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMbI1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmouMQ//Xt4R54AJ0OafZq+S+GkE50V3jMnee5sFCpntd8abHKueO8p8\r\n5jRcvoTF909dIgiWfJZkZuzA0kEL6RkI8WnrV0lRrlA1y15FYACqdccIxR7/\r\ni/vPeqilvJ9p/X0Niu/n5AVabF4YOmb3dZnmVIEOpBEenRy6nEIJF2VppjF0\r\nTwsBsVRRNNqKmQla6+GGaTNSUYbs8VE5wiyyM/MULqrWm75RZB1Ik0hhF09t\r\nJ7NGP98gteeK74+WzVPvZobTbXpViyHr+D/A4qnHvQD9xw8+54tbEIirkOUs\r\nb3fUH1yZswU99oGa1Q+ZkgkeKg82a5nka6CLK4WCRwu3Oaz30NFzzBgXt0qN\r\narQWQNckwAfDg7D7hnhww3jFYZOpSVnrJQ7WQ4TOqgXlhQXMHPxsTlkPbRXu\r\nhNwctjQIVdbMc4JXhZV2i+46z4S/Nb3CNCcjqkO3KPNfrFAocS5YxhcSuUzY\r\nQsF7fGDnVrbNigPL8BdusTPbTHQPIMSSFXYN0U1acrKo0dbLynIOraC+pNrE\r\nl0c7NJMTy7fHjHe9f/mgINtpnBaZ9w18EjD1E3lLnnuobTEoX12h8yyCDEk4\r\nmL+tzNvYfJeHgnPqzor12Xy3l5cXr2iV4EEI54ncrYNOFACyDP4uUhFYF/i/\r\nKII60q7QLIj4YBZksQTtgNZCPv1T6hb+HAM=\r\n=+CbS\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alufers","email":"albert.koczy@gmail.com"},"directories":{},"maintainers":[{"name":"alufers","email":"albert.koczy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/store_13.0.3_1664201269698_0.4875540379659671"},"_hasShrinkwrap":false},"13.0.4":{"name":"@angular-redux-ivy/store","version":"13.0.4","description":"Angular bindings for Redux","author":{"name":"William Buchwalter","email":"wbuchwalter@gmail.com","url":"http://github.com/wbuchwalter"},"license":"MIT","homepage":"https://github.com/alufers/platform","main":"src/index.ts","repository":{"type":"git","url":"git+https://github.com/alufers/platform.git"},"bugs":{"url":"https://github.com/alufers/platform/issues"},"keywords":["angular","angular2","redux","store","state management"],"publishConfig":{"access":"public"},"engines":{"node":">=8"},"peerDependencies":{"@angular/core":"^7.0.0","redux":"^4.0.0","rxjs":"^6.0.0"},"gitHead":"332f2ed46eb3b3ec125e4464d470025a830c0208","module":"fesm2015/angular-redux-ivy-store.mjs","es2020":"fesm2020/angular-redux-ivy-store.mjs","esm2020":"esm2020/angular-redux-ivy-store.mjs","fesm2020":"fesm2020/angular-redux-ivy-store.mjs","fesm2015":"fesm2015/angular-redux-ivy-store.mjs","typings":"angular-redux-ivy-store.d.ts","exports":{"./package.json":{"default":"./package.json"},".":{"types":"./angular-redux-ivy-store.d.ts","esm2020":"./esm2020/angular-redux-ivy-store.mjs","es2020":"./fesm2020/angular-redux-ivy-store.mjs","es2015":"./fesm2015/angular-redux-ivy-store.mjs","node":"./fesm2015/angular-redux-ivy-store.mjs","default":"./fesm2020/angular-redux-ivy-store.mjs"},"./testing":{"types":"./testing/angular-redux-ivy-store-testing.d.ts","esm2020":"./esm2020/testing/angular-redux-ivy-store-testing.mjs","es2020":"./fesm2020/angular-redux-ivy-store-testing.mjs","es2015":"./fesm2015/angular-redux-ivy-store-testing.mjs","node":"./fesm2015/angular-redux-ivy-store-testing.mjs","default":"./fesm2020/angular-redux-ivy-store-testing.mjs"}},"sideEffects":false,"dependencies":{"tslib":"^2.3.0"},"_id":"@angular-redux-ivy/store@13.0.4","_nodeVersion":"16.13.0","_npmVersion":"8.5.4","dist":{"integrity":"sha512-TcTu/yvjbm1I9hZmPcujdQuC8u1nj1VDsueflxxar6ThStx0d8ysjcjLt1vbLW5y+//9cb6rw1+nzzQStdKHyg==","shasum":"b77943b92ec1605a5c7d7bfc73b0e9df8a3afb86","tarball":"https://registry.npmjs.org/@angular-redux-ivy/store/-/store-13.0.4.tgz","fileCount":58,"unpackedSize":302099,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF68G1QVREVqnoBUFuhwK+BnwGsVstwnW74WEkcSveQBAiEA3SrqGovylIlsEIVY2F8pvN3APWe8lhOwlSwEZ6sTF9Y="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMbQcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpXHA/+JJugf7C5f9aD/yZWb5SN7h5UE3an58b+0GbYpzTNkqFyn/1z\r\nNCOTSqiWKKn9VoJdMPGHqwquCYtbl1zt/cCFRwncW6UbZ4DN0z5mPQP8CQkc\r\nBSmE/eTPz/AZ47r0fshHObEzyLe7cCW0MJ/51oKICUWyygOjoR2/izQyehqz\r\ntoZs65yAbkx5hp1MKsTdbCMHg9iJrKvLh9wuxMll3DdyD4XEcgcEc289mZQG\r\n7kR8RNwleq5p8WRi8EHMzjzLHCJSjnQk5uazEvAL5J6bBKeVlSh6zmTvtI+a\r\nLRIVgMBqIdbSaWVTmxMDbFGTMHQvHCFEdmLxyFTHCZFs9yyOxiPrwYUPd2Bf\r\nDjk18AKAbDkT8xyGH2Ai6rQBaczrph/SoUAftdbco94GSFTZ6vjctXUw4BIe\r\nk5ReSUEVg2b5yTX5/mrDcIUK4QDcpGYtg13FPy3kVPX2sqRNyyzue/8d3Pf2\r\nfeQBIkChvilE3ofH8HfsKCh/UU1yfXh9KKUTqCnHbWqqA4am+BVc3hVom4o/\r\nEXZHyQJamLvpblTkkho+NNHI0x+f/S0OjHJJVb4XsIMCy5dCGVfOXywxmq2L\r\n3X34GB+/9XgTGx/ZmGGPJsUnJQXs4WoACr4/KxCx7tbHa6Czy9aPhkXCoghg\r\nMWIZr1zYLZNmWTBjkcQhCJuQIm4DM5KITJg=\r\n=87a5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alufers","email":"albert.koczy@gmail.com"},"directories":{},"maintainers":[{"name":"alufers","email":"albert.koczy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/store_13.0.4_1664201755800_0.04701270632771659"},"_hasShrinkwrap":false}},"time":{"created":"2022-08-25T14:32:23.090Z","13.0.0":"2022-08-25T14:32:23.383Z","modified":"2022-09-26T14:15:56.190Z","13.0.1":"2022-08-25T14:38:36.412Z","13.0.3":"2022-09-26T14:07:49.867Z","13.0.4":"2022-09-26T14:15:56.024Z"},"maintainers":[{"name":"alufers","email":"albert.koczy@gmail.com"}],"description":"Angular bindings for Redux","homepage":"https://github.com/alufers/platform","keywords":["angular","angular2","redux","store","state management"],"repository":{"type":"git","url":"git+https://github.com/alufers/platform.git"},"author":{"name":"William Buchwalter","email":"wbuchwalter@gmail.com","url":"http://github.com/wbuchwalter"},"bugs":{"url":"https://github.com/alufers/platform/issues"},"license":"MIT","readme":":warning: **This is a fork of the original project**\n\nIt enables Ivy and makes it work with Angular 13+\n\n# Which Version to use?\n\n## Angular 6+\n\n`@angular-redux/store@^9` is what you need. This consumes breaking changes from RxJS and Angular 6, as well as updated typedefs from Redux 4.\n\n## Angular 5\n\nUse `@angular-redux/store@^7` - this version supports Angular 5, and also changes to using lettable operators.\n\n## Angular 4 or lower\n\nUse `@angular-redux/store@^6` - This supports Angular 4 and earlier.\n\n# Support for `@angular-redux/store@6`?\n\nWhere possible, I will be maintaining and applying any fixes / enhancements for v7 into v6 where it does not introduce a breaking change.\n\nI made a few mistakes trying to publish fixes / etc to two major versions, which caused some releases to get tagged incorrectly and caused some confusion. Sorry for any confusion this has caused, and will do better on avoiding this in the future, and being more transparent with the releases that are going out.\n\n# @angular-redux/store\n\nAngular bindings for [Redux](https://github.com/reactjs/redux).\n\nFor Angular 1 see [ng-redux](https://github.com/wbuchwalter/ng-redux)\n\n[![Join the chat at https://gitter.im/angular-redux/ng2-redux](https://badges.gitter.im/angular-redux/ng2-redux.svg)](https://gitter.im/angular-redux/ng2-redux?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\n[![CircleCI](https://img.shields.io/circleci/project/github/angular-redux/store.svg)](https://github.com/angular-redux/store)\n[![npm version](https://img.shields.io/npm/v/@angular-redux/store.svg)](https://www.npmjs.com/package/@angular-redux/store)\n[![downloads per month](https://img.shields.io/npm/dm/@angular-redux/store.svg)](https://www.npmjs.com/package/@angular-redux/store)\n\n## What is Redux?\n\nRedux is a popular approach to managing state in applications. It emphasises:\n\n- A single, immutable data store.\n- One-way data flow.\n- An approach to change based on pure functions and a stream of actions.\n\nYou can find lots of excellent documentation here: [Redux](http://redux.js.org/).\n\n## What is @angular-redux?\n\nWe provide a set of npm packages that help you integrate your redux store\ninto your Angular 2+ applications. Our approach helps you by bridging the gap\nwith some of Angular's advanced features, including:\n\n- Change processing with RxJS observables.\n- Compile time optimizations with `NgModule` and Ahead-of-Time compilation.\n- Integration with the Angular change detector.\n\n## Getting Started\n\n- I already know what Redux and RxJS are. [Give me the TL;DR](articles/quickstart.md).\n- I'm just learning about Redux. [Break it down for me](articles/intro-tutorial.md)!\n- Talk is cheap. [Show me a complete code example](https://github.com/angular-redux/example-app).\n- Take me to the [API docs](https://angular-redux.github.io/store).\n\n## Installation\n\n`@angular-redux/store` has a peer dependency on redux, so we need to install it as well.\n\n```sh\nnpm install --save redux @angular-redux/store\n```\n\n## Quick Start\n\n```typescript\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\nimport { AppModule } from './containers/app.module';\n\nplatformBrowserDynamic().bootstrapModule(AppModule);\n```\n\nImport the `NgReduxModule` class and add it to your application module as an\n`import`. Once you've done this, you'll be able to inject `NgRedux` into your\nAngular components. In your top-level app module, you\ncan configure your Redux store with reducers, initial state,\nand optionally middlewares and enhancers as you would in Redux directly.\n\n```typescript\nimport { NgReduxModule, NgRedux } from '@angular-redux/store';\nimport { createLogger } from 'redux-logger';\nimport { rootReducer } from './reducers';\n\ninterface IAppState {\n  /* ... */\n}\n\n@NgModule({\n  /* ... */\n  imports: [, /* ... */ NgReduxModule],\n})\nexport class AppModule {\n  constructor(ngRedux: NgRedux<IAppState>) {\n    ngRedux.configureStore(rootReducer, {}, [createLogger()]);\n  }\n}\n```\n\nOr if you prefer to create the Redux store yourself you can do that and use the\n`provideStore()` function instead:\n\n```typescript\nimport {\n  applyMiddleware,\n  Store,\n  combineReducers,\n  compose,\n  createStore,\n} from 'redux';\nimport { NgReduxModule, NgRedux } from '@angular-redux/store';\nimport { createLogger } from 'redux-logger';\nimport { rootReducer } from './reducers';\n\ninterface IAppState {\n  /* ... */\n}\n\nexport const store: Store<IAppState> = createStore(\n  rootReducer,\n  applyMiddleware(createLogger()),\n);\n\n@NgModule({\n  /* ... */\n  imports: [, /* ... */ NgReduxModule],\n})\nclass AppModule {\n  constructor(ngRedux: NgRedux<IAppState>) {\n    ngRedux.provideStore(store);\n  }\n}\n```\n\n> Note that we're also using a Redux middleware from the community here:\n> [redux-logger](https://www.npmjs.com/package/redux-logger). This is just to show\n> off that `@angular-redux/store` is indeed compatible with Redux middlewares as you\n> might expect.\n>\n> Note that to use it, you'll need to install it with `npm install --save redux-logger`\n> and type definitions for it with `npm install --save-dev @types/redux-logger`.\n\nNow your Angular app has been reduxified! Use the `@select` decorator to\naccess your store state, and `.dispatch()` to dispatch actions:\n\n```typescript\nimport { select } from '@angular-redux/store';\n\n@Component({\n  template:\n    '<button (click)=\"onClick()\">Clicked {{ count | async }} times</button>',\n})\nclass App {\n  @select() count$: Observable<number>;\n\n  constructor(private ngRedux: NgRedux<IAppState>) {}\n\n  onClick() {\n    this.ngRedux.dispatch({ type: INCREMENT });\n  }\n}\n```\n\n## Examples\n\nHere are some examples of the `angular-redux` family of packages in action:\n\n- [Zoo Animals Combined Example App](https://github.com/angular-redux/platform/blob/master/packages/example-app)\n\n## Companion Packages\n\n- [Reduxify your Routing with @angular-redux/router](https://github.com/angular-redux/platform/blob/master/packages/router)\n- [Reduxify your Forms with @angular-redux/form](https://github.com/angular-redux/platform/blob/master/packages/form)\n\n## Resources\n\n- [Using Redux with Angular - JS Toronto Meetup 2016-07-12](https://www.youtube.com/watch?v=s4xr2avwv3s)\n- [Getting started with Redux](https://egghead.io/courses/getting-started-with-redux)\n- [Awesome Redux: Community Resources](https://github.com/xgrommx/awesome-redux)\n\n## In-Depth Usage\n\n`@angular-redux/store` uses an approach to redux based on RxJS Observables to `select` and transform\ndata on its way out of the store and into your UI or side-effect handlers. Observables\nare an efficient analogue to `reselect` for the RxJS-heavy Angular world.\n\nRead more here: [Select Pattern](articles/select-pattern.md)\n\nWe also have a number of 'cookbooks' for specific Angular topics:\n\n- [Using Angular's Dependency Injector with Action Creators](articles/action-creator-service.md)\n- [Using Angular's Dependency Injector with Middlewares](articles/di-middleware.md)\n- [Managing Side-Effects with redux-observable Epics](articles/epics.md)\n- [Using the Redux DevTools Chrome Extension](articles/redux-dev-tools.md)\n- [@angular-redux/store and ImmutableJS](articles/immutable-js.md)\n- [Strongly Typed Reducers](articles/strongly-typed-reducers.md)\n\n## Hacking on angular-redux/store\n\nWant to hack on angular-redux/store or any of the related packages? Feel free to do so, but please test your changes before making any PRs.\n\nHere's how to do that:\n\n1.  Write unit tests. You can check that they work by running\n    `npm test`.\n2.  Run the linter. If your editor doesn't do it automatically, do it\n    manually with `npm run lint`.\n3.  Test your changes in a 'real world scenario'. We use the [example-app](https://github.com/angular-redux/example-app) for this, using some npm\n    fakery to 'publish the package locally':\n\n- clone the example app (`git clone https://github.com/angular-redux/example-app.git`)\n- generate a 'local package' (`cd` to your `angular-redux/store` clone and run `npm pack`). This will create a `.tgz` file.\n- hook your 'local package' up to your example-app (`cd` to your example-app clone and run `npm install --save /path/to/the/tgz/file/from/above`)\n- run `ng serve --aot`\n\nPlease make sure your changes pass Angular's AoT compiler, because it's a bit finicky with TS syntax.\n","readmeFilename":"README.md"}