{"_id":"@getaround-eu/use-route-params","_rev":"5-a6aea92603c2dce54ea6375c8dc7c8db","name":"@getaround-eu/use-route-params","dist-tags":{"latest":"1.0.4"},"versions":{"0.1.0":{"name":"@getaround-eu/use-route-params","version":"0.1.0","description":"A hook to get typed params from route","main":"index.js","author":{"name":"CPatchane","email":"code@patchane.com"},"license":"MIT","peerDependencies":{"react-router-dom":"^6.3.0"},"scripts":{"test":"vitest run --globals test.tsx","prebuild":"rm -rf dist/","build":"esbuild ./lib/index.tsx --bundle --outdir=dist && cp -rf ./package.json dist && cp -rf ./LICENSE dist && cp -rf ./README.md dist","postbuild":"tsc --project tsconfig-build.json","lint":"eslint ./lib && tsc --noEmit","build:publish":"yarn build && npx np --contents dist"},"devDependencies":{"@getaround-eu/eslint-config":"1.7.1","@getaround-eu/prettier-config":"1.2.0","@getaround-eu/ts-config":"2.1.0","@rushstack/eslint-patch":"1.1.4","@testing-library/react":"13.3.0","@types/node":"18.0.3","@types/react":"18.0.15","conditional-type-checks":"1.0.6","esbuild":"0.14.49","eslint":"8.19.0","jsdom":"20.0.0","np":"7.6.2","prettier":"2.7.1","react":"18.2.0","react-dom":"18.2.0","react-router-dom":"6.3.0","typescript":"4.7.4","vitest":"0.18.0"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"dependencies":{},"licenseText":"MIT License\n\nCopyright (c) 2022 Getaround\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"@getaround-eu/use-route-params@0.1.0","dist":{"shasum":"9d3d71b456c65f57f4f722a6e4a8cdca1d6bfda5","integrity":"sha512-F52DiJHcTeO09OGisrefpwJhPNKAJ3hDQwHgutfHlDM4v/T6gZ9FHDTywOC2yi3vwHorIP7CVOz3wlSqOvf5xA==","tarball":"https://registry.npmjs.org/@getaround-eu/use-route-params/-/use-route-params-0.1.0.tgz","fileCount":7,"unpackedSize":98058,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID030uWP7a1unmCNf6Cam+BYrSVdsc4pPUxIbkRd8XBcAiBH54PetInMk+5thfN1zHRC9vnKNtGccS4BEkQqw8WGtw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizECIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr+eQ//Z2uWwxAbe2uiOFqCrk3ILaXT9XlOgGvw5wAqfCt1kvF0rwLY\r\nD8BQpCGhkVvwIlvEWE/f8iTT9+XsNmogyeRALeXIzXJQ6BS6Eoer3jvOmEBU\r\nppF7evokSxUUp5v1V4PGwiRiuUjojDArP8KPHJp78HSpGrwZ5kWJzaVGaqwt\r\nVonhM45sFNMmkns9olMAAbIkbpMEjSxQpw/3yg8q0XcYYBsSq2l+1a9bpHKU\r\nvwCQAXO7WhpsavyxRY7ZlgjhJLXcLVYdOkAJJfxntCdoMl7j4JBXMYc7ZIgk\r\nSoogFS1jUNo9R73kA8LuA/lHYvMwxXJOGY1GL3aU7N+rq4YQfa0oz+l1P2eF\r\nPzRuSlb/YCJL8KAXOWIuwO3QsDDqutt4fd9q9q07HJIpel1wCk1bxRyk65Ct\r\nO0vMSbj9AGUtKW2RgHRb8OK2Zc7Qi3W3M/qZRC90s45EhN5crbPUWVwPJ8qL\r\nbhX6dZbPHa18osz4U/sMkPvcWw9Phnzde8aHc3lqv97oqfN5cEl6KqC4OSWf\r\nVlPiPOj0RXSdXBsJFmR5XZcHpWHVukmRY109f10kVIm3HZN9H7aptih/86ab\r\nuMunOpnsT2znR59uB5o/xrfWK6qKlPVogZcDj2wymC0Ig3dmij622hDhb0eD\r\nkYZ1c1lqEx1ACxY74pnEzlaTSYn8I7hHdRg=\r\n=YriG\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cpatchane","email":"npm@patchane.com"},"directories":{},"maintainers":[{"name":"cpatchane","email":"npm@patchane.com"},{"name":"getaround-root","email":"npmjs@getaround.email"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-route-params_0.1.0_1657553032141_0.4824714137187296"},"_hasShrinkwrap":false},"1.0.0":{"name":"@getaround-eu/use-route-params","version":"1.0.0","description":"A hook to get typed params from route","main":"index.js","author":{"name":"CPatchane","email":"code@patchane.com"},"license":"MIT","peerDependencies":{"react-router-dom":"^6.3.0"},"scripts":{"test":"vitest run --globals test.tsx","prebuild":"rm -rf dist/","build":"esbuild ./lib/index.tsx --bundle --outdir=dist && cp -rf ./package.json dist && cp -rf ./LICENSE dist && cp -rf ./README.md dist","postbuild":"tsc --project tsconfig-build.json","lint":"eslint ./lib && tsc --noEmit","build:publish":"yarn build && np --contents dist"},"devDependencies":{"@getaround-eu/eslint-config":"1.7.1","@getaround-eu/prettier-config":"1.2.0","@getaround-eu/ts-config":"2.1.0","@rushstack/eslint-patch":"1.1.4","@testing-library/react":"13.3.0","@types/node":"18.0.3","@types/react":"18.0.15","conditional-type-checks":"1.0.6","esbuild":"0.14.49","eslint":"8.19.0","jsdom":"20.0.0","np":"7.6.2","prettier":"2.7.1","react":"18.2.0","react-dom":"18.2.0","react-router-dom":"6.3.0","typescript":"4.7.4","vitest":"0.18.0"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"keywords":["react-router","react-router-dom","react","router","typescript","params","url","hook","typed","use-params"],"licenseText":"MIT License\n\nCopyright (c) 2022 Getaround\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"@getaround-eu/use-route-params@1.0.0","dist":{"shasum":"4027c660b9dba4751f33555c3f038b46bf8fa2c5","integrity":"sha512-p6vvYGNI1gy+J6Ol/ININUaslXjVg+FXv21aCqXrdqrAJPMy3DVL0H1aiJitotzJ6VAn/JHzRa2+UNywBxdg6Q==","tarball":"https://registry.npmjs.org/@getaround-eu/use-route-params/-/use-route-params-1.0.0.tgz","fileCount":7,"unpackedSize":98249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOroU26e1KNlki2kNWEzO4UqpdBmcZ2tKrE+BYwz6kZwIhAMyDrbTPcBrl6f5gV1KCTkn19AjDXo4W4LUDHHQeR6+q"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizEkyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqjvg//daTfnbF3doOwFkSZWDpWK2hiPcVQqq3hhwRHv+OAgiQRDCyr\r\nmgJR0VZmHiUsCvoi0UbWxHFOjYlFdUreYENY73KyLy3q8payGwANs7OYjhKr\r\nXG5G2LiWt2AQsGOa66TC+toApuG92FMPkU+IoShjMO9bIaKICD9Y+cfQCMyT\r\nlzbPzzxKzmU0nEPWKJbqW11R/jt9gGQvFfkRgweSTIc12ifEfbLV1eyh9STV\r\nmTRsH/p+SBJ7LIvpmyUu3fKYh9/lre5pS8XKH/XrJa0JUui7Hb+PjT9SgaR+\r\n5LawyIwJxaudpR5fPImJaNm3UHqjyB0jxJPclKMLWXT4B26fuQi4UlaPL+KZ\r\nz+aWZ5FZ9Qv0FN7aiVSaq5WmmtzGgSAA51TlJGn7J0mg4OtE4242xEioT/py\r\nuhSwgrZdWHuKh0itjKBLD5/T1B5sV/dTErJQ+PivF0vfwth7d4ZR7XFgCrZ9\r\noHT5+gc/x42KcDwSln5WywIdlYCv4mOziWET0xiKCdkbn9hyPg1dylHb8iI6\r\n+tslJ/vbVSQtebeeesE9VoBEGwTKtFZYAlN2IP5TDRvhWQZMqQU3LXYSxNCg\r\nUPRKQUM20N1xAn9F6ciefsEiPOWPqM5u2pzp1qrp2wmSNDGlL3ECTBSySsoG\r\na27PYnL9+sgSynIFRoNvWG1nfsitag2P0dI=\r\n=XIJU\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cpatchane","email":"npm@patchane.com"},"directories":{},"maintainers":[{"name":"cpatchane","email":"npm@patchane.com"},{"name":"getaround-root","email":"npmjs@getaround.email"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-route-params_1.0.0_1657555250130_0.14435809243049924"},"_hasShrinkwrap":false},"1.0.1":{"name":"@getaround-eu/use-route-params","version":"1.0.1","description":"A hook to get typed params from route","main":"index.js","author":{"name":"CPatchane","email":"code@patchane.com"},"license":"MIT","peerDependencies":{"react-router-dom":"^6.3.0"},"scripts":{"test":"vitest run --globals test.tsx","prebuild":"rm -rf dist/","build":"esbuild ./lib/index.tsx --bundle --outdir=dist --external:react-router-dom && cp -rf ./package.json dist && cp -rf ./LICENSE dist && cp -rf ./README.md dist","postbuild":"tsc --project tsconfig-build.json","lint":"eslint ./lib && tsc --noEmit","build:publish":"yarn build && np --contents dist"},"devDependencies":{"@getaround-eu/eslint-config":"1.7.1","@getaround-eu/prettier-config":"1.2.0","@getaround-eu/ts-config":"2.1.0","@rushstack/eslint-patch":"1.1.4","@testing-library/react":"13.3.0","@types/node":"18.0.3","@types/react":"18.0.15","conditional-type-checks":"1.0.6","esbuild":"0.14.49","eslint":"8.19.0","jsdom":"20.0.0","np":"7.6.2","prettier":"2.7.1","react":"18.2.0","react-dom":"18.2.0","react-router-dom":"6.3.0","typescript":"4.7.4","vitest":"0.18.0"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"keywords":["react-router","react-router-dom","react","router","typescript","params","url","hook","typed","use-params"],"licenseText":"MIT License\n\nCopyright (c) 2022 Getaround\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"@getaround-eu/use-route-params@1.0.1","dist":{"shasum":"5bd8aa1375ac62784a68bd41cc3b6543b6f5a4ba","integrity":"sha512-GtV4xwX3DxadTyPpq+6r0IBLJvMTu+sl6We8ABiG3dxPPy2DohoQTadjGqAO8AvVIOVXv0U5LW9GWqewlc+lJg==","tarball":"https://registry.npmjs.org/@getaround-eu/use-route-params/-/use-route-params-1.0.1.tgz","fileCount":7,"unpackedSize":6086,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDctA26k1bxh0q00bu8Yn3iLVZJjkUR3P27a4LeEk1piQIgGgEUqHAhUFHPP9kxkYu2iBJSVQNdBLumTfp3RxjGdyc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizEn+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrQwg/9GBkhq5qA6nqVfmdZhnRHcvz5c6t0/xbD8XmdDpSAmCymTMbD\r\nyF69OWU7QtBr0+Qc7AxwMp20mikuDD4uvZg2aFuqwO4dEGT8DP45O1oqZ0ot\r\nDDZaD3qOPux4ntyWoVA1sbbt5oMzgNq9sKwT4w/4jzRNEE99EWzXyO3btY5H\r\nKaLMGYDC75rE2gXLEtdVX0+kDcYKMCO6BaLAiMTDYLAkVNfPqSI46Lk9A6Pg\r\nMpxLwNdmuBtOlz5uvW+/Qy+QortiJwhOQWgnEtX6YS79Bkrd3d0s6lHlttNW\r\nIhdUFj6Dhp+n/e51d3f/F1D1+WsoaFVWFq+hPegUBlSoR1fVxk5xNt2xTsKH\r\n3gGWoCvNkcK+gerzl0veBUcR1Tt1VEDDmEKvy/Zduul/E0kVwIHTQQ9AMxte\r\nPF15hjx1K3pVfpf+7ZBRkPJXFiDKA8ptuHfVQGUN8s0Zep2tAvSUzYzC7uxH\r\ndfsfqu1qFYvpYRQu0SVlWGApglBnMWP9DrVsneQxppdQeGv4aL4PneJWE9J8\r\nCGoUL38mFrebQ45o2GETh10IrRkBVNhu31z8XK6CijmUkfPmMlSNjwaY4c4c\r\nlEPqH+zvcLarpaf51+pKLGCByTA6KTsinZzYnHkrPuiZuOsQADKiobY2gxLW\r\nRdE7Mn9NQMi3NEyq0ZxcqF+eh43Bt+0WJyk=\r\n=IZ5B\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cpatchane","email":"npm@patchane.com"},"directories":{},"maintainers":[{"name":"cpatchane","email":"npm@patchane.com"},{"name":"getaround-root","email":"npmjs@getaround.email"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-route-params_1.0.1_1657555454438_0.013534347850283623"},"_hasShrinkwrap":false},"1.0.2":{"name":"@getaround-eu/use-route-params","version":"1.0.2","description":"A hook to get typed params from route","main":"index.js","module":"index.js","types":"types/index.d.ts","author":{"name":"CPatchane","email":"code@patchane.com"},"license":"MIT","peerDependencies":{"react-router-dom":"^6.3.0"},"scripts":{"test":"vitest run --globals test.tsx","prebuild":"rm -rf dist/","build":"esbuild ./lib/index.tsx --bundle --outdir=dist --external:react-router-dom && cp -rf ./package.json dist && cp -rf ./LICENSE dist && cp -rf ./README.md dist","postbuild":"tsc --project tsconfig-build.json","lint":"eslint ./lib && tsc --noEmit","build:publish":"yarn build && np --contents dist"},"devDependencies":{"@getaround-eu/eslint-config":"1.7.1","@getaround-eu/prettier-config":"1.2.0","@getaround-eu/ts-config":"2.1.0","@rushstack/eslint-patch":"1.1.4","@testing-library/react":"13.3.0","@types/node":"18.0.3","@types/react":"18.0.15","conditional-type-checks":"1.0.6","esbuild":"0.14.49","eslint":"8.19.0","jsdom":"20.0.0","np":"7.6.2","prettier":"2.7.1","react":"18.2.0","react-dom":"18.2.0","react-router-dom":"6.3.0","typescript":"4.7.4","vitest":"0.18.0"},"repository":{"type":"git","url":"git+https://github.com/drivy/use-route-params.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"keywords":["react-router","react-router-dom","react","router","typescript","params","url","hook","typed","use-params"],"licenseText":"MIT License\n\nCopyright (c) 2022 Getaround\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"@getaround-eu/use-route-params@1.0.2","dist":{"shasum":"9baee1ab35e870bfd3ce5d2c54563b057b3e1775","integrity":"sha512-5pFhtcAPLIbaLdZDUbtmqAuMRBQGWsTL8mkGS0crIbCHrkC/PA0K5PU1A9t2EZca5dv7GrgSqhXGCWdf+FTNEA==","tarball":"https://registry.npmjs.org/@getaround-eu/use-route-params/-/use-route-params-1.0.2.tgz","fileCount":7,"unpackedSize":6246,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqEESRHt671rj1aKf8RrU4wsMrR5t8VfvZG7u37XgxfAIgO731UfTSpyF97Sm5zyr68flwR4S7yZsByhBogbrdQyM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizEqiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrnehAAk1IlfQjdBq8rsCkVHqJMMtCT94fD+DVurqz5s7UkEG3FHhNc\r\nkYdItSw7YPn8WerrpM+1xgJ0+Elhfj3pXiTt6fHjjAcRDqo4/rwTTftPNFld\r\n6RUCqHMSUAGGELAZdn8SACn4ceYjOSfiA4lYX+6eNgJObwIWCPhZws3zZfBC\r\nKWq8JH97qSbX/rWoVAv5PqWuWBNBDl9IgxTlN2wUtjhHOnIlN7PTxmlBTMex\r\n8yx1aL93RWg2Vys9rcYKRAtMfpJ9liBYNfIMjcrMctXxuSd4tlrFSp5h6HHF\r\nXzZDdVFh4zSMLsbaJUZAgQzFsoGTOY3iEhFHwEGzb8slc++9MHkwf5JULtz1\r\neXAadO14nVuJIPx0YgbR1LbU4Jj4guaNkmWRBi7e98Y4gUPwuHQlIRFTPbtb\r\nQEqEG5WZJMwWL1a4jYgzt/C7vRLu6RdZsLpbEx+EFiZCiuvLM7G19/pPAJAl\r\n7k2lVI9hmGqBAi4n5rqRDDa21LZGuwS7kQEviZoGKCy4QXDEyyFCTscyndvi\r\njtCWUSqKxyHdpSN0zxt1XP2e2QjAI0u93gHLByCdl0JIqw2RgHvzDbGiRK9y\r\nIl1TTBz+xK05qpHIt5XO81FQwKIQA0msDXBqij1u5AtUKWaNDlUyHMCsoTw0\r\nJ69P9XTBZbhkTJlQZ6ivltyNAhOaCSGUIps=\r\n=fyjW\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cpatchane","email":"npm@patchane.com"},"directories":{},"maintainers":[{"name":"cpatchane","email":"npm@patchane.com"},{"name":"getaround-root","email":"npmjs@getaround.email"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-route-params_1.0.2_1657555617861_0.8770118826031292"},"_hasShrinkwrap":false},"1.0.3":{"name":"@getaround-eu/use-route-params","version":"1.0.3","description":"A hook to get typed params from route","main":"index.js","module":"index.js","types":"types/index.d.ts","author":{"name":"CPatchane","email":"code@patchane.com"},"license":"MIT","peerDependencies":{"react-router-dom":"^6.3.0"},"scripts":{"test":"vitest run --globals test.tsx","prebuild":"rm -rf dist/","build":"esbuild ./lib/index.tsx --bundle --outdir=dist --external:react-router-dom && cp -rf ./package.json dist && cp -rf ./LICENSE dist && cp -rf ./README.md dist","postbuild":"tsc --project tsconfig-build.json","lint":"eslint ./lib && tsc --noEmit","build:publish":"yarn build && np --contents dist"},"devDependencies":{"@getaround-eu/eslint-config":"1.7.1","@getaround-eu/prettier-config":"1.2.0","@getaround-eu/ts-config":"2.1.0","@rushstack/eslint-patch":"1.1.4","@testing-library/react":"13.3.0","@types/node":"18.0.3","@types/react":"18.0.15","conditional-type-checks":"1.0.6","esbuild":"0.14.49","eslint":"8.19.0","jsdom":"20.0.0","np":"7.6.2","prettier":"2.7.1","react":"18.2.0","react-dom":"18.2.0","react-router-dom":"6.3.0","typescript":"4.7.4","vitest":"0.18.0"},"repository":{"type":"git","url":"git+https://github.com/drivy/use-route-params.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"keywords":["react-router","react-router-dom","react","router","typescript","params","url","hook","typed","use-params"],"licenseText":"MIT License\n\nCopyright (c) 2022 Getaround\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"@getaround-eu/use-route-params@1.0.3","dist":{"shasum":"f33f0a90d42e64d4a62a4bea4b564c14861bbcf9","integrity":"sha512-XF5a6F6U8zMUj366NSva2FqcIK46YNFur/EM2jY1j0AalWoL3mHxDakVSaZNv9B1araNMGEsINHArfXZ8k7kzA==","tarball":"https://registry.npmjs.org/@getaround-eu/use-route-params/-/use-route-params-1.0.3.tgz","fileCount":7,"unpackedSize":6263,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCS6qFs3lB4PQZctLhoGUwzz3qJcitzo6Kwkl5y2z3loAIhAOGrInof3MGri88wCqAV6rb3Nc1snJ0eBwsL3uZO01UD"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizEwBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpwww//ZHSDzuo91yH6r5Jt+9lcAYbhCJzhCSAsatCG0AVlOjTZQBu4\r\ne5L9mw1ATo67ljR0tsm4/lkdS9HwWduZ63K3EIoiUhcQ/XHrKafaWgsF2cPU\r\ndiCabEb5iXvHu/rWI+thElOWHHlBLVoxzSLyxslX5i/JxOWrTLnJSiB0QTVF\r\n42WIGc90ibalmbqJJtBAqAQ+LbWKKqyH/KKsqSc+RHgspWaZH2FH5iu1jOA4\r\nvoeIKXGVH7b75UVTrZflDXQOrCVWYyufTPjIMa1JZMlRr6oTO8Za86TgdDYJ\r\niApWYLTV3M20tuULHJWU0LW/iXtg/pWj0KeFdK66byv7M2jxc2aHnpArQVin\r\nqszexMPIBJJKkkVwTCJXWaWZBQyPVZNRY6/gpNir+eYFMDCoHmOU5Ejb9dWr\r\nIztSedGL7PQ5bqq0QaZbhHd4K5Nwk/Zoi0piQTIgFi7psitDPNUFWCDSCKFX\r\nz6KgRiyER/p7IemIAWMWlUbybfeN4muTVMyx+h9R8aprYq5cBZCgsmwOROIS\r\nPrmc+euyS0E4WAMzxdAFNhhlmRHBijl74rUxvemi8d4V4ARHI0UksDRr4oli\r\nOjjOkL4ghtsaTD4lPFc/kxI9+97yK9eHna9nC8yjrH0yQveU0aq6DbAPdcU7\r\nIU7Nyz2sHudGN6Xv2KvEGA1pxKmQVI8hY34=\r\n=ZXug\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cpatchane","email":"npm@patchane.com"},"directories":{},"maintainers":[{"name":"cpatchane","email":"npm@patchane.com"},{"name":"getaround-root","email":"npmjs@getaround.email"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-route-params_1.0.3_1657555969129_0.33278375469879773"},"_hasShrinkwrap":false},"1.0.4":{"name":"@getaround-eu/use-route-params","version":"1.0.4","description":"A hook to get typed params from route","main":"index.js","module":"index.mjs","types":"types/index.d.ts","author":{"name":"CPatchane","email":"code@patchane.com"},"license":"MIT","peerDependencies":{"react-router-dom":"^6.3.0"},"scripts":{"test":"vitest run --globals test.tsx","prebuild":"rm -rf dist/","build:cjs":"esbuild ./lib/index.ts --bundle --outdir=dist --external:react-router-dom --format=cjs","build:mjs":"esbuild ./lib/index.ts --bundle --outdir=dist --external:react-router-dom --format=esm --out-extension:.js=.mjs","build":"yarn build:cjs && yarn build:mjs && cp -rf ./package.json dist && cp -rf ./LICENSE dist && cp -rf ./README.md dist","postbuild":"tsc --project tsconfig-build.json","lint":"eslint ./lib && tsc --noEmit","build:publish":"yarn build && np --contents dist"},"devDependencies":{"@getaround-eu/eslint-config":"1.7.1","@getaround-eu/prettier-config":"1.2.0","@getaround-eu/ts-config":"2.1.0","@rushstack/eslint-patch":"1.1.4","@testing-library/react":"13.3.0","@types/node":"18.0.3","@types/react":"18.0.15","conditional-type-checks":"1.0.6","esbuild":"0.14.49","eslint":"8.19.0","jsdom":"20.0.0","np":"7.6.2","prettier":"2.7.1","react":"18.2.0","react-dom":"18.2.0","react-router-dom":"6.3.0","typescript":"4.7.4","vitest":"0.18.0"},"repository":{"type":"git","url":"git+https://github.com/drivy/use-route-params.git"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"keywords":["react-router","react-router-dom","react","router","typescript","params","url","hook","typed","use-params"],"licenseText":"MIT License\n\nCopyright (c) 2022 Getaround\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"@getaround-eu/use-route-params@1.0.4","dist":{"shasum":"ad1cb2168f3fedc07cf6746b76d2ecb58dd06938","integrity":"sha512-CuaT7bA9farzLDOdYU8/HCC+lnffMH9/mLBTeEnEBBhRufzeUU+gtuxPhHguS5baTogDulI6MIsDjRcgcOKqxg==","tarball":"https://registry.npmjs.org/@getaround-eu/use-route-params/-/use-route-params-1.0.4.tgz","fileCount":7,"unpackedSize":7076,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/X1pKLY6Kd35LGZI2eXTElcew3k+jsbWhlCC4hF2qsAIhAOkKfwUtB7sW4Uw6GZjNU8cv4DJ/Se6mVmLv+SkEYn+m"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjtu0FACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo4Aw//a91MO6r1UD7y8i7HjYv0G0na1cQnEHIXzmqghHxf01GPJ0s+\r\nNklwvLe27QrimJKZUVvRv4JJeGco4bdk42NJDbCX6uDCPIybABIMVyKnMx0S\r\nz4ECZ6GI10BFMAu6SoynIMU/rlXoJy0NgzOl2AKpJSPYziiU3M+aq2UUitVH\r\nIFXHzcx3K0XqOCRjMhstrqWlVt7EHefs7OUjUliYUq8WrX90fKq9C6Q1O0dq\r\nH2eOAGJi4FqiIfrdSlHq15YLQeexJJQrr22qySneK+MlPgOjMUhFvzjwmPfR\r\n1/EgdMYguodmI5PIWkdof6HJ2NgkxdeoqKEMSc4s01kUiuvhqe6kw3ovkeHR\r\nG3WKtMoFcMM0mfL39xaCUVu6v3r8r9yPeFmjttoC3PQeybjf18a0RQ8+1Byk\r\n5sDU4WRZ6Ea9PZZgbeG/iqtgWecF08uKel33guqnMIDaU48yv2h2DB8AbZlJ\r\nz3JQa7Q+nsYD1s3iVe0HIU/mbO975SPxsftZYAT9V/E/R+f6qb95lq/ZhL8P\r\nFmNnZkRk0kAj/MH/Ca/vUbbGyB+ThKXsowtXjDcnCf+MJFTOqrDQSDr06FM6\r\n7LEm2fTA5qlbPAQFiIQCXHAC1xdALgHOm105l27SqaPbfvvtXjCM4jr8Vvuz\r\nB3f0wbYv0hWPFHryo4F/ogKKjW4GCvcttD8=\r\n=yv+w\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cpatchane","email":"npm@patchane.com"},"directories":{},"maintainers":[{"name":"cpatchane","email":"npm@patchane.com"},{"name":"getaround-root","email":"npmjs@getaround.email"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-route-params_1.0.4_1672932613319_0.8407628870686104"},"_hasShrinkwrap":false}},"time":{"created":"2022-07-11T15:23:52.061Z","0.1.0":"2022-07-11T15:23:52.322Z","modified":"2023-01-05T15:30:13.635Z","1.0.0":"2022-07-11T16:00:50.311Z","1.0.1":"2022-07-11T16:04:14.618Z","1.0.2":"2022-07-11T16:06:58.110Z","1.0.3":"2022-07-11T16:12:49.312Z","1.0.4":"2023-01-05T15:30:13.514Z"},"maintainers":[{"name":"cpatchane","email":"npm@patchane.com"},{"name":"getaround-root","email":"npmjs@getaround.email"}],"description":"A hook to get typed params from route","author":{"name":"CPatchane","email":"code@patchane.com"},"license":"MIT","readme":"<h1 align=\"center\">@getaround-eu/use-route-params</h1>\n\n<div align=\"center\">\n  <a href=\"https://github.com/drivy/use-route-params/blob/main/LICENSE\">\n    <img src=\"https://badgen.net/npm/license/@getaround-eu/use-route-params\" alt=\"license\" />\n  </a>\n  <a href=\"https://npmjs.com/package/@getaround-eu/use-route-params\">\n    <img src=\"https://badgen.net/npm/v/@getaround-eu/use-route-params\" alt=\"package version\" />\n  </a>\n</div>\n\n<p align=\"center\">Get your params typed from the route</p>\n\n### What's it?\n\n`useRouteParams` is a hook which, used with [`react-router-dom v6`](https://github.com/remix-run/react-router/tree/main/packages/react-router-dom), allows you to directly get the typed params from a provided route path.\n\n### Install\n\nSupposing that you __already have `react-router-dom` installed__:\n\n```shell\nyarn add @getaround-eu/use-route-params\n# or\nnpm -i @getaround-eu/use-route-params\n```\n\n### Usage\n\n```typescript\nimport useRouteParams from \"@getaround-eu/use-route-params\"\n\nconst MY_COMPONENT_PATH = \"/here/:is/:a/route/toMyComponent\"\n\n\nconst MyComponent = () => {\n  const { a, is } = useRouteParams(MY_COMPONENT_PATH)\n\n  return (...)\n}\n\n// This way the route is always bound to the component\nMyComponent.routePath = MY_COMPONENT_PATH\n\nexport default MyComponent\n\n```\n\n## What is Getaround?\n\nGetaround connects safe, convenient and affordable cars with people who need them to live and work. **We aim to create the world's best carsharing marketplace that make sharing vehicles superior to owning them**. Our community includes people who rely on our cars for on-demand mobility, and owners who share cars on our platform, including those who operate their own carsharing businesses.\n\nOur vision is to make our cities and communities better places to live by:\n- Empowering people with convenient access to the cars they need, whenever they need them.\n- Improving mobility by relieving congestion and making public transit easier to use.\n- Protecting our environment by reducing pollution and advancing sustainable energy.\n\nAs a reminder the biggest carbon emitter in most countries are the cars, and this is what we have an impact on at Getaround.\n\nYou can [learn more about Getaround on our tech blog](https://getaround.tech/about/).\n","readmeFilename":"README.md","keywords":["react-router","react-router-dom","react","router","typescript","params","url","hook","typed","use-params"],"repository":{"type":"git","url":"git+https://github.com/drivy/use-route-params.git"}}