{"_id":"redux-query-sync","_rev":"13-8bdec089e07157c0124ab642449c8a57","name":"redux-query-sync","description":"Synchronise URL query parameters and redux state.","dist-tags":{"latest":"0.1.10"},"versions":{"0.1.0":{"name":"redux-query-sync","description":"Synchronise URL query parameters and redux state.","author":{"name":"Gerben","email":"gerben@treora.com"},"keywords":["redux","sync","url","location","query","search","parameters"],"version":"0.1.0","repository":{"type":"git","url":"git+https://github.com/Treora/redux-query-sync.git"},"license":"Unlicense","main":"lib/redux-query-sync.js","scripts":{"build":"babel src -d lib","watch":"babel src -d lib -w","prepublish":"npm run build","postinstall":"postinstall-build lib"},"devDependencies":{"babel-cli":"^6.24.1","babel-core":"^6.24.1","babel-preset-es2015":"^6.24.1","babel-preset-stage-1":"^6.24.1"},"dependencies":{"history":"^4.6.3","postinstall-build":"^3.0.1"},"gitHead":"455b412be1980eba6921ba992487a8b37cc0aa95","bugs":{"url":"https://github.com/Treora/redux-query-sync/issues"},"homepage":"https://github.com/Treora/redux-query-sync#readme","_id":"redux-query-sync@0.1.0","_shasum":"998bb0c4303341d0f4c8e6d3ae290ae86a519c3f","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"treora","email":"gerben@treora.com"},"maintainers":[{"name":"treora","email":"gerben@treora.com"}],"dist":{"shasum":"998bb0c4303341d0f4c8e6d3ae290ae86a519c3f","tarball":"https://registry.npmjs.org/redux-query-sync/-/redux-query-sync-0.1.0.tgz","integrity":"sha512-w5vDgyrLkx2IKgLbETLRN1lWZ1ACXfcug6tzsvnkCLG1971iEfL5TAo+1lhgFvK+V2XNW7rrvtnUr2Gs0BJrCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDVVX10OsjteM11D2o39F2glpBgpKoFy3kDDH/30ZS5wAiEAigfpI5ZHiiJJrSxQBvEGjVKYF+DHJQV/Go004inCYkg="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redux-query-sync-0.1.0.tgz_1498586075613_0.5608367859385908"},"directories":{}},"0.1.1":{"name":"redux-query-sync","description":"Synchronise URL query parameters and redux state.","author":{"name":"Gerben","email":"gerben@treora.com"},"keywords":["redux","sync","url","location","query","search","parameters"],"version":"0.1.1","repository":{"type":"git","url":"git+https://github.com/Treora/redux-query-sync.git"},"license":"Unlicense","main":"lib/redux-query-sync.js","scripts":{"build":"babel src -d lib","watch":"babel src -d lib -w","prepublish":"npm run build","postinstall":"postinstall-build lib"},"devDependencies":{"babel-cli":"^6.24.1","babel-core":"^6.24.1","babel-preset-es2015":"^6.24.1","babel-preset-stage-1":"^6.24.1"},"dependencies":{"history":"^4.6.3","postinstall-build":"^3.0.1"},"gitHead":"7f8988d753114b7e90fd7c22761db7ba023fa8d5","bugs":{"url":"https://github.com/Treora/redux-query-sync/issues"},"homepage":"https://github.com/Treora/redux-query-sync#readme","_id":"redux-query-sync@0.1.1","_shasum":"ca42319d0d4ee057b12b2be4cd9a7afea5da29f5","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"treora","email":"gerben@treora.com"},"maintainers":[{"name":"treora","email":"gerben@treora.com"}],"dist":{"shasum":"ca42319d0d4ee057b12b2be4cd9a7afea5da29f5","tarball":"https://registry.npmjs.org/redux-query-sync/-/redux-query-sync-0.1.1.tgz","integrity":"sha512-f/MLwiT277YAWbXsUOAgpKEz3V8ALYkB90i9qWf9kYLEwlDfnFuaMPto6i4IGWKq30cqgCzGp0CgrytCS78RDA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFQgwATddOEg28CroZcOjCIJZspsApOpgFn/DYbD9G8sAiEAqBhubz9l/aQxST1dfVC7N12VpLXRQ8Zf1IP8zW851Bc="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redux-query-sync-0.1.1.tgz_1498589182013_0.1377843644004315"},"directories":{}},"0.1.2":{"name":"redux-query-sync","description":"Synchronise URL query parameters and redux state.","author":{"name":"Gerben","email":"gerben@treora.com"},"keywords":["redux","sync","url","location","query","search","parameters"],"version":"0.1.2","repository":{"type":"git","url":"git+https://github.com/Treora/redux-query-sync.git"},"license":"Unlicense","main":"lib/redux-query-sync.js","scripts":{"build":"babel src -d lib","watch":"babel src -d lib -w","prepublish":"npm run build","postinstall":"postinstall-build lib"},"devDependencies":{"babel-cli":"^6.24.1","babel-core":"^6.24.1","babel-preset-es2015":"^6.24.1","babel-preset-stage-1":"^6.24.1"},"dependencies":{"history":"^4.6.3","postinstall-build":"^3.0.1"},"gitHead":"1eb155e77f8aeb039ffe36ce4d4948319c075615","bugs":{"url":"https://github.com/Treora/redux-query-sync/issues"},"homepage":"https://github.com/Treora/redux-query-sync#readme","_id":"redux-query-sync@0.1.2","_shasum":"4194f2f91a0c5ce9b4237f9b444c2a9bd81748f0","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.12.0","_npmUser":{"name":"treora","email":"gerben@treora.com"},"maintainers":[{"name":"treora","email":"gerben@treora.com"}],"dist":{"shasum":"4194f2f91a0c5ce9b4237f9b444c2a9bd81748f0","tarball":"https://registry.npmjs.org/redux-query-sync/-/redux-query-sync-0.1.2.tgz","integrity":"sha512-rlI9Uwl9/JzT96g5KuEFT6LRAkC+5bWwt9RqibQkGi8nvJY518FzujqPBF8FzUD4TvcRTd3ICJ+4ClRLRekj3g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEDa6kA/JTtCueDb5ZuEvRu6H91Je9uXbpbZ9glQzF7eAiARc/wI0U9WCr+fFVgBh6d/bONEkR9R4kBTg7euWdhoTw=="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redux-query-sync-0.1.2.tgz_1498590034910_0.1384895872324705"},"directories":{}},"0.1.3":{"name":"redux-query-sync","description":"Synchronise URL query parameters and redux state.","author":{"name":"Gerben","email":"gerben@treora.com"},"keywords":["redux","sync","url","location","query","search","parameters"],"version":"0.1.3","repository":{"type":"git","url":"git+https://github.com/Treora/redux-query-sync.git"},"license":"Unlicense","files":["lib"],"main":"lib/redux-query-sync.js","scripts":{"build":"babel src -d lib","watch":"babel src -d lib -w","prepublish":"npm run build","postinstall":"postinstall-build lib"},"devDependencies":{"babel-cli":"^6.24.1","babel-core":"^6.24.1","babel-preset-es2015":"^6.24.1","babel-preset-stage-1":"^6.24.1"},"dependencies":{"history":"^4.6.3","postinstall-build":"^3.0.1"},"gitHead":"0fa3822f87efe592e12a001626032a5256421075","bugs":{"url":"https://github.com/Treora/redux-query-sync/issues"},"homepage":"https://github.com/Treora/redux-query-sync#readme","_id":"redux-query-sync@0.1.3","_shasum":"d06662ad7369de2a83e476cb5f50e719f2d029cd","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.12.0","_npmUser":{"name":"treora","email":"gerben@treora.com"},"maintainers":[{"name":"treora","email":"gerben@treora.com"}],"dist":{"shasum":"d06662ad7369de2a83e476cb5f50e719f2d029cd","tarball":"https://registry.npmjs.org/redux-query-sync/-/redux-query-sync-0.1.3.tgz","integrity":"sha512-vnvW0lEljyOQezcQYrpJpfCC3LCEBWKoqyBf0PxxIpK4iuQqCrfQPIn/FbvkQntPCv55UfijNHCd2lYFRbfkrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsbkNQ2BdIVXFuzFF1jazbxikwS4D3aBL2B152hX03FAIgG8DBec6UHcaryhejx09Q4fe7HkyhTqbT8oRmRjior2E="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redux-query-sync-0.1.3.tgz_1498590254089_0.4689833663869649"},"directories":{}},"0.1.4":{"name":"redux-query-sync","description":"Synchronise URL query parameters and redux state.","author":{"name":"Gerben","email":"gerben@treora.com"},"keywords":["redux","sync","url","location","query","search","parameters"],"version":"0.1.4","repository":{"type":"git","url":"git+https://github.com/Treora/redux-query-sync.git"},"license":"Unlicense","files":["lib"],"main":"lib/redux-query-sync.js","scripts":{"build":"babel src -d lib","watch":"babel src -d lib -w","prepublish":"npm run build","postinstall":"postinstall-build lib"},"devDependencies":{"babel-cli":"^6.24.1","babel-core":"^6.24.1","babel-preset-es2015":"^6.24.1","babel-preset-stage-1":"^6.24.1"},"dependencies":{"history":"^4.6.3","postinstall-build":"^3.0.1"},"gitHead":"57e0b9c7375973648ae5dff4d8d62c52efb920a2","bugs":{"url":"https://github.com/Treora/redux-query-sync/issues"},"homepage":"https://github.com/Treora/redux-query-sync#readme","_id":"redux-query-sync@0.1.4","_shasum":"a124884629f73e4cc76effd2c6d1393ec630aeda","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"treora","email":"gerben@treora.com"},"maintainers":[{"name":"treora","email":"gerben@treora.com"}],"dist":{"shasum":"a124884629f73e4cc76effd2c6d1393ec630aeda","tarball":"https://registry.npmjs.org/redux-query-sync/-/redux-query-sync-0.1.4.tgz","integrity":"sha512-zQVCHajplqd4Q0a0IBgPbNThSI4pBxaDekIASxJOPcdNmBTbGsBeetFw/NuTWFVQdK3yNanV0ZT8lPjx3CU0zg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF4lz7dOcfHTp5cN9tgFcp0NVmQw0hatyNkYLNEvcLH7AiAy8UI3ZfR7uu23TV3BImUQg9GCCER6KqbcGktnUf54sA=="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redux-query-sync-0.1.4.tgz_1499792106639_0.25241314922459424"},"directories":{}},"0.1.5":{"name":"redux-query-sync","description":"Synchronise URL query parameters and redux state.","author":{"name":"Gerben","email":"gerben@treora.com"},"keywords":["redux","sync","url","location","query","search","parameters"],"version":"0.1.5","repository":{"type":"git","url":"git+https://github.com/Treora/redux-query-sync.git"},"license":"Unlicense","files":["lib"],"main":"lib/redux-query-sync.js","scripts":{"build":"babel src -d lib","watch":"babel src -d lib -w","prepublish":"npm run build","postinstall":"postinstall-build lib"},"devDependencies":{"babel-cli":"^6.24.1","babel-core":"^6.24.1","babel-preset-es2015":"^6.24.1","babel-preset-stage-1":"^6.24.1"},"dependencies":{"history":"^4.6.3","postinstall-build":"^3.0.1"},"gitHead":"dac493424ebe997470e0b62b3d54ac49159403bf","bugs":{"url":"https://github.com/Treora/redux-query-sync/issues"},"homepage":"https://github.com/Treora/redux-query-sync#readme","_id":"redux-query-sync@0.1.5","_shasum":"f9fee582379f0ff773bd41f72371d8d2b35f9c66","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.12.0","_npmUser":{"name":"treora","email":"gerben@treora.com"},"maintainers":[{"name":"treora","email":"gerben@treora.com"}],"dist":{"shasum":"f9fee582379f0ff773bd41f72371d8d2b35f9c66","tarball":"https://registry.npmjs.org/redux-query-sync/-/redux-query-sync-0.1.5.tgz","integrity":"sha512-eSHvG/3pF9R9BWROWiHmO3HhPj2wCQ/9mJBVqeUv/lti65j4F2BGdJTh/A4sK4Yd8f1Q7uSuJ7x1sTu+IU0NqQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICED54pLJzmPORVI4gm4BrNW9u7cqTejbc6goJ97Q7KkAiBh2+iJ08Z2jbhBL/LhoP7C6MG1Wi2Uuul40KkDZfokUg=="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redux-query-sync-0.1.5.tgz_1501495534294_0.9905360699631274"},"directories":{}},"0.1.6":{"name":"redux-query-sync","description":"Synchronise URL query parameters and redux state.","author":{"name":"Gerben","email":"gerben@treora.com"},"keywords":["redux","sync","url","location","query","search","parameters"],"version":"0.1.6","repository":{"type":"git","url":"git+https://github.com/Treora/redux-query-sync.git"},"license":"Unlicense","files":["lib"],"main":"lib/redux-query-sync.js","scripts":{"build":"babel src -d lib","watch":"babel src -d lib -w","prepublish":"npm run build","postinstall":"postinstall-build lib"},"devDependencies":{"babel-cli":"^6.24.1","babel-core":"^6.24.1","babel-preset-es2015":"^6.24.1","babel-preset-stage-1":"^6.24.1"},"dependencies":{"history":"^4.6.3","postinstall-build":"^3.0.1","url-search-params":"0.10.0"},"gitHead":"24a5b54921968dff89554937e61c256304515ac7","bugs":{"url":"https://github.com/Treora/redux-query-sync/issues"},"homepage":"https://github.com/Treora/redux-query-sync#readme","_id":"redux-query-sync@0.1.6","_shasum":"73bc20c9097735e62fd096fb4dee6c4a880566ab","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"treora","email":"gerben@treora.com"},"maintainers":[{"name":"treora","email":"gerben@treora.com"}],"dist":{"shasum":"73bc20c9097735e62fd096fb4dee6c4a880566ab","tarball":"https://registry.npmjs.org/redux-query-sync/-/redux-query-sync-0.1.6.tgz","integrity":"sha512-VIlgPf0nK0Q3GUQbtAv/1YuD9A6CFi2j4PEiVS5lnJlM5q/aDH6E/0xvMtjHgK03wNxUNcvrpChNeUNyLvJTgQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHOp+0U4Mz8/GgyQKQvdnLZIJWzfyuQi6P5aPjGP7ckqAiBlkr5h1cVitvQsMyhzGm8uBCp50lMvyTlUFle1dH+TvA=="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redux-query-sync-0.1.6.tgz_1504466605028_0.6597134380135685"},"directories":{}},"0.1.7":{"name":"redux-query-sync","description":"Synchronise URL query parameters and redux state.","author":{"name":"Gerben","email":"gerben@treora.com"},"keywords":["redux","sync","url","location","query","search","parameters"],"version":"0.1.7","repository":{"type":"git","url":"git+https://github.com/Treora/redux-query-sync.git"},"license":"Unlicense","files":["lib"],"main":"lib/redux-query-sync.js","scripts":{"build":"babel src -d lib","watch":"babel src -d lib -w","prepublish":"npm run build","postinstall":"postinstall-build lib"},"devDependencies":{"babel-cli":"^6.24.1","babel-core":"^6.24.1","babel-preset-es2015":"^6.24.1","babel-preset-stage-1":"^6.24.1"},"dependencies":{"history":"^4.6.3","postinstall-build":"^3.0.1","url-search-params":"0.10.0"},"gitHead":"1461ad47c60297615bdc56bee3ed822e4de8cafe","bugs":{"url":"https://github.com/Treora/redux-query-sync/issues"},"homepage":"https://github.com/Treora/redux-query-sync#readme","_id":"redux-query-sync@0.1.7","_shasum":"fb2e6b0c5649a4f5e2c6e44bfe86b8a5f09699e8","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"treora","email":"gerben@treora.com"},"maintainers":[{"name":"treora","email":"gerben@treora.com"}],"dist":{"shasum":"fb2e6b0c5649a4f5e2c6e44bfe86b8a5f09699e8","tarball":"https://registry.npmjs.org/redux-query-sync/-/redux-query-sync-0.1.7.tgz","integrity":"sha512-fnCn3ud/4HEIB3GD0v1E1Tam4B9FdhgLFGgmN/ZRX5h6W5reJSDqtKcu+1b6H3vkEU0pxiAYimDl0AWRvMKpZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkdyQOr3JMsVjkq/6rgxkzbiBS2CLDEGLwT0O+hr2JfAIga5p33AZ/B1lYP0vqoetxEJ5K/WJDxvZWmpurvyqKqWU="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redux-query-sync-0.1.7.tgz_1504621136853_0.18246420612558722"},"directories":{}},"0.1.8":{"name":"redux-query-sync","description":"Synchronise URL query parameters and redux state.","author":{"name":"Gerben","email":"gerben@treora.com"},"keywords":["redux","sync","url","location","query","search","parameters"],"version":"0.1.8","repository":{"type":"git","url":"git+https://github.com/Treora/redux-query-sync.git"},"license":"Unlicense","main":"lib/redux-query-sync.js","scripts":{"prepare":"babel src -d lib","watch":"babel src -d lib -w"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.3.4","@babel/preset-env":"^7.3.4"},"dependencies":{"history":"^4.8.0","url-search-params":"0.10.0"},"babel":{"presets":["@babel/preset-env"]},"gitHead":"638f5993ecfd0de08790e72971a8ccbb2b9b6f35","bugs":{"url":"https://github.com/Treora/redux-query-sync/issues"},"homepage":"https://github.com/Treora/redux-query-sync#readme","_id":"redux-query-sync@0.1.8","_nodeVersion":"8.11.1","_npmVersion":"6.9.0","_npmUser":{"name":"treora","email":"gerben@treora.com"},"dist":{"integrity":"sha512-4+/3MToEuwiqpAVE7WIP20B4h+8+gQsr8ZR8ciHYSoiqPKQRW+iUeoQNSQMNDWdA0pNdAcdeFofcKAMksBXOTg==","shasum":"3e4683776732a0ed1440dca9c02da4b4b281ea8f","tarball":"https://registry.npmjs.org/redux-query-sync/-/redux-query-sync-0.1.8.tgz","fileCount":4,"unpackedSize":17432,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckR2aCRA9TVsSAnZWagAAKRkP/RgNNxKd+SQAXwwIYEHi\nRAlYpd8sUh78GCzgVbQHwvbeDepHPc+twSflIrgx501fUiiRy9VW2zTf78//\n9wPIdgGYpk7zMAA2M5BTu5FuRPQMaX3n8MwkSE3eLLq8txJ07FoUgaGwS87I\nUk5WkZwXSda3i3tW0ffO8KNvyLfs8Z7Lo8HJS+y1/UNUpQgVQ0E3myg2DRfB\naKj1igkDFEzhiIxbT9+Iv+L0tKA0u5ni2Kx9QlBJTNMgv0n6dNowKSU1lTro\niasz5bCeMyDxVIgvI5b+eq4VNF1HCNX52o5Hyo4P9KlefHgyfS5DpKx1so/S\ns30f6Fi772YtwmkvZRRZmhuGIBrlwjd403I8K8EhmZ9bKkIDK62CC2nJ3CJP\nf96IE9CXcJujdNZnUd7doxtFJy/C5GO+n6bMxrLSQFWXX+S3kQV2JSZ29Ap3\ngF8nB0al5ydSpMXRfnDafHyRvzNpWv/rNA/POZU4qxhJTO1l66zjQkos/CV8\nVBZIvA2KkW966CKhvCHLuaZAJiRsLitJ8NsplTBdZKh66WEgJQRQ4wIWoNuR\n2TLYJgHftWC1239rC+1ko3Y9qAzI4llz0Zql/WStlwZt59GFWFo3Nwvz+hA8\nBuz6/VaIIglTk4qGzNpyKIl3Kh5mOG16/fjtpqTjjUy45DsoeYffZtdeEAap\no5bl\r\n=9DMG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEOWAVMmNj+Q5PPaOUYHHxhCFrQJh9XFk3ABQWq3/i6kAiEAopzIZietNpdQi8S4RVVHnCxlPDCMkg3MyOM/MtaoSZU="}]},"maintainers":[{"name":"treora","email":"gerben@treora.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redux-query-sync_0.1.8_1553014169107_0.3079074030693558"},"_hasShrinkwrap":false},"0.1.9":{"name":"redux-query-sync","description":"Synchronise URL query parameters and redux state.","author":{"name":"Gerben","email":"gerben@treora.com"},"keywords":["redux","sync","url","location","query","search","parameters"],"version":"0.1.9","repository":{"type":"git","url":"git+https://github.com/Treora/redux-query-sync.git"},"license":"Unlicense","main":"lib/redux-query-sync.js","scripts":{"prepare":"babel src -d lib","watch":"babel src -d lib -w"},"devDependencies":{"@babel/cli":"^7.5.5","@babel/core":"^7.5.5","@babel/preset-env":"^7.5.5"},"dependencies":{"@ungap/url-search-params":"^0.1.2","history":"^4.8.0"},"babel":{"presets":["@babel/preset-env"]},"gitHead":"049b12549ddb770b8b7d58e007a1af57ed3a230b","bugs":{"url":"https://github.com/Treora/redux-query-sync/issues"},"homepage":"https://github.com/Treora/redux-query-sync#readme","_id":"redux-query-sync@0.1.9","_nodeVersion":"8.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"treora","email":"gerben@treora.com"},"dist":{"integrity":"sha512-vmoIB4QLC4Jpj1IelovFB0yxrakKU06oMghacS75bBfywxb/Pe3jT05jHbSs/rZV70XKu/rc4/gzqIEeWkthRw==","shasum":"a680d77e462fc13f0e9942fd0450172f88438614","tarball":"https://registry.npmjs.org/redux-query-sync/-/redux-query-sync-0.1.9.tgz","fileCount":4,"unpackedSize":18325,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdaNjnCRA9TVsSAnZWagAAwg4P/RjIv11sTE55nw7Yoh3N\nh53FxiGFoOZEV3x8ahuxHU2RX49l+aY6qw6Tk9+ZSfa0M8tlm4Wm+hbfhXub\nF/eCOh45+pLbOp4JVlmWoS6aY7K2U1fwVp6XybV8576cohPvTYUkWZjLbxrT\ncXVhfnUeMS1I/pv+Mvgb57720sFIy1lldmC7ohYGHT4qomcIN18/Z7WoaYLc\nlxL2GXB1jPHfLS4sXQOXCuqr4tn4MRKZfcryS3V3zPCT03xwA2iZy+T4eu4I\nwEcjKCQuSDMXp9e5FhTheZRWYv62F6fXSjexKofnuorOIt/9hbEjvDitr0Zm\nvV+2D702c1ghRhDMatke6ECzV+1Z+z90/FGxL1UAQIpTazEQCjunLpf0qU6B\nNDAD0UGRTkjigSHGMlBd7m2kbE7NF7MsdBmWJ2jARjcVnqGqLBKeyps67K4M\nEKlfsmTlSeU5hzXSkhIst7dNQSi+8gHJVeMchvF6RHCBWXAbwSmftQ8DdIjV\nqHmtraoRd6hX4ywzmnr5YwnnM8hAIw+PIvzJTXlE4dcal0wXQyH3KzPjFtdn\n+F/FMcSY83NrMb8xZRpp1bKvjR+bjCkHNqIAb5QcGLySRJt4jJP6srMHubXD\n82vlgS0iJ3E0brKHnf2gccE1o6sXVfA3tLuagkbD5pdjNxsMc8VxSMTMmTzc\nG8Gg\r\n=s9Do\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDBPgrCqai9LJr5ztGFDwSC1M0JGkMnurM4fSKVwcp5mgIhAKZ/jmJdbC4dOhOYvDuTo5VvUVJsupQa7RxChyxIoC0b"}]},"maintainers":[{"name":"treora","email":"gerben@treora.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redux-query-sync_0.1.9_1567152358852_0.18542790475405524"},"_hasShrinkwrap":false},"0.1.10":{"name":"redux-query-sync","description":"Synchronise URL query parameters and redux state.","author":{"name":"Gerben","email":"gerben@treora.com"},"keywords":["redux","sync","url","location","query","search","parameters"],"version":"0.1.10","repository":{"type":"git","url":"git+https://github.com/Treora/redux-query-sync.git"},"license":"Unlicense","main":"lib/redux-query-sync.js","scripts":{"prepare":"babel src -d lib","watch":"babel src -d lib -w"},"devDependencies":{"@babel/cli":"^7.5.5","@babel/core":"^7.5.5","@babel/preset-env":"^7.5.5"},"dependencies":{"@ungap/url-search-params":"^0.1.2","history":"^4.8.0"},"babel":{"presets":["@babel/preset-env"]},"gitHead":"2a2d08e92b2bf931196f97fdbffb0c5ccfb9b6c9","bugs":{"url":"https://github.com/Treora/redux-query-sync/issues"},"homepage":"https://github.com/Treora/redux-query-sync#readme","_id":"redux-query-sync@0.1.10","_nodeVersion":"14.5.0","_npmVersion":"6.14.6","_npmUser":{"name":"treora","email":"gerben@treora.com"},"dist":{"integrity":"sha512-F33z0pH7p17pNsKRAJzxOihdg5C/0CcUM8POU57a83vDPJXUXviBuuATNUI6xdhfUE3Y3gjV222EyaP7zwOktw==","shasum":"e00552025d2a471d2d47c98cb7282457a0ba52be","tarball":"https://registry.npmjs.org/redux-query-sync/-/redux-query-sync-0.1.10.tgz","fileCount":5,"unpackedSize":18549,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfEFtfCRA9TVsSAnZWagAAHjMP/i23UBCyVLilghaxojPP\nyHOVQAdoH14zrm79J+W5EivCJp2Q9tDB6CPS/kpsu1hZjLg5wD8/NHXavAtO\nigPEtm7B6lJjih5lDwnJCxCw7xa0v2mBbzBZCqa+oY7CvGwBngGNYSDrtXma\nmy+KtZws7YhURpuIJ7KZF9361Gg6BbOri1JR+XK+//8/hIt0M2NfWaRLTG7v\nIsIVEI0D4QWvcnNa4+OCVZNikhEc/xtmaXsnjPuZah8RHEI8v/+6d1A28RqW\na27dO7PI6jkol/NZIDpLReg4L4PW4jdvd3hzN3A5OA2mPBf6ISci4o3EEFUC\nhD9UHC9+TxXnvoxvS4mBRA8OwNkWtKntMRzYxVU2BZVzLR3SU0pjlmPwjXZ3\nm0CF97maSJaKAq3YzTEuJw2B3Ny1sOLyLX3j0Eh7nU9KQRfOCk9hPlKvk/3x\nSceytZc+DPZhC/jXq/TRhhTLBv8oWmT1PJ69kSESz5Z4veDJOYszJI0k4iIo\njYZoDXSC9Jyto1dxlMY/oxmUdQYWXynktCa2qiZd9TF7SpXGMR9fB/HJq8K/\nlhV0mXAWhohCNzuH8k/voPs9Ea6ICcXDkqdxZmiZdFZ3ukAPuWsSY5ctGdsV\n6xzUMr8Kc5nMfolgi0kHkV/hzLbI3V3qxQ0DRINhv/H7/poiRCyZMLz/i+zx\nVGT2\r\n=+eo7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBtjTB/eKEdUChSRnrPJAx5ABAqT26ByiHxhSiBOK3fyAiB294RcuXPlv0MEnlS9f82TEb81UQqD2znulp1LMZOZfQ=="}]},"maintainers":[{"name":"treora","email":"gerben@treora.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redux-query-sync_0.1.10_1594907486847_0.3538616364777851"},"_hasShrinkwrap":false}},"readme":"# redux-query-sync\n\nTreat the URL query parameters as exposed variables of your [Redux][] state. For example,\n`/mypage.html?p=14` could correspond to a state object containing `{pageNumber: 14}`.\n\nAny changes to the store state are reflected in the URL. Vice versa, if the URL is changed using the\n[`history`][history] module, the changed parameters are updated in the store state.\n\n[Redux]: http://redux.js.org/\n[history]: https://www.npmjs.com/package/history\n\n## Alternatives\n\nSimilar modules exist, which you might prefer in some scenarios:\n\n- If you already use [React Router][], also have a look at [react-router-redux-sync][]. If you\n  prefer combining React Router with redux-query-sync, ensure you use `Router` ([not\n  `BrowserRouter`](https://github.com/Treora/redux-query-sync/issues/22#issue-285705363)) and pass\n  to both modules the same `history` instance (see this\n  [explanation](https://github.com/Treora/redux-query-sync/issues/13#issuecomment-327361957)).\n- If you use React without Redux, try [react-url-query][].\n\nOtherwise, keep reading.\n\n[React Router]: https://reacttraining.com/react-router/\n[react-router-redux-sync]: https://github.com/scienceai/react-router-redux-sync\n[react-url-query]: https://github.com/pbeshai/react-url-query\n\n## Install\n\n```\nnpm install redux-query-sync\n```\n\n…or equivalent.\n\n## Usage\n\nAs a minimal example, let's say we want to synchronise query parameter `dest` with the value of the\nstate's `route.destination` field, to parse/make URLs such as `directions.html?dest=Amsterdam`.\n\n**Minimal example**\n```js\nimport ReduxQuerySync from 'redux-query-sync'\n\nReduxQuerySync({\n    store, // your Redux store\n    params: {\n        dest: {\n            // The selector you use to get the destination string from the state object.\n            selector: state => state.route.destination,\n            // The action creator you use for setting a new destination.\n            action: value => ({type: 'setDestination', payload: value}),\n        },\n    },\n    // Initially set the store's state to the current location.\n    initialTruth: 'location',\n})\n```\n\nNote that redux-query-sync does not modify the state, but lets you specify which action to dispatch\nwhen the state should be updated. It does modify the location (using\nhistory.[pushState][]/[replaceState][]), but ensures to only touch the parameters you specified.\n\n[pushState]: https://developer.mozilla.org/en-US/docs/Web/API/History_API#The_pushState()_method\n[replaceState]: https://developer.mozilla.org/en-US/docs/Web/API/History_API#The_replaceState()_method\n\nLet's look at a more elaborate example now. We sync the query parameter `p` with the value of the\nstate's `pageNumber` field, which includes a mapping between string and integer.\n\n**Longer example**\n```js\nimport ReduxQuerySync from 'redux-query-sync'\n\nReduxQuerySync({\n    store,\n    params: {\n        p: {\n            selector: state => state.pageNumber,\n            action: value => ({type: 'setPageNumber', payload: value}),\n\n            // Cast the parameter value to a number (we map invalid values to 1, which will then\n            // hide the parameter).\n            stringToValue: string => Number.parseInt(string) || 1,\n\n            // We then also specify the inverse function (this example one is the default)\n            valueToString: value => `${value}`,\n\n            // When state.pageNumber equals 1, the parameter p is hidden (and vice versa).\n            defaultValue: 1,\n        },\n    },\n    initialTruth: 'location',\n\n    // Use replaceState so the browser's back/forward button will skip over these page changes.\n    replaceState: true,\n})\n```\n\nNote you could equally well put the conversion to and from the string in the selector and action\ncreator, respectively. The `defaultValue` should then of course be a string too.\n\nSee some examples in the wild:\n\n- [using string←→value conversion, using the enhancer](https://github.com/WebMemex/webmemex-extension/blob/0d3b8d7bd776dfd6b348205cbd81dfd2b1d39d15/src/overview/overview-ui/enhancer.js)\n- *have a helpful example? Send a PR to add it here*\n\n## API\n\n<a name=\"ReduxQuerySync\"></a>\n\n### ReduxQuerySync()\nSets up bidirectional synchronisation between a Redux store and window location query parameters.\n\n| Param | Type | Description |\n| --- | --- | --- |\n| options.store | <code>Object</code> | The Redux store object (= an object `{dispatch, getState}`). |\n| options.params | <code>Object</code> | The query parameters in the location to keep in sync. |\n| options.params[].action | <code>function: value => action</code> | The action creator to be invoked with the parameter value. Should return an action that sets this value in the store. |\n| options.params[].selector | <code>function: state => value</code> | The function that gets the value given the state. |\n| [options.params[].defaultValue] | <code>\\*</code> | The value corresponding to absence of the parameter. You may want this to equal the state's default/initial value. Default: `undefined`. |\n| [options.params[].valueToString] | <code>function</code> | Specifies how to cast the value to a string, to be used in the URL. Defaults to javascript's automatic string conversion. |\n| [options.params[].stringToValue] | <code>function</code> | The inverse of valueToString. Specifies how to parse the parameter's string value to your desired value type. Defaults to the identity function (i.e. you get the string as it is). |\n| options.initialTruth | <code>string</code> | If set, indicates whose values to sync to the other, initially. Can be either `'location'` or `'store'`. If not set, the first of them that changes will set the other, which is not recommended. Usually you will want to use `location`. |\n| [options.replaceState] | <code>boolean</code> | If truthy, update location using `history.replaceState` instead of `history.pushState`, to not add entries to the browser history. Default: false |\n| [options.history] | <code>Object</code> | If you use the 'history' module, e.g. when using a router, pass your history object here in order to ensure all code uses the same instance. |\n\n\nReturns: a function `unsubscribe()` that can be called to stop the synchronisation.\n\n<a name=\"ReduxQuerySync.enhancer\"></a>\n\n### ReduxQuerySync.enhancer()\nFor convenience, one can set up the synchronisation by passing an enhancer to createStore.\n\n**Example**\n```js\nconst storeEnhancer = ReduxQuerySync.enhancer({\n    params,\n    initialTruth,\n    replaceState,\n})\nconst store = createStore(reducer, initialState, storeEnhancer)\n```\n\nArguments to `ReduxQuerySync.enhancer` are equal to those for `ReduxQuerySync` itself, except that\n`store` can now of course be omitted. With this approach, you cannot cancel the synchronisation.\n","maintainers":[{"name":"treora","email":"gerben@treora.com"}],"time":{"modified":"2022-06-26T10:21:02.574Z","created":"2017-06-27T17:54:36.704Z","0.1.0":"2017-06-27T17:54:36.704Z","0.1.1":"2017-06-27T18:46:23.085Z","0.1.2":"2017-06-27T19:00:36.836Z","0.1.3":"2017-06-27T19:04:15.236Z","0.1.4":"2017-07-11T16:55:07.551Z","0.1.5":"2017-07-31T10:05:35.371Z","0.1.6":"2017-09-03T19:23:25.983Z","0.1.7":"2017-09-05T14:18:58.122Z","0.1.8":"2019-03-19T16:49:29.231Z","0.1.9":"2019-08-30T08:05:59.091Z","0.1.10":"2020-07-16T13:51:27.055Z"},"homepage":"https://github.com/Treora/redux-query-sync#readme","keywords":["redux","sync","url","location","query","search","parameters"],"repository":{"type":"git","url":"git+https://github.com/Treora/redux-query-sync.git"},"author":{"name":"Gerben","email":"gerben@treora.com"},"bugs":{"url":"https://github.com/Treora/redux-query-sync/issues"},"license":"Unlicense","readmeFilename":"Readme.md"}