{"_id":"qhistory","_rev":"9-2bc4db28c7768c9fb04e7a7da07d9ad3","name":"qhistory","description":"Wrap history with query support","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"qhistory","version":"1.0.0","description":"Wrap history with query support","main":"lib/index.js","module":"es/index.js","files":["lib","umd","es","LICENSE","*.md"],"scripts":{"prebuild":"rimraf lib umd es","build":"npm run build:lib && npm run build:umd && npm run build:min && npm run build:es","build:es":"cross-env BABEL_ENV=es babel ./src -d es","build:lib":"cross-env BABEL_ENV=cjs babel ./src -d lib","build:umd":"webpack --define process.env.NODE_ENV=\"'production'\" --output-filename=umd/qhistory.js","build:min":"webpack -p --optimize-minimize --output-filename=umd/qhistory.min.js","prepublish":"npm run build","test":"jest"},"repository":{"type":"git","url":"git://github.com/pshrmn/qhistory.git"},"keywords":["history","query","search"],"author":{"name":"Paul Sherman"},"license":"MIT","bugs":{"url":"https://github.com/pshrmn/qhistory/issues"},"homepage":"https://github.com/pshrmn/qhistory#readme","peerDependencies":{"history":">=4.0.0"},"dependencies":{"invariant":"^2.2.2"},"devDependencies":{"babel-cli":"^6.22.2","babel-core":"^6.22.1","babel-jest":"^18.0.0","babel-loader":"^6.2.10","babel-plugin-transform-export-extensions":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.22.0","babel-preset-es2015":"^6.22.0","cross-env":"^3.1.4","history":"^4.5.1","jest":"^18.1.0","qs":"^6.3.0","rimraf":"^2.5.4","webpack":"^2.2.1"},"gitHead":"491752576857b121c5f0cccbeb4b85b522e565d5","_id":"qhistory@1.0.0","_shasum":"3899ec603089ca53699e9f1e0bade5df6cd6da86","_from":".","_npmVersion":"3.8.7","_nodeVersion":"6.4.0","_npmUser":{"name":"pshrmn","email":"paul.sherman.88@gmail.com"},"dist":{"shasum":"3899ec603089ca53699e9f1e0bade5df6cd6da86","tarball":"https://registry.npmjs.org/qhistory/-/qhistory-1.0.0.tgz","integrity":"sha512-CqW92gDA58KjV0cQMPdUjm9qI79SC4BIlqsrB9eRK/4DAnbemNrgK3owcfiHCDTg4eDARtqEThHCkwxdbIJT6g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCd4UIFwCTjpZk0pYHQHxanWYCJHqGxuEdn1cR4yA9kKgIhAMO0LMfiW4TW7MFL619zqlXEjt39sf6YV7KW2qnvY0e6"}]},"maintainers":[{"name":"pshrmn","email":"paul.sherman.88@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/qhistory-1.0.0.tgz_1486794596400_0.03285856428556144"},"directories":{}},"1.0.1":{"name":"qhistory","version":"1.0.1","description":"Wrap history with query support","main":"lib/index.js","module":"es/index.js","files":["lib","umd","es","LICENSE","*.md"],"scripts":{"prebuild":"rimraf lib umd es","build":"npm run build:lib && npm run build:umd && npm run build:min && npm run build:es","build:es":"cross-env BABEL_ENV=es babel ./src -d es","build:lib":"cross-env BABEL_ENV=cjs babel ./src -d lib","build:umd":"webpack --define process.env.NODE_ENV=\"'production'\" --output-filename=umd/qhistory.js","build:min":"webpack -p --optimize-minimize --output-filename=umd/qhistory.min.js","prepublish":"npm run build","test":"jest"},"repository":{"type":"git","url":"git://github.com/pshrmn/qhistory.git"},"keywords":["history","query","search"],"author":{"name":"Paul Sherman"},"license":"MIT","bugs":{"url":"https://github.com/pshrmn/qhistory/issues"},"homepage":"https://github.com/pshrmn/qhistory#readme","peerDependencies":{"history":">=4.0.0"},"dependencies":{"invariant":"^2.2.2"},"devDependencies":{"babel-cli":"^6.22.2","babel-core":"^6.22.1","babel-jest":"^18.0.0","babel-loader":"^6.2.10","babel-plugin-transform-export-extensions":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.22.0","babel-preset-es2015":"^6.22.0","cross-env":"^3.1.4","history":"^4.5.1","jest":"^18.1.0","qs":"^6.3.0","rimraf":"^2.5.4","webpack":"^2.2.1"},"gitHead":"8440c541364932c4c99199553aac32fada1077b3","_id":"qhistory@1.0.1","_npmVersion":"6.1.0","_nodeVersion":"9.11.1","_npmUser":{"name":"pshrmn","email":"paul.sherman.88@gmail.com"},"dist":{"integrity":"sha512-nEBh2mg+DaAcuGNTnR1Hv/xhzJ5eRudfECEqmBwTIcWbxo0kA6K81DueeSaPkZwcmKxxqqEN+7WIO0PGpuslVw==","shasum":"e2e22e7212c22cd5450413b05abcf75f3fd0019c","tarball":"https://registry.npmjs.org/qhistory/-/qhistory-1.0.1.tgz","fileCount":7,"unpackedSize":20517,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbH+1ECRA9TVsSAnZWagAAApUP/jcom5jdUzOFTBP89HOB\nWSMy6iCcCBWb1uOvyQpyABz0I8joDy0gvZPV/slYLmhQ33zAQbUMMF/HL6WG\nqEU/zJ5TGJ5SqIJIRxe9/JFeFJteYiJGagBfmKc1KXAuHGWX9DGauG15I+RF\nI15H1UvAgNmX+Qtz38kVpbHs+9QaFZuADP57aMQ/V7KFwSpzVWcwMrwC6O9i\npUZVn593oWmz+mRoxrtFPGkrG2gSOIOqKFkcoAAtD1oYm6ZIH0imcgjYhUcu\nnAWzmUcqzulVZH6mm73w0ZV7ZRGTaQkUDdGNLvHgekdNW9WwTBb3SAcjbhj6\nbt5hI8ZVMAgiFxAoCq1EqkZFgSLKlAhE950OBUHVZhVs6n9uc8gwcCgqiyMi\nK/FhXV0WP8kqRxEQyZCvAKSUeob5v2Km/AC/WTDdnB+8dn8AFrRU5eqmd4D7\nKcX6fuuvcSSAu/H5tActx6tb7x5j5t7zbSG98TRhv1TyQwgISwCqSr0R9C3M\nAGdNG7lBrotL7DRooc3ElyzRs7uDL9EfLEQahRStaGBlHzCvUZlcWSuG3fS9\nG60LVvzQXOeaOdTaOlkbkItF333VbSgvNra1CZxMQfReLkHXoB/qypHypi3b\n+ilCCbkT+57RbMMFUHkX4gW4UH1iZKMiv9QkDMf6L7FKJUK5fEJguHyX6A2+\nyOpG\r\n=jZcM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVHclk+/AWZ0Wr0GoTD6V/ZJdE8XBwzyCZ8dMu3b4yrwIhAJR2+fdBbDCq+OwbGVk54g7EoJXbQav/7Jh76XwQemZL"}]},"maintainers":[{"name":"pshrmn","email":"paul.sherman.88@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/qhistory_1.0.1_1528819011318_0.9631548495277626"},"_hasShrinkwrap":false},"1.0.2":{"name":"qhistory","version":"1.0.2","description":"Wrap history with query support","main":"lib/index.js","module":"es/index.js","files":["lib","umd","es","LICENSE","*.md","index.d.ts"],"scripts":{"prebuild":"rimraf lib umd es","build":"npm run build:lib && npm run build:umd && npm run build:min && npm run build:es","build:es":"cross-env BABEL_ENV=es babel ./src -d es","build:lib":"cross-env BABEL_ENV=cjs babel ./src -d lib","build:umd":"webpack --define process.env.NODE_ENV=\"'production'\" --output-filename=umd/qhistory.js","build:min":"webpack -p --optimize-minimize --output-filename=umd/qhistory.min.js","prepublish":"npm run build","test":"jest"},"repository":{"type":"git","url":"git://github.com/pshrmn/qhistory.git"},"keywords":["history","query","search"],"author":{"name":"Paul Sherman"},"license":"MIT","bugs":{"url":"https://github.com/pshrmn/qhistory/issues"},"homepage":"https://github.com/pshrmn/qhistory#readme","peerDependencies":{"history":">=4.0.0"},"dependencies":{"invariant":"^2.2.2"},"devDependencies":{"babel-cli":"^6.22.2","babel-core":"^6.22.1","babel-jest":"^18.0.0","babel-loader":"^6.2.10","babel-plugin-transform-export-extensions":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.22.0","babel-preset-es2015":"^6.22.0","cross-env":"^3.1.4","history":"^4.5.1","jest":"^18.1.0","qs":"^6.3.0","rimraf":"^2.5.4","webpack":"^2.2.1"},"gitHead":"51f425c2c3ead844cecbfdc29250109513248abc","_id":"qhistory@1.0.2","_npmVersion":"6.1.0","_nodeVersion":"9.11.1","_npmUser":{"name":"pshrmn","email":"paul.sherman.88@gmail.com"},"dist":{"integrity":"sha512-RVOroJbJbW4Ykr8uZLxsmmylJrVKRSdS3wwIpGZkA9OOaQa+E3ZUEh2prVU0O/AWLu0FebZkxq7V4xkyNbmZGQ==","shasum":"b7d0671acd5a435b10ad7d74239f84b393bca423","tarball":"https://registry.npmjs.org/qhistory/-/qhistory-1.0.2.tgz","fileCount":8,"unpackedSize":20774,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbH+2MCRA9TVsSAnZWagAAW+kP/07UtxSw1V+s6LwsTE/C\n1Dl+0L6x3Or551OJwPmWU31z74xE7c+eoWJ8lwTP7rUujq7mlggjWGW26gVa\nE8EfVdeZROcQu3i6zoomC0p2r2I3aG72apWkrx6w7ej3F5yCjBmiIWsCibWu\nuKeiX5PA2atWX0mHngItPV5MiWsVNFnMqofZ6gQZXkSDUIF5fU6xAohMh38l\ngdxbau5rXHsbwQ36ZSUddm1C7HB2mRBd7jyCeHpL9PGRPJCl/Jsh5/OHyF78\n+SSbucHg1Y8QVzNh6nM66Sg5vHZ7gMQoDAatuTEc/5T7+LtoVJ96spQ8Zr1w\nlqHIP44A8ZA2Gwmrnm54UtQmxBjfME46aVhcWcAnYgd0W/o1mKIPXL9VPtpD\nHdZ8wzw9KDnVys0GypOWHcvJPsC05mATyWwaedK5wxG8YpvGUBAKNkHnp7gC\nYgL12gDhIKPYRqnS71r2VMlZcL1uvdUhveDLqYgcGu3lNO2S22i6jPLMZ75p\nH1QX0hsUWXn4FjUbJzz+PBI9YzaBkxbr/sCZWKiAxoJvkIsxql9Z4evU58Ao\n5GWxB69BwjkyX17OkDtaC7a7qHVw6wfq8eRRETrnyQRBLl7dOIcJbf0p+Mue\nYGvhBZ8N4bapZxAKHAdbhpKxdKPvdm3Xwb+3n31LS6NPUKV9MKeYbxGwXpfx\naX5g\r\n=QKvY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEILi9JCGmQELDEGvhJMda/830RWcgvlHXgQUgXTY8YSAiEA/R0H0AwK2D8yjobTPmSPNAIjiBlRl7LOZDHZuIWXINA="}]},"maintainers":[{"name":"pshrmn","email":"paul.sherman.88@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/qhistory_1.0.2_1528819084191_0.208204081732829"},"_hasShrinkwrap":false},"1.0.3":{"name":"qhistory","version":"1.0.3","description":"Wrap history with query support","main":"lib/index.js","module":"es/index.js","scripts":{"prebuild":"rimraf lib umd es","build":"npm run build:lib && npm run build:umd && npm run build:min && npm run build:es","build:es":"cross-env BABEL_ENV=es babel ./src -d es","build:lib":"cross-env BABEL_ENV=cjs babel ./src -d lib","build:umd":"webpack --define process.env.NODE_ENV=\"'production'\" --output-filename=umd/qhistory.js","build:min":"webpack -p --optimize-minimize --output-filename=umd/qhistory.min.js","prepublish":"npm run build","test":"jest"},"repository":{"type":"git","url":"git://github.com/pshrmn/qhistory.git"},"keywords":["history","query","search"],"author":{"name":"Paul Sherman"},"license":"MIT","bugs":{"url":"https://github.com/pshrmn/qhistory/issues"},"homepage":"https://github.com/pshrmn/qhistory#readme","peerDependencies":{"history":">=4.0.0"},"dependencies":{"invariant":"^2.2.2"},"devDependencies":{"babel-cli":"^6.22.2","babel-core":"^6.22.1","babel-jest":"^18.0.0","babel-loader":"^6.2.10","babel-plugin-transform-export-extensions":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.22.0","babel-preset-es2015":"^6.22.0","cross-env":"^3.1.4","history":"^4.5.1","jest":"^18.1.0","qs":"^6.3.0","rimraf":"^2.5.4","webpack":"^2.2.1"},"gitHead":"9f71de7f432ff68493c98ff75e095b7af5e0fd38","_id":"qhistory@1.0.3","_npmVersion":"6.4.1","_nodeVersion":"10.6.0","_npmUser":{"name":"pshrmn","email":"paul.sherman.88@gmail.com"},"dist":{"integrity":"sha512-fEihc5VureL8SOomljbKRVYUKAVmLce7xk5FUWMXHJ56Yb/9LG6SufsFX7n0rWaIy4xi2fZUfSjYMo5Us9d9fQ==","shasum":"f8f0fb8f5610304ca44be7ced87c74e1ea606a8f","tarball":"https://registry.npmjs.org/qhistory/-/qhistory-1.0.3.tgz","fileCount":8,"unpackedSize":20782,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCL5ZCRA9TVsSAnZWagAAmU4QAIivmWZcup0RM5yZAGE0\nRhi2fs4Ld+MrOOXDSBUJeKFApMBQ9+5DL95N7gWGTV1zdws7jyLfNxyQEX9h\nGT7ZfyUoT9E1jCDSZVw+pFTUL4QzM6I4dFiu6fKQZt5qk0LTP6EgNpXnTlwC\nM594SQLLEKFI3UN3O1mF5wAjd5Tff8XCQ+YqWQuNOlhq/YNCe88gbMtz5Kbu\nOWqNNFWvksw+3ETScYsyVOfEl3sg0s8kkgXI2T6SvHUZNksGUC5A0Tn87qjK\nNKxgG3zvcwDqSoMwh5fgn2zm9qPbjmoAeFSMXuoDMEId3utb1ETsPTEzDSvU\nfzbuqccXymaGxbBUFrTWg9V3RDkOfc+wFlDnKXpN1pUBjB+a/vj9k3lPnRQm\nAsQnUDXlOw97/104HdRWHL8R+5Zw3fsAyTa9CNMLsv8z3JnXcsAhsQIBjzIB\nN2KYZkq867fePsfCYl8vFKPWe3YEWineejVkwlN741sHqFHhIve8lqyqo0q8\n6s+iy0HahPYf1DWzSNtYx2no9ClkNzhC8fpRjojnUhhqsRaT5q0gaabVTtiE\nyS+t3HmRtS/sraPBfzlI8Nk3fjVUslV8kvyqaqRNs/yg0oPvYtEQrbIiyxQG\n3PJ2QNf7maABeVQRVnHWwaRnXsDi6Hx1XfO3iMXixpDxIFmxbLD6M22dpTOM\n6kOV\r\n=b4Ql\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDM+8BBrZNPW69GP0EjcI0W/YBlwgwomjcRJvTtIVZzBAIhAOi4RoiOh/XeF8RSna0mAgS0A60wO0ObvOUy/UH0gi2N"}]},"maintainers":[{"name":"pshrmn","email":"paul.sherman.88@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/qhistory_1.0.3_1544076889068_0.8348257320469021"},"_hasShrinkwrap":false},"1.1.0":{"name":"qhistory","version":"1.1.0","description":"Wrap history with query support","main":"lib/index.js","module":"es/index.js","scripts":{"prebuild":"rimraf lib umd es","build":"npm run build:lib && npm run build:umd && npm run build:min && npm run build:es","build:es":"cross-env BABEL_ENV=es babel ./src -d es","build:lib":"cross-env BABEL_ENV=cjs babel ./src -d lib","build:umd":"webpack --define process.env.NODE_ENV=\"'production'\" --output-filename=umd/qhistory.js","build:min":"webpack -p --optimize-minimize --output-filename=umd/qhistory.min.js","prepublish":"npm run build","test":"jest"},"repository":{"type":"git","url":"git://github.com/pshrmn/qhistory.git"},"keywords":["history","query","search"],"author":{"name":"Paul Sherman"},"license":"MIT","bugs":{"url":"https://github.com/pshrmn/qhistory/issues"},"homepage":"https://github.com/pshrmn/qhistory#readme","peerDependencies":{"history":">=4.0.0"},"dependencies":{"invariant":"^2.2.2"},"devDependencies":{"babel-cli":"^6.22.2","babel-core":"^6.22.1","babel-jest":"^18.0.0","babel-loader":"^6.2.10","babel-plugin-transform-export-extensions":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.22.0","babel-preset-es2015":"^6.22.0","cross-env":"^3.1.4","history":"^5.0.0","jest":"^18.1.0","qs":"^6.3.0","rimraf":"^2.5.4","webpack":"^2.2.1"},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2017 Paul Sherman\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"qhistory@1.1.0","dist":{"shasum":"aaede44588cd501fbbe493ad5feeae7f540ef5ba","integrity":"sha512-mb5x+kKmEVSnUAX/loL20Y0kr1l4RZf7Al0Z1aNlwRL7nZo/QE46lRzLDro6CTNKcSUjiTOSQuFGRk4sU+FRUQ==","tarball":"https://registry.npmjs.org/qhistory/-/qhistory-1.1.0.tgz","fileCount":12,"unpackedSize":22992,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfIcJdCRA9TVsSAnZWagAARFkP/2jyRucZZvadO0bRrBnb\ntG7y8shCVvhqgQRKv6rCjtzFuysXWIXcYuJUsyPOX2g9BhM3LPiU6rHLSMvx\nzpQFd4ENYew6ZOhFqnLZFV5vTsHbH3KCcdOd/pjmGXX7QsQnA8TfvFgcS+LT\nHePEATMF1II5C7GptatGovUHtkDaufmOVjaN46aKcvH7B+qyzF4VI1MqLHTm\nHs2PchDro6PBTl+HyiapnrND0+RnUI2UXEUMfq+AUfwC7B02Pn2m6weEbcof\nLe50tgTOPuVp50iAfH4bckwSB3v33QcjK/A6hY2R05yFRbt887CZz2eLixm9\n3K+huLtnokT0urBm1nOL7ZPsimgBTvYU0on+JCM9hwpt5MbJCnjRB2fUiH9E\nLrPKqCqzMsrqf7emLM2RRl/3e0rxbhA8zT+I/+ytq95UcZ7kGiJoMvXIS+4i\ntcG9e92okaCf9L7IurNV9+5GC6gWoY1ncGUCaHVoKXei+U3vxy8aeEXDfCkv\nxOUPEAey4BsVf7hp9nQ3UzZSjfhpHJMK82/R0Xxtoj7gzE16t+i3wtETqA8U\nUB6kU2rI18hkb7X8A2KNIXKIAcihegKf90J9Ktd7EHggGbTpmoKFkgNovGZ6\n0bcuaENkzZDkwVw5Z348StGKeV+9kqQDe3kpJEmnG1FeV6jZezJUMEeH6+NQ\nyHTy\r\n=FW4W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHdEgsfcSSgsSe6qw8/Albzcy34eNIPWDDDUc49laySaAiEA023pnMwrCo1w7fWFtdvdbfbrfj4OQh0SzSPUTro+WjQ="}]},"maintainers":[{"name":"pshrmn","email":"paul.sherman.88@gmail.com"}],"_npmUser":{"name":"hypnosphi","email":"talpa@yandex.ru"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/qhistory_1.1.0_1596047965212_0.5837788695877355"},"_hasShrinkwrap":false}},"readme":"# qhistory\n\nAdd query object support to [`history`](https://github.com/ReactTraining/history) library location objects.\n\nYou will need to supply `stringify` and `parse` methods.\n\n#### `stringify`\n\nA function that takes a query object and returns a search string.\n\n```js\nstringify({ occupation: 'computer' }) // 'occupation=computer'\n```\n\n#### `parse`\n\nA function that takes a search string and returns a query object.\n\n```js\nparse('stopDownloading=true') // { stopDownloading: 'true' }\n```\n\nThere are lots of different query string packages that you can choose from. Some popular ones include:\n\n* [`qs`](https://www.npmjs.com/package/qs)\n* [`query-string`](https://www.npmjs.com/package/query-string)\n* [`querystring`](https://www.npmjs.com/package/querystring)\n\nThere may be subtle differences in the way that each parses and stringifies, so you will need to determine which supports the features that you want.\n\n### Installation\n\n```\nnpm install --save qhistory\n```\n\n### Usage\n\n```js\nimport { createBrowserHistory } from 'history'\nimport qhistory from 'qhistory'\n\nimport { stringify, parse } from 'qs'\n\nconst history = qhistory(\n  createBrowserHistory({ /* history configuration options */ }),\n  stringify,\n  parse\n)\n```\n\n#### Usage with React Router\n\nThis can be used with React Router v4 to add query string support to location objects. If a location object has both a search string and a query object, the search string's value will be overwritten by the stringified query object.\n\n```js\nimport { Router } from 'react-router-dom'\nimport { createBrowserHistory } from 'history'\nimport qhistory from 'qhistory'\n\nimport { stringify, parse } from 'qs'\n\nconst history = qhistory(\n  createBrowserHistory({ /* history configuration options */ }),\n  stringify,\n  parse\n)\n\nrender((\n  <Router history={history}>\n    <App />\n  </Router>\n), document.getElementById('root'))\n```\n\n#### If you're using React Router 4's BrowserRouter you can incorporate qhistory like this:\n\n```js\nclass QueryRouter extends React.Component {\n  static propTypes = {\n    basename: PropTypes.string,\n    forceRefresh: PropTypes.bool,\n    getUserConfirmation: PropTypes.func,\n    keyLength: PropTypes.number,\n    children: PropTypes.node,\n    stringify: PropTypes.func,\n    parse: PropTypes.func,\n  }\n\n  history = qhistory(\n    createBrowserHistory(this.props),\n    this.props.stringify,\n    this.props.parse\n  )\n\n  render() {\n    return <Router history={this.history} children={this.props.children} />\n  }\n}\n\n// usage\nrender((\n  <QueryRouter stringify={stringify} parse={parse}>\n    <App />\n  </QueryRouter>\n), document.getElementbyId('root'))\n```\n","maintainers":[{"name":"pshrmn","email":"paul.sherman.88@gmail.com"}],"time":{"modified":"2022-06-25T04:08:11.857Z","created":"2017-02-11T06:29:56.644Z","1.0.0":"2017-02-11T06:29:56.644Z","1.0.1":"2018-06-12T15:56:51.362Z","1.0.2":"2018-06-12T15:58:04.272Z","1.0.3":"2018-12-06T06:14:49.223Z","1.1.0":"2020-07-29T18:39:25.419Z"},"homepage":"https://github.com/pshrmn/qhistory#readme","keywords":["history","query","search"],"repository":{"type":"git","url":"git://github.com/pshrmn/qhistory.git"},"author":{"name":"Paul Sherman"},"bugs":{"url":"https://github.com/pshrmn/qhistory/issues"},"license":"MIT","readmeFilename":"README.md","users":{"binki":true,"darrentorpey":true}}