{"_id":"@cpro-js/history-ui5","_rev":"3-6410292b4b9946453a280d8af437067f","name":"@cpro-js/history-ui5","dist-tags":{"latest":"4.0.0"},"versions":{"4.0.0":{"name":"@cpro-js/history-ui5","version":"4.0.0","publishConfig":{"access":"public"},"license":"MIT","main":"./dist/index.js","module":"./dist/index.modern.js","scripts":{"build":"rimraf dist && microbundle --sourcemap --tsconfig tsconfig.build.json --no-compress --format cjs,modern --jsx 'React.createElement' --jsxImportSource react --globals react/jsx-runtime=jsx","prepublish":"rimraf dist && microbundle --sourcemap --tsconfig tsconfig.build.json --no-compress --format cjs,modern --jsx 'React.createElement' --jsxImportSource react --globals react/jsx-runtime=jsx","test":"jest --passWithNoTests"},"dependencies":{"@types/history":"^4.7.8","history":"^4.9.0","tiny-invariant":"^1.0.2","tiny-warning":"^1.0.0"},"devDependencies":{"@types/jest":"^26.0.15","@types/react":"^17.0.19","@types/react-test-renderer":"^17.0.1","jest":"^26.6.0","microbundle":"^0.13.3","react":"^17.0.2","react-dom":"^17.0.2","react-test-renderer":"^17.0.2","reflect-metadata":"^0.1.13","rimraf":"^3.0.2","ts-jest":"^26.4.4","typescript":"^4.4.2"},"types":"./dist/index.d.ts","source":"./src/index.ts","gitHead":"6c4db956754d02174123e14b32f17fb22ed0a2fa","description":"> ui5 compatible implementation of react router's hash history implementation","_id":"@cpro-js/history-ui5@4.0.0","_nodeVersion":"14.17.5","_npmVersion":"lerna/4.0.0/node@v14.17.5+x64 (win32)","dist":{"integrity":"sha512-O4PxWGxNqazbCWol+AkzsAHVNm5qxisyZai/BsVQTYx9mcHOF9YR0qSz47pGXK/f/JoTGJmuuBK3KbHN7J6gIw==","shasum":"85f15e3a669107c68b779b5865f200973bd8d3b2","tarball":"https://registry.npmjs.org/@cpro-js/history-ui5/-/history-ui5-4.0.0.tgz","fileCount":14,"unpackedSize":86338,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2DcsCRA9TVsSAnZWagAA4ZIP/ij+R+CKnMa3wvX9nEsm\nrXtbeLTEQm8g7x+6a5IQr+U8nTCFvwPKX+PttlomySUswBrtP3yhYgHnMj3y\nxHvpxdrzXRVds1juC7jl98KTJuOV5vddi0WozJZDeIvHPWv76GyPH7o0PER9\nVc/wao6VD9I6cPKmzC5Sl+lvDaBC6spJJP3krw2V67ZzjQT44C7drU4Qu7QD\n+YQUVhmydySAmB8TB85hmERjzcA66gGM8vAjxWW9j5B43u5Y5t9HM+63j6+i\nLifgff/TkbKbc3YpsHH80yo2zK1HS54RTH6m9pN4PjA3lJD99R5+nxA/SN2w\n1KExCeMBIuYN7b/DsY1kZZ7Aoh0HlOIwbZ9Dg+GNqAngMkbcYSqkCDDEGwJ3\nJKNQZlbXUq+YepEYSOGu5FdWl6MOG88eNvCT1g+xsQ7xar/ULWG3P4TnfFvV\nk9XI5OLGO31ZUP2ymxfr2QS714+u2/yhJOOOXhU60QSFvNm5pWOac2LF0c6z\n+K362/hdVz72nG5TtZVS2WHjBFLS6BSzzHZvlhvS94beFwpVkFOkjclA9Jlf\nQkNAAu85rYmRSE38od/C+1n/STMvM3w5NYgw/1FaEfySOIfdjUsKzAvAeAaU\nzLiqDnvv7+9gWUUVC91xOOqWhsXCCcXz5lnUcUe+yfPDg76dC1tI/1xbQuES\nuJcx\r\n=tPoc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDc2A+kY8TFTaO9MhEa/9D9HiCzJW/vw05PloCUcTzxeAiEAmWcCCs3EfnwOT22zkEOYCA7Q110KLn1+/vx8okQtwkg="}]},"_npmUser":{"name":"zinserjan","email":"zinserjan@gmail.com"},"directories":{},"maintainers":[{"name":"zinserjan","email":"zinserjan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/history-ui5_4.0.0_1631278084349_0.15951232510482827"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-10T12:48:04.298Z","4.0.0":"2021-09-10T12:48:04.543Z","modified":"2022-04-05T01:33:30.947Z"},"maintainers":[{"email":"gedankengut@gmx.de","name":"texttechne"},{"email":"zinserjan@gmail.com","name":"zinserjan"}],"description":"> ui5 compatible implementation of react router's hash history implementation","license":"MIT","readme":"# @cpro-js/history-ui5\n\n> ui5 compatible implementation of react router's hash history implementation\n\nSupports the following versions:\n\n- react-router v5\n- history v4\n\n## Installation\n\n```\n$ yarn add @cpro-js/history-ui5\n```\n\n### Usage\n\nCreate your own instance of `history`\n\n```tsx\nimport { createUI5History } from \"@cpro-js/history-ui5\";\n\nconst ui5History = createUI5History();\n```\n\nand pass it to react-routers `Router` component:\n\n```tsx\nimport { Route, Router, Switch } from \"react-router-dom\";\n\nexport default function App() {\n  return (\n    <Router history={ui5History}>\n      {/* Your code */}\n    </Router>\n  );\n}\n```\n","readmeFilename":"README.md"}