{"_id":"@blcklab/porma-router","name":"@blcklab/porma-router","dist-tags":{"rc":"0.1.0-rc.3","latest":"0.1.0-rc.3"},"versions":{"0.1.0-rc.3":{"name":"@blcklab/porma-router","version":"0.1.0-rc.3","description":"Optional router package for Porma .blck apps.","type":"module","license":"MIT","sideEffects":false,"keywords":["porma","router","frontend","blck"],"exports":{".":{"types":"./src/index.d.ts","import":"./src/index.js","default":"./src/index.js"}},"types":"./src/index.d.ts","peerDependencies":{"@blcklab/porma":"0.1.0-rc.3"},"scripts":{"test":"node --test test/*.test.js","pack:dry-run":"npm pack --dry-run"},"repository":{"type":"git","url":"git+https://github.com/blcklab/porma.git","directory":"packages/porma-router"},"bugs":{"url":"https://github.com/blcklab/porma/issues"},"homepage":"https://github.com/blcklab/porma#readme","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"gitHead":"898704b402991eb2f7bf54ac88612b88c757fb9c","_id":"@blcklab/porma-router@0.1.0-rc.3","_nodeVersion":"24.19.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-OkSCTonuB4JD0PD3/fWmUw4b8UDWKIBubG7U8ZypkAZDNSMzCfqzbL0YyDMlFc/6FXFYpTNv43PTGgMBe8sqZA==","shasum":"aab8867c8a8fc4176b5cf224cac1f0137c9ac279","tarball":"https://registry.npmjs.org/@blcklab/porma-router/-/porma-router-0.1.0-rc.3.tgz","fileCount":5,"unpackedSize":13758,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@blcklab%2fporma-router@0.1.0-rc.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEYAHrcjbont9/XqvOPxFcxvo7lzbAS0nLJwAA97QL4sAiBDjbncBypz7Efo7NJy+fn6qyux8q6ObkcV3FwYimrN/Q=="}]},"_npmUser":{"name":"okarin_lab","email":"avelurs.billy@gmail.com"},"directories":{},"maintainers":[{"name":"okarin_lab","email":"avelurs.billy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/porma-router_0.1.0-rc.3_1786027109577_0.6510093483875279"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-06T14:38:29.374Z","0.1.0-rc.3":"2026-08-06T14:38:29.717Z","modified":"2026-08-06T14:38:30.145Z"},"maintainers":[{"name":"okarin_lab","email":"avelurs.billy@gmail.com"}],"description":"Optional router package for Porma .blck apps.","homepage":"https://github.com/blcklab/porma#readme","keywords":["porma","router","frontend","blck"],"repository":{"type":"git","url":"git+https://github.com/blcklab/porma.git","directory":"packages/porma-router"},"bugs":{"url":"https://github.com/blcklab/porma/issues"},"license":"MIT","readme":"# @blcklab/porma-router\n\nOptional client-side router for Porma apps.\n\n```bash\nnpm install @blcklab/porma-router\n```\n\n```js\nimport { mount } from '@blcklab/porma/dom'\nimport { createRouter } from '@blcklab/porma-router'\nimport App from './App.blck'\nimport Home from './pages/Home.blck'\nimport About from './pages/About.blck'\n\nconst router = createRouter({\n  routes: [\n    { path: '/', component: Home },\n    { path: '/about', component: About }\n  ]\n})\n\nmount(App, '#app', {\n  plugins: [router]\n})\n```\n","readmeFilename":"README.md","_rev":"1-3735ddf69b59596e2bfaa726f2f4d0ce"}