{"_id":"@rzl-zone/ziggy-route","_rev":"41-d0e623d69905c8a23fecee281e410d35","name":"@rzl-zone/ziggy-route","dist-tags":{"latest":"0.0.15"},"versions":{"0.0.2":{"name":"@rzl-zone/ziggy-route","version":"0.0.2","keywords":["laravel","routes","javascript","typescript","rzl","app","utils","utility","helper","helpers","library","functions","ziggy","rzl-app","ziggy js","rzl-zone","rzl-ziggy","ziggy-route","@rzl-zone/ziggy-route"],"author":{"name":"RZL"},"license":"MIT","_id":"@rzl-zone/ziggy-route@0.0.2","maintainers":[{"name":"rzlzone","email":"rizalvindwiky1998@gmail.com"}],"homepage":"https://github.com/rzl-zone/ziggy-route#readme","bugs":{"url":"https://github.com/rzl-zone/ziggy-route/issues"},"dist":{"shasum":"f4fefe5cc1351fef61e32fab2df5d241a927bda1","tarball":"https://registry.npmjs.org/@rzl-zone/ziggy-route/-/ziggy-route-0.0.2.tgz","fileCount":18,"integrity":"sha512-jCM2Tra6HrjE0YAGImYGjuUrFi4B1vdC402oFWCY7dEgvKuLfXaNw/43qejWpTl2RB1Tkv6QjkZ9dpedTobznQ==","signatures":[{"sig":"MEYCIQCmnAsN4u7IoWlQzEUdmbvkbI44RLZS+5GPIJ6rGApDVAIhAMgwS0wDD9qA0KzRN0gmiAyLmvvvaPd8tv6/ZwYUQu3W","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@rzl-zone%2fziggy-route@0.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":158021},"main":"./dist/index.esm.js","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/rzl-ziggy.iife.js","mangle":{"regex":"^_(?!query)"},"module":"./dist/index.esm.js","authors":[{"url":"https://github.com/rzl-app","name":"Rizalfin Dwiky","email":"rizalvindwiky@gmail.com"},{"url":"https://github.com/tighten/ziggy","name":"Tighten Co. (original Ziggy authors)"}],"exports":{".":{"types":"./dist/ziggy-route/index.d.ts","import":"./dist/ziggy-route/index.esm.js","default":"./dist/ziggy-route/index.esm.js","require":"./dist/ziggy-route/index.cjs"},"./vue":{"types":"./dist/ziggy-route/vue.d.ts","import":"./dist/ziggy-route/vue.esm.js","default":"./dist/ziggy-route/vue.esm.js","require":"./dist/ziggy-route/vue.cjs"},"./react":{"types":"./dist/ziggy-route/react.d.ts","import":"./dist/ziggy-route/react.esm.js","default":"./dist/ziggy-route/react.esm.js","require":"./dist/ziggy-route/react.cjs"},"./vite-plugin":{"types":"./dist/vite-plugin/index.d.ts","import":"./dist/vite-plugin/index.esm.js","default":"./dist/vite-plugin/index.esm.js","require":"./dist/vite-plugin/index.cjs"}},"gitHead":"2aef9ed6dce8a17bd89a9f10a2fe7563d4c3f2fd","scripts":{"test":"vitest --typecheck","build":"npm run clear:dist && tsup && npm run postbuild && npm run dts-minify && npm run rename-iife","format":"prettier . --write","prepare":"npm run build","postbuild":"del-cli \"dist/**/*.d.cts\"","clear:dist":"rm -rf ./dist || true","dts-minify":"tsx tools/minify-dts.ts","rename-iife":"tsx tools/rename-iife.ts","check-publish":"npm pack --dry-run","release-patch":"npm version patch && git push && git push --tags && npm publish","esbuild-minify":"tsx tools/esbuild.ts","prepublishOnly":"npm run clear:dist","build:deprecated":"npm run clear:dist && tsup && npm run esbuild-minify && npm run dts-minify && npm run rename-iife && npm run postbuild"},"_npmUser":{"name":"rzlzone","email":"rizalvindwiky1998@gmail.com"},"jsdelivr":"./dist/rzl-ziggy.iife.js","prettier":{"semi":true,"tabWidth":2,"printWidth":80,"singleQuote":false,"trailingComma":"none"},"deprecated":"Deprecated. Please upgrade to the latest version by running '@rzl-zone/ziggy-route@latest'.","repository":{"url":"git+https://github.com/rzl-zone/ziggy-route.git","type":"git"},"_npmVersion":"10.8.2","description":"Typed Laravel route generator for any frontend — works with React, Vue, Vanilla JS, and other JavaScript-based stacks.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.4","dependencies":{"qs":"~6.9.7","chalk":"^5.5.0","@types/qs":"^6.9.17","vite-plugin-run":"^0.6.1"},"publishConfig":{"access":"public"},"typesVersions":{"*":{".":["dist/ziggy-route/index.d.ts"],"vue":["dist/ziggy-route/vue.d.ts"],"react":["dist/ziggy-route/react.d.ts"],"vite-plugin":["dist/vite-plugin/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","glob":"^11.0.3","tsup":"^8.5.0","vite":"^7.0.6","del-cli":"^6.0.0","prettier":"^3.6.2","type-fest":"^4.41.0","typescript":"^5.8.3","@types/node":"^24.2.0","pretty-bytes":"^7.0.0","@rzl-zone/utils-js":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/ziggy-route_0.0.2_1754605999890_0.327465806406803","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@rzl-zone/ziggy-route","version":"0.0.3","keywords":["laravel","routes","javascript","typescript","rzl","app","utils","utility","helper","helpers","library","functions","ziggy","rzl-app","ziggy js","rzl-zone","rzl-ziggy","ziggy-route","@rzl-zone/ziggy-route"],"author":{"name":"RZL"},"license":"MIT","_id":"@rzl-zone/ziggy-route@0.0.3","maintainers":[{"name":"rzlzone","email":"rizalvindwiky1998@gmail.com"}],"homepage":"https://github.com/rzl-zone/ziggy-route#readme","bugs":{"url":"https://github.com/rzl-zone/ziggy-route/issues"},"dist":{"shasum":"d8166ef6627224fb77c1690368ed77f8e5ad97a0","tarball":"https://registry.npmjs.org/@rzl-zone/ziggy-route/-/ziggy-route-0.0.3.tgz","fileCount":18,"integrity":"sha512-foUYQo1R2Y/XEqjG51H0IlzasrNG0L0q/jPLd6LOxbL+AdZ3hC+gv3GNayRgzH1qlQK7gjoHsbI0zhqjvd8h5Q==","signatures":[{"sig":"MEUCIQC42CgITSi6MEYVk3QkUb/ve2Stx+zWvWoFuZcyvGD8NwIgGR+DlV4rN6qQ7hR8JA2sABQ7RoWMqD4jguQdOIr9EAc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@rzl-zone%2fziggy-route@0.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":163749},"main":"./dist/index.esm.js","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/rzl-ziggy.iife.js","mangle":{"regex":"^_(?!query)"},"module":"./dist/index.esm.js","authors":[{"url":"https://github.com/rzl-app","name":"Rizalfin Dwiky","email":"rizalvindwiky@gmail.com"},{"url":"https://github.com/tighten/ziggy","name":"Tighten Co. (original Ziggy authors)"}],"exports":{".":{"types":"./dist/ziggy-route/index.d.ts","import":"./dist/ziggy-route/index.esm.js","default":"./dist/ziggy-route/index.esm.js","require":"./dist/ziggy-route/index.cjs"},"./vue":{"types":"./dist/ziggy-route/vue.d.ts","import":"./dist/ziggy-route/vue.esm.js","default":"./dist/ziggy-route/vue.esm.js","require":"./dist/ziggy-route/vue.cjs"},"./react":{"types":"./dist/ziggy-route/react.d.ts","import":"./dist/ziggy-route/react.esm.js","default":"./dist/ziggy-route/react.esm.js","require":"./dist/ziggy-route/react.cjs"},"./vite-plugin":{"types":"./dist/vite-plugin/index.d.ts","import":"./dist/vite-plugin/index.esm.js","default":"./dist/vite-plugin/index.esm.js","require":"./dist/vite-plugin/index.cjs"}},"gitHead":"ac31cf3bbbbcf4205d3a4cf991b298a6753149af","scripts":{"test":"vitest --typecheck","build":"npm run clear:dist && tsup && npm run postbuild && npm run dts-minify && npm run rename-iife","format":"prettier . --write","prepare":"npm run build","postbuild":"del-cli \"dist/**/*.d.cts\"","clear:dist":"rm -rf ./dist || true","dts-minify":"tsx tools/minify-dts.ts","rename-iife":"tsx tools/rename-iife.ts","check-publish":"npm pack --dry-run","release-patch":"npm version patch && git push && git push --tags && npm publish","esbuild-minify":"tsx tools/esbuild.ts","prepublishOnly":"npm run clear:dist","build:deprecated":"npm run clear:dist && tsup && npm run esbuild-minify && npm run dts-minify && npm run rename-iife && npm run postbuild"},"_npmUser":{"name":"rzlzone","email":"rizalvindwiky1998@gmail.com"},"jsdelivr":"./dist/rzl-ziggy.iife.js","prettier":{"semi":true,"tabWidth":2,"printWidth":80,"singleQuote":false,"trailingComma":"none"},"deprecated":"Deprecated. Please upgrade to the latest version by running '@rzl-zone/ziggy-route@latest'.","repository":{"url":"git+https://github.com/rzl-zone/ziggy-route.git","type":"git"},"_npmVersion":"10.8.2","description":"Typed Laravel route generator for any frontend — works with React, Vue, Vanilla JS, and other JavaScript-based stacks.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.4","dependencies":{"qs":"~6.9.7","chalk":"^5.5.0","@types/qs":"^6.9.17","vite-plugin-run":"^0.6.1"},"publishConfig":{"access":"public"},"typesVersions":{"*":{".":["dist/ziggy-route/index.d.ts"],"vue":["dist/ziggy-route/vue.d.ts"],"react":["dist/ziggy-route/react.d.ts"],"vite-plugin":["dist/vite-plugin/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","glob":"^11.0.3","tsup":"^8.5.0","vite":"^7.0.6","del-cli":"^6.0.0","prettier":"^3.6.2","type-fest":"^4.41.0","typescript":"^5.8.3","@types/node":"^24.2.0","pretty-bytes":"^7.0.0","@rzl-zone/utils-js":"^2.1.0"},"_npmOperationalInternal":{"tmp":"tmp/ziggy-route_0.0.3_1754609289641_0.26207118751127423","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@rzl-zone/ziggy-route","version":"0.0.4","keywords":["laravel","routes","javascript","typescript","rzl","app","utils","utility","helper","helpers","library","functions","ziggy","rzl-app","ziggy js","rzl-zone","rzl-ziggy","ziggy-route","@rzl-zone/ziggy-route"],"author":{"name":"RZL"},"license":"MIT","_id":"@rzl-zone/ziggy-route@0.0.4","maintainers":[{"name":"rzlzone","email":"rizalvindwiky1998@gmail.com"}],"homepage":"https://github.com/rzl-zone/ziggy-route#readme","bugs":{"url":"https://github.com/rzl-zone/ziggy-route/issues"},"dist":{"shasum":"1cdd044f40bf0c6304060eb914eca218cbf1eb3b","tarball":"https://registry.npmjs.org/@rzl-zone/ziggy-route/-/ziggy-route-0.0.4.tgz","fileCount":21,"integrity":"sha512-ZKLQYa4pJ+BE+8mnisDhIMaVs5XkVgiixbbUk30yFSbeYNX9GNop2hhmKymvbnb/pJha7nlF0rdwlIfJC3XgRw==","signatures":[{"sig":"MEUCIG7Dh4M2J8NfHISibgyKARCqZtIOX+ADsA4Qy1dXzjWqAiEAxjsfRAPwa5tgvphrb4mlqqSndF7LAwLlxECQsmaKzFw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@rzl-zone%2fziggy-route@0.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":186404},"main":"./dist/index.esm.js","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/rzl-ziggy.iife.js","mangle":{"regex":"^_(?!query)"},"module":"./dist/index.esm.js","authors":[{"url":"https://github.com/rzl-app","name":"Rizalfin Dwiky","email":"rizalvindwiky@gmail.com"},{"url":"https://github.com/tighten/ziggy","name":"Tighten Co. (original Ziggy authors)"}],"exports":{".":{"types":"./dist/ziggy-route/index.d.ts","import":"./dist/ziggy-route/index.esm.js","default":"./dist/ziggy-route/index.esm.js","require":"./dist/ziggy-route/index.cjs"},"./vue":{"types":"./dist/ziggy-route/vue.d.ts","import":"./dist/ziggy-route/vue.esm.js","default":"./dist/ziggy-route/vue.esm.js","require":"./dist/ziggy-route/vue.cjs"},"./react":{"types":"./dist/ziggy-route/react.d.ts","import":"./dist/ziggy-route/react.esm.js","default":"./dist/ziggy-route/react.esm.js","require":"./dist/ziggy-route/react.cjs"},"./vite-plugin":{"types":"./dist/vite-plugin/index.d.ts","import":"./dist/vite-plugin/index.esm.js","default":"./dist/vite-plugin/index.esm.js","require":"./dist/vite-plugin/index.cjs"}},"gitHead":"983eec830134d457188f064f2fbfa44e10c8e32b","scripts":{"test":"vitest --typecheck","build":"npm run clear:dist && tsup && npm run postbuild && npm run dts-minify && npm run rename-iife","format":"prettier . --write","prepare":"npm run build","postbuild":"del-cli \"dist/**/*.d.cts\"","clear:dist":"rm -rf ./dist || true","dts-minify":"tsx tools/minify-dts.ts","rename-iife":"tsx tools/rename-iife.ts","check-publish":"npm pack --dry-run","release-patch":"npm version patch && git push && git push --tags && npm publish","esbuild-minify":"tsx tools/esbuild.ts","prepublishOnly":"npm run clear:dist","build:deprecated":"npm run clear:dist && tsup && npm run esbuild-minify && npm run dts-minify && npm run rename-iife && npm run postbuild"},"_npmUser":{"name":"rzlzone","email":"rizalvindwiky1998@gmail.com"},"jsdelivr":"./dist/rzl-ziggy.iife.js","prettier":{"semi":true,"tabWidth":2,"printWidth":80,"singleQuote":false,"trailingComma":"none"},"deprecated":"Deprecated. Please upgrade to the latest version by running '@rzl-zone/ziggy-route@latest'.","repository":{"url":"git+https://github.com/rzl-zone/ziggy-route.git","type":"git"},"_npmVersion":"10.8.2","description":"Typed Laravel route generator for any frontend — works with React, Vue, Vanilla JS, and other JavaScript-based stacks.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"qs":"~6.9.7","chalk":"^5.5.0","@types/qs":"^6.9.17","vite-plugin-run":"^0.6.1"},"publishConfig":{"access":"public"},"typesVersions":{"*":{".":["dist/ziggy-route/index.d.ts"],"vue":["dist/ziggy-route/vue.d.ts"],"react":["dist/ziggy-route/react.d.ts"],"vite-plugin":["dist/vite-plugin/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","glob":"^11.0.3","tsup":"^8.5.0","vite":"^7.0.6","terser":"^5.44.0","del-cli":"^6.0.0","prettier":"^3.6.2","type-fest":"^4.41.0","typescript":"^5.8.3","@types/node":"^24.2.0","pretty-bytes":"^7.0.0","@rzl-zone/utils-js":"^3.2.0","json-schema-to-typescript":"^15.0.4"},"_npmOperationalInternal":{"tmp":"tmp/ziggy-route_0.0.4_1758121776674_0.3990837892378045","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@rzl-zone/ziggy-route","version":"0.0.5","keywords":["laravel","routes","javascript","typescript","rzl","app","utils","utility","helper","helpers","library","functions","ziggy","rzl-app","ziggy js","rzl-zone","rzl-ziggy","ziggy-route","@rzl-zone/ziggy-route"],"author":{"name":"RZL"},"license":"MIT","_id":"@rzl-zone/ziggy-route@0.0.5","maintainers":[{"name":"rzlzone","email":"rizalvindwiky1998@gmail.com"}],"homepage":"https://github.com/rzl-zone/ziggy-route#readme","bugs":{"url":"https://github.com/rzl-zone/ziggy-route/issues"},"dist":{"shasum":"b133648720891fa343876ebd7b19250523c9ecee","tarball":"https://registry.npmjs.org/@rzl-zone/ziggy-route/-/ziggy-route-0.0.5.tgz","fileCount":21,"integrity":"sha512-yLKHL1RE4fh+3VsypJ+VSv8or0KwsfFga82MdMLzZx/LplLmUT+mLOpP+T98WS6O+aphyS0YbRJmqCMLWPMbmA==","signatures":[{"sig":"MEUCIBRf+WHUFwbhORKuJbU0wvGyllMCrftqfjjn/DSye+u5AiEAzj+OU86J9ZzUCeK1qAmrOBO6TasgyN4hrgVwAkH3pu0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@rzl-zone%2fziggy-route@0.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":186512},"main":"./dist/index.esm.js","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/rzl-ziggy.iife.js","mangle":{"regex":"^_(?!query)"},"module":"./dist/index.esm.js","authors":[{"url":"https://github.com/rzl-app","name":"Rizalfin Dwiky","email":"rizalvindwiky@gmail.com"},{"url":"https://github.com/tighten/ziggy","name":"Tighten Co. (original Ziggy authors)"}],"exports":{".":{"types":"./dist/ziggy-route/index.d.ts","import":"./dist/ziggy-route/index.esm.js","default":"./dist/ziggy-route/index.esm.js","require":"./dist/ziggy-route/index.cjs"},"./vue":{"types":"./dist/ziggy-route/vue.d.ts","import":"./dist/ziggy-route/vue.esm.js","default":"./dist/ziggy-route/vue.esm.js","require":"./dist/ziggy-route/vue.cjs"},"./react":{"types":"./dist/ziggy-route/react.d.ts","import":"./dist/ziggy-route/react.esm.js","default":"./dist/ziggy-route/react.esm.js","require":"./dist/ziggy-route/react.cjs"},"./vite-plugin":{"types":"./dist/vite-plugin/index.d.ts","import":"./dist/vite-plugin/index.esm.js","default":"./dist/vite-plugin/index.esm.js","require":"./dist/vite-plugin/index.cjs"}},"gitHead":"c3643578faa8505f88de896f44f95fec97566096","scripts":{"test":"vitest --typecheck","build":"npm run clear:dist && tsup && npm run postbuild && npm run dts-minify && npm run rename-iife","format":"prettier . --write","prepare":"npm run build","postbuild":"del-cli \"dist/**/*.d.cts\"","clear:dist":"rm -rf ./dist || true","dts-minify":"tsx tools/minify-dts.ts","rename-iife":"tsx tools/rename-iife.ts","check-publish":"npm pack --dry-run","release-patch":"npm version patch && git push && git push --tags && npm publish","esbuild-minify":"tsx tools/esbuild.ts","prepublishOnly":"npm run clear:dist","build:deprecated":"npm run clear:dist && tsup && npm run esbuild-minify && npm run dts-minify && npm run rename-iife && npm run postbuild"},"_npmUser":{"name":"rzlzone","email":"rizalvindwiky1998@gmail.com"},"jsdelivr":"./dist/rzl-ziggy.iife.js","prettier":{"semi":true,"tabWidth":2,"printWidth":80,"singleQuote":false,"trailingComma":"none"},"deprecated":"Deprecated. Please upgrade to the latest version by running '@rzl-zone/ziggy-route@latest'.","repository":{"url":"git+https://github.com/rzl-zone/ziggy-route.git","type":"git"},"_npmVersion":"10.8.2","description":"Typed Laravel route generator for any frontend — works with React, Vue, Vanilla JS, and other JavaScript-based stacks.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"qs":"~6.9.7","chalk":"^5.5.0","@types/qs":"^6.9.17","vite-plugin-run":"^0.6.1"},"publishConfig":{"access":"public"},"typesVersions":{"*":{".":["dist/ziggy-route/index.d.ts"],"vue":["dist/ziggy-route/vue.d.ts"],"react":["dist/ziggy-route/react.d.ts"],"vite-plugin":["dist/vite-plugin/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","glob":"^11.0.3","tsup":"^8.5.0","vite":"^7.0.6","terser":"^5.44.0","del-cli":"^6.0.0","prettier":"^3.6.2","type-fest":"^4.41.0","typescript":"^5.8.3","@types/node":"^24.2.0","pretty-bytes":"^7.0.0","@rzl-zone/utils-js":"^3.2.0","json-schema-to-typescript":"^15.0.4"},"_npmOperationalInternal":{"tmp":"tmp/ziggy-route_0.0.5_1758122915090_0.2593524709476158","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@rzl-zone/ziggy-route","version":"0.0.6","keywords":["laravel","routes","javascript","typescript","rzl","app","utils","utility","helper","helpers","library","functions","ziggy","rzl-app","ziggy js","rzl-zone","rzl-ziggy","ziggy-route","@rzl-zone/ziggy-route"],"author":{"name":"RZL"},"license":"MIT","_id":"@rzl-zone/ziggy-route@0.0.6","maintainers":[{"name":"rzlzone","email":"rizalvindwiky1998@gmail.com"}],"homepage":"https://github.com/rzl-zone/ziggy-route#readme","bugs":{"url":"https://github.com/rzl-zone/ziggy-route/issues"},"dist":{"shasum":"cd91ce2764a591c2f8ad2469da774ca159bf8190","tarball":"https://registry.npmjs.org/@rzl-zone/ziggy-route/-/ziggy-route-0.0.6.tgz","fileCount":21,"integrity":"sha512-9ShtqIf1xLxEywVfyImy0PhSFbWzzlXsvB3OhXO6zv4D+M811MY+QRUoaCyBzxlX8Dk6n4S5q6aqKsp0hnxwXA==","signatures":[{"sig":"MEUCIGVRhPbx4QRTunuE/B/qMd4ybgA0Vvpk5U65W/slfWHfAiEA8CSwtZaeFqd5HuzPVPz3eQjwSFYBbOePvGZQdRZl3O4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@rzl-zone%2fziggy-route@0.0.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":186582},"main":"./dist/index.esm.js","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/rzl-ziggy.iife.js","mangle":{"regex":"^_(?!query)"},"module":"./dist/index.esm.js","authors":[{"url":"https://github.com/rzl-app","name":"Rizalfin Dwiky","email":"rizalvindwiky@gmail.com"},{"url":"https://github.com/tighten/ziggy","name":"Tighten Co. (original Ziggy authors)"}],"exports":{".":{"types":"./dist/ziggy-route/index.d.ts","import":"./dist/ziggy-route/index.esm.js","default":"./dist/ziggy-route/index.esm.js","require":"./dist/ziggy-route/index.cjs"},"./vue":{"types":"./dist/ziggy-route/vue.d.ts","import":"./dist/ziggy-route/vue.esm.js","default":"./dist/ziggy-route/vue.esm.js","require":"./dist/ziggy-route/vue.cjs"},"./react":{"types":"./dist/ziggy-route/react.d.ts","import":"./dist/ziggy-route/react.esm.js","default":"./dist/ziggy-route/react.esm.js","require":"./dist/ziggy-route/react.cjs"},"./vite-plugin":{"types":"./dist/vite-plugin/index.d.ts","import":"./dist/vite-plugin/index.esm.js","default":"./dist/vite-plugin/index.esm.js","require":"./dist/vite-plugin/index.cjs"}},"gitHead":"a9d3b4d8886c25f0f6fd52b01d10dbb442d951d1","scripts":{"test":"vitest --typecheck","build":"npm run clear:dist && tsup && npm run postbuild && npm run dts-minify && npm run rename-iife","format":"prettier . --write","prepare":"npm run build","postbuild":"del-cli \"dist/**/*.d.cts\"","clear:dist":"rm -rf ./dist || true","dts-minify":"tsx tools/minify-dts.ts","rename-iife":"tsx tools/rename-iife.ts","check-publish":"npm pack --dry-run","release-patch":"npm version patch && git push && git push --tags && npm publish","esbuild-minify":"tsx tools/esbuild.ts","prepublishOnly":"npm run clear:dist","build:deprecated":"npm run clear:dist && tsup && npm run esbuild-minify && npm run dts-minify && npm run rename-iife && npm run postbuild"},"_npmUser":{"name":"rzlzone","email":"rizalvindwiky1998@gmail.com"},"jsdelivr":"./dist/rzl-ziggy.iife.js","prettier":{"semi":true,"tabWidth":2,"printWidth":80,"singleQuote":false,"trailingComma":"none"},"deprecated":"Deprecated. Please upgrade to the latest version by running '@rzl-zone/ziggy-route@latest'.","repository":{"url":"git+https://github.com/rzl-zone/ziggy-route.git","type":"git"},"_npmVersion":"10.8.2","description":"Typed Laravel route generator for any frontend — works with React, Vue, Vanilla JS, and other JavaScript-based stacks.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"qs":"~6.9.7","chalk":"^5.5.0","@types/qs":"^6.9.17","vite-plugin-run":"^0.6.1"},"publishConfig":{"access":"public"},"typesVersions":{"*":{".":["dist/ziggy-route/index.d.ts"],"vue":["dist/ziggy-route/vue.d.ts"],"react":["dist/ziggy-route/react.d.ts"],"vite-plugin":["dist/vite-plugin/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","glob":"^11.0.3","tsup":"^8.5.0","vite":"^7.0.6","terser":"^5.44.0","del-cli":"^6.0.0","prettier":"^3.6.2","type-fest":"^4.41.0","typescript":"^5.8.3","@types/node":"^24.2.0","pretty-bytes":"^7.0.0","@rzl-zone/utils-js":"^3.2.0","json-schema-to-typescript":"^15.0.4"},"_npmOperationalInternal":{"tmp":"tmp/ziggy-route_0.0.6_1758124849963_0.43087555720279314","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@rzl-zone/ziggy-route","version":"0.0.7","keywords":["laravel","routes","javascript","typescript","rzl","app","utils","utility","helper","helpers","library","functions","ziggy","rzl-app","ziggy js","rzl-zone","rzl-ziggy","ziggy-route","@rzl-zone/ziggy-route"],"author":{"name":"RZL"},"license":"MIT","_id":"@rzl-zone/ziggy-route@0.0.7","maintainers":[{"name":"rzlzone","email":"rizalvindwiky1998@gmail.com"}],"homepage":"https://github.com/rzl-zone/ziggy-route#readme","bugs":{"url":"https://github.com/rzl-zone/ziggy-route/issues"},"dist":{"shasum":"17c602d60473e51bb3ef0d2277752bef60775fd6","tarball":"https://registry.npmjs.org/@rzl-zone/ziggy-route/-/ziggy-route-0.0.7.tgz","fileCount":21,"integrity":"sha512-JcwWqApClvTFuSoRJvWCIwXQFrsjF/qPvkIuqilwmT3X2ZmkSkbPWwcfdLy9/f2GmHCFnqcqOU+UFXO1yMXYpQ==","signatures":[{"sig":"MEQCIE4gIojvnDb8+dPCwJj8XTT4ec8RoE/zyy7GB1Vrgz/IAiBlZAZLJxRFxgoQGIF6HmIrMaAwsVx2DlDUWOJUwDe2mg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@rzl-zone%2fziggy-route@0.0.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":186555},"main":"./dist/index.esm.js","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/rzl-ziggy.iife.js","mangle":{"regex":"^_(?!query)"},"module":"./dist/index.esm.js","authors":[{"url":"https://github.com/rzl-app","name":"Rizalfin Dwiky","email":"rizalvindwiky@gmail.com"},{"url":"https://github.com/tighten/ziggy","name":"Tighten Co. (original Ziggy authors)"}],"exports":{".":{"types":"./dist/ziggy-route/index.d.ts","import":"./dist/ziggy-route/index.esm.js","default":"./dist/ziggy-route/index.esm.js","require":"./dist/ziggy-route/index.cjs"},"./vue":{"types":"./dist/ziggy-route/vue.d.ts","import":"./dist/ziggy-route/vue.esm.js","default":"./dist/ziggy-route/vue.esm.js","require":"./dist/ziggy-route/vue.cjs"},"./react":{"types":"./dist/ziggy-route/react.d.ts","import":"./dist/ziggy-route/react.esm.js","default":"./dist/ziggy-route/react.esm.js","require":"./dist/ziggy-route/react.cjs"},"./vite-plugin":{"types":"./dist/vite-plugin/index.d.ts","import":"./dist/vite-plugin/index.esm.js","default":"./dist/vite-plugin/index.esm.js","require":"./dist/vite-plugin/index.cjs"}},"gitHead":"7301196bbae124b167089e52c4ebeb0c2568a443","scripts":{"test":"vitest --typecheck","build":"npm run clear:dist && tsup && npm run postbuild && npm run dts-minify && npm run rename-iife","format":"prettier . --write","prepare":"npm run build","postbuild":"del-cli \"dist/**/*.d.cts\"","clear:dist":"rm -rf ./dist || true","dts-minify":"tsx tools/minify-dts.ts","rename-iife":"tsx tools/rename-iife.ts","check-publish":"npm pack --dry-run","release-patch":"npm version patch && git push && git push --tags && npm publish","esbuild-minify":"tsx tools/esbuild.ts","prepublishOnly":"npm run clear:dist","build:deprecated":"npm run clear:dist && tsup && npm run esbuild-minify && npm run dts-minify && npm run rename-iife && npm run postbuild"},"_npmUser":{"name":"rzlzone","email":"rizalvindwiky1998@gmail.com"},"jsdelivr":"./dist/rzl-ziggy.iife.js","prettier":{"semi":true,"tabWidth":2,"printWidth":80,"singleQuote":false,"trailingComma":"none"},"deprecated":"Deprecated. Please upgrade to the latest version by running '@rzl-zone/ziggy-route@latest'.","repository":{"url":"git+https://github.com/rzl-zone/ziggy-route.git","type":"git"},"_npmVersion":"10.8.2","description":"Typed Laravel route generator for any frontend — works with React, Vue, Vanilla JS, and other JavaScript-based stacks.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"qs":"~6.9.7","chalk":"^5.5.0","@types/qs":"^6.9.17","vite-plugin-run":"^0.6.1"},"publishConfig":{"access":"public"},"typesVersions":{"*":{".":["dist/ziggy-route/index.d.ts"],"vue":["dist/ziggy-route/vue.d.ts"],"react":["dist/ziggy-route/react.d.ts"],"vite-plugin":["dist/vite-plugin/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","glob":"^11.0.3","tsup":"^8.5.0","vite":"^7.0.6","terser":"^5.44.0","del-cli":"^6.0.0","prettier":"^3.6.2","type-fest":"^4.41.0","typescript":"^5.8.3","@types/node":"^24.2.0","pretty-bytes":"^7.0.0","@rzl-zone/utils-js":"^3.2.0","json-schema-to-typescript":"^15.0.4"},"_npmOperationalInternal":{"tmp":"tmp/ziggy-route_0.0.7_1758126746654_0.35334258155739406","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"name":"@rzl-zone/ziggy-route","version":"0.0.8","keywords":["laravel","routes","javascript","typescript","rzl","app","utils","utility","helper","helpers","library","functions","ziggy","rzl-app","ziggy js","rzl-zone","rzl-ziggy","ziggy-route","@rzl-zone/ziggy-route"],"author":{"name":"RZL"},"license":"MIT","_id":"@rzl-zone/ziggy-route@0.0.8","maintainers":[{"name":"rzlzone","email":"rizalvindwiky1998@gmail.com"}],"homepage":"https://github.com/rzl-zone/ziggy-route#readme","bugs":{"url":"https://github.com/rzl-zone/ziggy-route/issues"},"dist":{"shasum":"e4bc8d2f3b7c2c141e535fb2dfa5af71b736bdf5","tarball":"https://registry.npmjs.org/@rzl-zone/ziggy-route/-/ziggy-route-0.0.8.tgz","fileCount":21,"integrity":"sha512-/5xWWsjEV/Y3I2nJ50R83uVcaSDWqtdiX2ZaHI/u3YA0RvHmF3hqJjMO36qWin7C0/+eJVBTaHGlCNge0g4Xkw==","signatures":[{"sig":"MEUCIQCoYVO7ElJTFvpSWMvRdoEZmvahreHQ040zPngfRIv3dgIgRaU4z0RFHb9bIzdioTL4emXen0OuDVri2LjwabfKFA8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@rzl-zone%2fziggy-route@0.0.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":186555},"main":"./dist/index.esm.js","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/rzl-ziggy.iife.js","mangle":{"regex":"^_(?!query)"},"module":"./dist/index.esm.js","authors":[{"url":"https://github.com/rzl-app","name":"Rizalfin Dwiky","email":"rizalvindwiky@gmail.com"},{"url":"https://github.com/tighten/ziggy","name":"Tighten Co. (original Ziggy authors)"}],"exports":{".":{"types":"./dist/ziggy-route/index.d.ts","import":"./dist/ziggy-route/index.esm.js","default":"./dist/ziggy-route/index.esm.js","require":"./dist/ziggy-route/index.cjs"},"./vue":{"types":"./dist/ziggy-route/vue.d.ts","import":"./dist/ziggy-route/vue.esm.js","default":"./dist/ziggy-route/vue.esm.js","require":"./dist/ziggy-route/vue.cjs"},"./react":{"types":"./dist/ziggy-route/react.d.ts","import":"./dist/ziggy-route/react.esm.js","default":"./dist/ziggy-route/react.esm.js","require":"./dist/ziggy-route/react.cjs"},"./vite-plugin":{"types":"./dist/vite-plugin/index.d.ts","import":"./dist/vite-plugin/index.esm.js","default":"./dist/vite-plugin/index.esm.js","require":"./dist/vite-plugin/index.cjs"}},"gitHead":"2503c53939fb774b6fee19976e9d45323454a01d","scripts":{"test":"vitest --typecheck","build":"npm run clear:dist && tsup && npm run postbuild && npm run dts-minify && npm run rename-iife","format":"prettier . --write","prepare":"npm run build","postbuild":"del-cli \"dist/**/*.d.cts\"","clear:dist":"rm -rf ./dist || true","dts-minify":"tsx tools/minify-dts.ts","rename-iife":"tsx tools/rename-iife.ts","check-publish":"npm pack --dry-run","release-patch":"npm version patch && git push && git push --tags && npm publish","esbuild-minify":"tsx tools/esbuild.ts","prepublishOnly":"npm run clear:dist","build:deprecated":"npm run clear:dist && tsup && npm run esbuild-minify && npm run dts-minify && npm run rename-iife && npm run postbuild"},"_npmUser":{"name":"rzlzone","email":"rizalvindwiky1998@gmail.com"},"jsdelivr":"./dist/rzl-ziggy.iife.js","prettier":{"semi":true,"tabWidth":2,"printWidth":80,"singleQuote":false,"trailingComma":"none"},"deprecated":"Deprecated. Please upgrade to the latest version by running '@rzl-zone/ziggy-route@latest'.","repository":{"url":"git+https://github.com/rzl-zone/ziggy-route.git","type":"git"},"_npmVersion":"10.8.2","description":"Typed Laravel route generator for any frontend — works with React, Vue, Vanilla JS, and other JavaScript-based stacks.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"qs":"~6.9.7","chalk":"^5.5.0","@types/qs":"^6.9.17","vite-plugin-run":"^0.6.1"},"publishConfig":{"access":"public"},"typesVersions":{"*":{".":["dist/ziggy-route/index.d.ts"],"vue":["dist/ziggy-route/vue.d.ts"],"react":["dist/ziggy-route/react.d.ts"],"vite-plugin":["dist/vite-plugin/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","glob":"^11.0.3","tsup":"^8.5.0","vite":"^7.0.6","terser":"^5.44.0","del-cli":"^6.0.0","prettier":"^3.6.2","type-fest":"^4.41.0","typescript":"^5.8.3","@types/node":"^24.2.0","pretty-bytes":"^7.0.0","@rzl-zone/utils-js":"^3.2.0","json-schema-to-typescript":"^15.0.4"},"_npmOperationalInternal":{"tmp":"tmp/ziggy-route_0.0.8_1758127958570_0.16003599605827246","host":"s3://npm-registry-packages-npm-production"}},"0.0.9":{"name":"@rzl-zone/ziggy-route","version":"0.0.9","keywords":["laravel","routes","javascript","typescript","rzl","app","utils","utility","helper","helpers","library","functions","ziggy","rzl-app","ziggy js","rzl-zone","rzl-ziggy","ziggy-route","@rzl-zone/ziggy-route"],"author":{"name":"RZL"},"license":"MIT","_id":"@rzl-zone/ziggy-route@0.0.9","maintainers":[{"name":"rzlzone","email":"rizalvindwiky1998@gmail.com"}],"homepage":"https://github.com/rzl-zone/ziggy-route#readme","bugs":{"url":"https://github.com/rzl-zone/ziggy-route/issues"},"dist":{"shasum":"64c0b0294faebb2e083c7fdc189423067208c4df","tarball":"https://registry.npmjs.org/@rzl-zone/ziggy-route/-/ziggy-route-0.0.9.tgz","fileCount":21,"integrity":"sha512-7gKKjnP7euQ7kjzBP6SBMzjxYGzqcXeg9lpFUSDY0MjMZvXEiExeI/2e1e37dwHFKnwT1qliIPkfvB8gYpdQ5A==","signatures":[{"sig":"MEUCIQCFg48Fr2SMyHSSJDnOqZWNmcxVkIynseQRcxKm20N/lQIgBakDOcMHDkzoSzKeaXopk4IELGfLZlU+6lPi8//M/0c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@rzl-zone%2fziggy-route@0.0.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":186682},"main":"./dist/index.esm.js","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/rzl-ziggy.iife.js","mangle":{"regex":"^_(?!query)"},"module":"./dist/index.esm.js","authors":[{"url":"https://github.com/rzl-app","name":"Rizalfin Dwiky","email":"rizalvindwiky@gmail.com"},{"url":"https://github.com/tighten/ziggy","name":"Tighten Co. (original Ziggy authors)"}],"exports":{".":{"types":"./dist/ziggy-route/index.d.ts","import":"./dist/ziggy-route/index.esm.js","default":"./dist/ziggy-route/index.esm.js","require":"./dist/ziggy-route/index.cjs"},"./vue":{"types":"./dist/ziggy-route/vue.d.ts","import":"./dist/ziggy-route/vue.esm.js","default":"./dist/ziggy-route/vue.esm.js","require":"./dist/ziggy-route/vue.cjs"},"./react":{"types":"./dist/ziggy-route/react.d.ts","import":"./dist/ziggy-route/react.esm.js","default":"./dist/ziggy-route/react.esm.js","require":"./dist/ziggy-route/react.cjs"},"./vite-plugin":{"types":"./dist/vite-plugin/index.d.ts","import":"./dist/vite-plugin/index.esm.js","default":"./dist/vite-plugin/index.esm.js","require":"./dist/vite-plugin/index.cjs"}},"gitHead":"fa80411315842c034a93727a69309cdd9336ceed","scripts":{"test":"vitest --typecheck","build":"npm run clear:dist && tsup && npm run postbuild && npm run dts-minify && npm run rename-iife","format":"prettier . --write","prepare":"npm run build","postbuild":"del-cli \"dist/**/*.d.cts\"","clear:dist":"rm -rf ./dist || true","dts-minify":"tsx tools/minify-dts.ts","rename-iife":"tsx tools/rename-iife.ts","check-publish":"npm pack --dry-run","release-patch":"npm version patch && git push && git push --tags && npm publish","esbuild-minify":"tsx tools/esbuild.ts","prepublishOnly":"npm run clear:dist","build:deprecated":"npm run clear:dist && tsup && npm run esbuild-minify && npm run dts-minify && npm run rename-iife && npm run postbuild"},"_npmUser":{"name":"rzlzone","email":"rizalvindwiky1998@gmail.com"},"jsdelivr":"./dist/rzl-ziggy.iife.js","prettier":{"semi":true,"tabWidth":2,"printWidth":80,"singleQuote":false,"trailingComma":"none"},"deprecated":"Deprecated. Please upgrade to the latest version by running '@rzl-zone/ziggy-route@latest'.","repository":{"url":"git+https://github.com/rzl-zone/ziggy-route.git","type":"git"},"_npmVersion":"10.8.2","description":"Typed Laravel route generator for any frontend — works with React, Vue, Vanilla JS, and other JavaScript-based stacks.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"qs":"~6.9.7","chalk":"^5.5.0","@types/qs":"^6.9.17","vite-plugin-run":"^0.6.1"},"publishConfig":{"access":"public"},"typesVersions":{"*":{".":["dist/ziggy-route/index.d.ts"],"vue":["dist/ziggy-route/vue.d.ts"],"react":["dist/ziggy-route/react.d.ts"],"vite-plugin":["dist/vite-plugin/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","glob":"^11.0.3","tsup":"^8.5.0","vite":"^7.0.6","terser":"^5.44.0","del-cli":"^6.0.0","prettier":"^3.6.2","type-fest":"^4.41.0","typescript":"^5.8.3","@types/node":"^24.2.0","pretty-bytes":"^7.0.0","@rzl-zone/utils-js":"^3.2.0","json-schema-to-typescript":"^15.0.4"},"_npmOperationalInternal":{"tmp":"tmp/ziggy-route_0.0.9_1758129479461_0.6629958631358954","host":"s3://npm-registry-packages-npm-production"}},"0.0.10":{"name":"@rzl-zone/ziggy-route","version":"0.0.10","keywords":["laravel","routes","javascript","typescript","rzl","app","utils","utility","helper","helpers","library","functions","ziggy","rzl-app","ziggy js","rzl-zone","rzl-ziggy","ziggy-route","@rzl-zone/ziggy-route"],"author":{"name":"RZL"},"license":"MIT","_id":"@rzl-zone/ziggy-route@0.0.10","maintainers":[{"name":"rzlzone","email":"rizalvindwiky1998@gmail.com"}],"homepage":"https://github.com/rzl-zone/ziggy-route#readme","bugs":{"url":"https://github.com/rzl-zone/ziggy-route/issues"},"dist":{"shasum":"d90409ba1ec6b8a1334b830cae55762cddd78f54","tarball":"https://registry.npmjs.org/@rzl-zone/ziggy-route/-/ziggy-route-0.0.10.tgz","fileCount":21,"integrity":"sha512-uiiXw3sUg89S5fElzQCnDjzCL8Ki0uvjY6srPsJp/Zy4fK2pe+vuRuCzQ4ww1y1etL71feUokkJHomyHw90RCw==","signatures":[{"sig":"MEQCIEBz7lOEFuhLJkIxujePyVQOQyanrG5Z4SUKx36cXZZ5AiA6qPbpuyIKfWhxIOowF1KsETS9viEmcheH4I4/90ZCbg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@rzl-zone%2fziggy-route@0.0.10","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":186624},"main":"./dist/index.esm.js","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/rzl-ziggy.iife.js","mangle":{"regex":"^_(?!query)"},"module":"./dist/index.esm.js","authors":[{"url":"https://github.com/rzl-app","name":"Rizalfin Dwiky","email":"rizalvindwiky@gmail.com"},{"url":"https://github.com/tighten/ziggy","name":"Tighten Co. (original Ziggy authors)"}],"exports":{".":{"types":"./dist/ziggy-route/index.d.ts","import":"./dist/ziggy-route/index.esm.js","default":"./dist/ziggy-route/index.esm.js","require":"./dist/ziggy-route/index.cjs"},"./vue":{"types":"./dist/ziggy-route/vue.d.ts","import":"./dist/ziggy-route/vue.esm.js","default":"./dist/ziggy-route/vue.esm.js","require":"./dist/ziggy-route/vue.cjs"},"./react":{"types":"./dist/ziggy-route/react.d.ts","import":"./dist/ziggy-route/react.esm.js","default":"./dist/ziggy-route/react.esm.js","require":"./dist/ziggy-route/react.cjs"},"./vite-plugin":{"types":"./dist/vite-plugin/index.d.ts","import":"./dist/vite-plugin/index.esm.js","default":"./dist/vite-plugin/index.esm.js","require":"./dist/vite-plugin/index.cjs"}},"gitHead":"7e22eab0392bde2a58ac6784bfa409aba745ddae","scripts":{"test":"vitest --typecheck","build":"npm run clear:dist && tsup && npm run postbuild && npm run dts-minify && npm run rename-iife","format":"prettier . --write","prepare":"npm run build","postbuild":"del-cli \"dist/**/*.d.cts\"","clear:dist":"rm -rf ./dist || true","dts-minify":"tsx tools/minify-dts.ts","rename-iife":"tsx tools/rename-iife.ts","check-publish":"npm pack --dry-run","release-patch":"npm version patch && git push && git push --tags && npm publish","esbuild-minify":"tsx tools/esbuild.ts","prepublishOnly":"npm run clear:dist","build:deprecated":"npm run clear:dist && tsup && npm run esbuild-minify && npm run dts-minify && npm run rename-iife && npm run postbuild"},"_npmUser":{"name":"rzlzone","email":"rizalvindwiky1998@gmail.com"},"jsdelivr":"./dist/rzl-ziggy.iife.js","prettier":{"semi":true,"tabWidth":2,"printWidth":80,"singleQuote":false,"trailingComma":"none"},"deprecated":"Deprecated. Please upgrade to the latest version by running '@rzl-zone/ziggy-route@latest'.","repository":{"url":"git+https://github.com/rzl-zone/ziggy-route.git","type":"git"},"_npmVersion":"10.8.2","description":"Typed Laravel route generator for any frontend — works with React, Vue, Vanilla JS, and other JavaScript-based stacks.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"qs":"~6.9.7","chalk":"^5.5.0","@types/qs":"^6.9.17","vite-plugin-run":"^0.6.1"},"publishConfig":{"access":"public"},"typesVersions":{"*":{".":["dist/ziggy-route/index.d.ts"],"vue":["dist/ziggy-route/vue.d.ts"],"react":["dist/ziggy-route/react.d.ts"],"vite-plugin":["dist/vite-plugin/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","glob":"^11.0.3","tsup":"^8.5.0","vite":"^7.0.6","terser":"^5.44.0","del-cli":"^6.0.0","prettier":"^3.6.2","type-fest":"^4.41.0","typescript":"^5.8.3","@types/node":"^24.2.0","pretty-bytes":"^7.0.0","@rzl-zone/utils-js":"^3.2.0","json-schema-to-typescript":"^15.0.4"},"_npmOperationalInternal":{"tmp":"tmp/ziggy-route_0.0.10_1758133987778_0.1660369345071966","host":"s3://npm-registry-packages-npm-production"}},"0.0.11":{"name":"@rzl-zone/ziggy-route","version":"0.0.11","keywords":["laravel","routes","javascript","typescript","rzl","app","utils","utility","helper","helpers","library","functions","ziggy","rzl-app","ziggy js","rzl-zone","rzl-ziggy","ziggy-route","@rzl-zone/ziggy-route"],"author":{"name":"RZL"},"license":"MIT","_id":"@rzl-zone/ziggy-route@0.0.11","maintainers":[{"name":"rzlzone","email":"rizalvindwiky1998@gmail.com"}],"homepage":"https://github.com/rzl-zone/ziggy-route#readme","bugs":{"url":"https://github.com/rzl-zone/ziggy-route/issues"},"dist":{"shasum":"3e431a66efbcf340d6ef5de4f680a8e13deff88d","tarball":"https://registry.npmjs.org/@rzl-zone/ziggy-route/-/ziggy-route-0.0.11.tgz","fileCount":21,"integrity":"sha512-fpbrsDivTMin7v0nQ/7/sidXCJCkhEn6ofDfAjwFPPgL1FxPyN0uW50Hs8TYBjuOfVkqribpV55ZJjAoPHiYbA==","signatures":[{"sig":"MEYCIQD5KljyQhQU/sdFahI7mUc4NRgmw/FtfoPUii0tHX+s2AIhAKNlXd+SLmo1aPFP5wHo+KsY8MlwKBOS0jtdFcx1iDQc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@rzl-zone%2fziggy-route@0.0.11","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":186739},"main":"./dist/index.esm.js","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/rzl-ziggy.iife.js","mangle":{"regex":"^_(?!query)"},"module":"./dist/index.esm.js","authors":[{"url":"https://github.com/rzl-app","name":"Rizalfin Dwiky","email":"rizalvindwiky@gmail.com"},{"url":"https://github.com/tighten/ziggy","name":"Tighten Co. (original Ziggy authors)"}],"exports":{".":{"types":"./dist/ziggy-route/index.d.ts","import":"./dist/ziggy-route/index.esm.js","default":"./dist/ziggy-route/index.esm.js","require":"./dist/ziggy-route/index.cjs"},"./vue":{"types":"./dist/ziggy-route/vue.d.ts","import":"./dist/ziggy-route/vue.esm.js","default":"./dist/ziggy-route/vue.esm.js","require":"./dist/ziggy-route/vue.cjs"},"./react":{"types":"./dist/ziggy-route/react.d.ts","import":"./dist/ziggy-route/react.esm.js","default":"./dist/ziggy-route/react.esm.js","require":"./dist/ziggy-route/react.cjs"},"./vite-plugin":{"types":"./dist/vite-plugin/index.d.ts","import":"./dist/vite-plugin/index.esm.js","default":"./dist/vite-plugin/index.esm.js","require":"./dist/vite-plugin/index.cjs"}},"gitHead":"84ab2efc684e792a6c620eb01406f32d8c3e78ba","scripts":{"test":"vitest --typecheck","build":"npm run clear:dist && tsup && npm run postbuild && npm run dts-minify && npm run rename-iife","format":"prettier . --write","prepare":"npm run build","postbuild":"del-cli \"dist/**/*.d.cts\"","clear:dist":"rm -rf ./dist || true","dts-minify":"tsx tools/minify-dts.ts","rename-iife":"tsx tools/rename-iife.ts","check-publish":"npm pack --dry-run","release-patch":"npm version patch && git push && git push --tags && npm publish","esbuild-minify":"tsx tools/esbuild.ts","prepublishOnly":"npm run clear:dist","build:deprecated":"npm run clear:dist && tsup && npm run esbuild-minify && npm run dts-minify && npm run rename-iife && npm run postbuild"},"_npmUser":{"name":"rzlzone","email":"rizalvindwiky1998@gmail.com"},"jsdelivr":"./dist/rzl-ziggy.iife.js","prettier":{"semi":true,"tabWidth":2,"printWidth":80,"singleQuote":false,"trailingComma":"none"},"deprecated":"Deprecated. Please upgrade to the latest version by running '@rzl-zone/ziggy-route@latest'.","repository":{"url":"git+https://github.com/rzl-zone/ziggy-route.git","type":"git"},"_npmVersion":"10.8.2","description":"Typed Laravel route generator for any frontend — works with React, Vue, Vanilla JS, and other JavaScript-based stacks.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"qs":"~6.9.7","chalk":"^5.5.0","@types/qs":"^6.9.17","vite-plugin-run":"^0.6.1"},"publishConfig":{"access":"public"},"typesVersions":{"*":{".":["dist/ziggy-route/index.d.ts"],"vue":["dist/ziggy-route/vue.d.ts"],"react":["dist/ziggy-route/react.d.ts"],"vite-plugin":["dist/vite-plugin/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","glob":"^11.0.3","tsup":"^8.5.0","vite":"^7.0.6","terser":"^5.44.0","del-cli":"^6.0.0","prettier":"^3.6.2","type-fest":"^4.41.0","typescript":"^5.8.3","@types/node":"^24.2.0","pretty-bytes":"^7.0.0","@rzl-zone/utils-js":"^3.2.0","json-schema-to-typescript":"^15.0.4"},"_npmOperationalInternal":{"tmp":"tmp/ziggy-route_0.0.11_1758140397692_0.5361911341376617","host":"s3://npm-registry-packages-npm-production"}},"0.0.12":{"name":"@rzl-zone/ziggy-route","version":"0.0.12","keywords":["laravel","routes","javascript","typescript","rzl","app","utils","utility","helper","helpers","library","functions","ziggy","rzl-app","ziggy js","rzl-zone","rzl-ziggy","ziggy-route","@rzl-zone/ziggy-route"],"author":{"name":"RZL"},"license":"MIT","_id":"@rzl-zone/ziggy-route@0.0.12","maintainers":[{"name":"rzlzone","email":"rizalvindwiky1998@gmail.com"}],"homepage":"https://github.com/rzl-zone/ziggy-route#readme","bugs":{"url":"https://github.com/rzl-zone/ziggy-route/issues"},"dist":{"shasum":"0e882833ce3705f4d56970b4c4847ca654de9c4d","tarball":"https://registry.npmjs.org/@rzl-zone/ziggy-route/-/ziggy-route-0.0.12.tgz","fileCount":21,"integrity":"sha512-nhtVRyeJLOMaVcRKGKhu4qzyNO1qb+rmAh6Za9CEY2rtbqQmx3aYcoYW/olEzzsuIrFqtewWNau1cIP44FPIew==","signatures":[{"sig":"MEQCICF2i122MbI7/vn3GS+yQUJqOHqGpd4IuXdOOA5cTpg3AiAOq7TADENrTv8Whvc1X2ORpkssm6Htz5IeD5jG7+1dCw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@rzl-zone%2fziggy-route@0.0.12","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":188836},"main":"./dist/index.esm.js","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/rzl-ziggy.iife.js","mangle":{"regex":"^_(?!query)"},"module":"./dist/index.esm.js","authors":[{"url":"https://github.com/rzl-app","name":"Rizalfin Dwiky","email":"rizalvindwiky@gmail.com"},{"url":"https://github.com/tighten/ziggy","name":"Tighten Co. (original Ziggy authors)"}],"exports":{".":{"types":"./dist/ziggy-route/index.d.ts","import":"./dist/ziggy-route/index.esm.js","default":"./dist/ziggy-route/index.esm.js","require":"./dist/ziggy-route/index.cjs"},"./vue":{"types":"./dist/ziggy-route/vue.d.ts","import":"./dist/ziggy-route/vue.esm.js","default":"./dist/ziggy-route/vue.esm.js","require":"./dist/ziggy-route/vue.cjs"},"./react":{"types":"./dist/ziggy-route/react.d.ts","import":"./dist/ziggy-route/react.esm.js","default":"./dist/ziggy-route/react.esm.js","require":"./dist/ziggy-route/react.cjs"},"./vite-plugin":{"types":"./dist/vite-plugin/index.d.ts","import":"./dist/vite-plugin/index.esm.js","default":"./dist/vite-plugin/index.esm.js","require":"./dist/vite-plugin/index.cjs"}},"gitHead":"3d8368257268d3f65b61bfee7ef43980db63c707","scripts":{"test":"vitest --typecheck","build":"npm run clear:dist && tsup && npm run postbuild && npm run dts-minify && npm run rename-iife","format":"prettier . --write","prepare":"npm run build","postbuild":"del-cli \"dist/**/*.d.cts\"","clear:dist":"rm -rf ./dist || true","dts-minify":"tsx tools/minify-dts.ts","rename-iife":"tsx tools/rename-iife.ts","check-publish":"npm pack --dry-run","release-patch":"npm version patch && git push && git push --tags && npm publish","esbuild-minify":"tsx tools/esbuild.ts","prepublishOnly":"npm run clear:dist","build:deprecated":"npm run clear:dist && tsup && npm run esbuild-minify && npm run dts-minify && npm run rename-iife && npm run postbuild"},"_npmUser":{"name":"rzlzone","email":"rizalvindwiky1998@gmail.com"},"jsdelivr":"./dist/rzl-ziggy.iife.js","prettier":{"semi":true,"tabWidth":2,"printWidth":80,"singleQuote":false,"trailingComma":"none"},"deprecated":"Deprecated. Please upgrade to the latest version by running '@rzl-zone/ziggy-route@latest'.","repository":{"url":"git+https://github.com/rzl-zone/ziggy-route.git","type":"git"},"_npmVersion":"10.8.2","description":"Typed Laravel route generator for any frontend — works with React, Vue, Vanilla JS, and other JavaScript-based stacks.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"qs":"~6.9.7","chalk":"^5.5.0","@types/qs":"^6.9.17","vite-plugin-run":"^0.6.1"},"publishConfig":{"access":"public"},"typesVersions":{"*":{".":["dist/ziggy-route/index.d.ts"],"vue":["dist/ziggy-route/vue.d.ts"],"react":["dist/ziggy-route/react.d.ts"],"vite-plugin":["dist/vite-plugin/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","glob":"^11.0.3","tsup":"^8.5.0","vite":"^7.0.6","terser":"^5.44.0","del-cli":"^6.0.0","prettier":"^3.6.2","type-fest":"^4.41.0","typescript":"^5.8.3","@types/node":"^24.2.0","pretty-bytes":"^7.0.0","@rzl-zone/utils-js":"^3.2.0","json-schema-to-typescript":"^15.0.4"},"_npmOperationalInternal":{"tmp":"tmp/ziggy-route_0.0.12_1758186418716_0.47748375691996836","host":"s3://npm-registry-packages-npm-production"}},"0.0.13":{"name":"@rzl-zone/ziggy-route","version":"0.0.13","keywords":["laravel","routes","javascript","typescript","rzl","app","utils","utility","helper","helpers","library","functions","ziggy","rzl-app","ziggy js","rzl-zone","rzl-ziggy","ziggy-route","ziggy route","@rzl-zone/ziggy-route","rzl","rzl-zone","rzl zone"],"author":{"name":"Rizalvin Dwiky","email":"rizalvindwiky@gmail.com"},"license":"MIT","_id":"@rzl-zone/ziggy-route@0.0.13","maintainers":[{"name":"rzlzone","email":"rizalvindwiky1998@gmail.com"}],"homepage":"https://github.com/rzl-zone/ziggy-route#readme","bugs":{"url":"https://github.com/rzl-zone/ziggy-route/issues"},"dist":{"shasum":"11824c22f050d055068bee815a674c8662f7e1f9","tarball":"https://registry.npmjs.org/@rzl-zone/ziggy-route/-/ziggy-route-0.0.13.tgz","fileCount":21,"integrity":"sha512-Pz3nX5ZuDbT6Wttqhfn3pMNtrVNUc494Y3gxYaRYcQf4gkDSkzlkU+r+b1kRfN6chZt8HFD2N2BvIHHLRTO78Q==","signatures":[{"sig":"MEQCIGjDSARzRgkOZP3d29N3XA/3PQ5N6illObJWrxPpsuSYAiBEGhJy1MMfXtMGHE85UTYx4ihUD+JhxDKsVop21gjG2w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@rzl-zone%2fziggy-route@0.0.13","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":343715},"main":"./dist/ziggy-route/index.esm.js","type":"module","types":"./dist/ziggy-route/index.d.ts","unpkg":"./dist/ziggy-route/rzl-ziggy.iife.js","mangle":{"regex":"^_(?!query)"},"module":"./dist/ziggy-route/index.esm.js","authors":[{"url":"https://github.com/rzl-app","name":"Rizalfin Dwiky","email":"rizalvindwiky@gmail.com"},{"url":"https://github.com/tighten/ziggy","name":"Tighten Co. (original Ziggy authors)"}],"exports":{".":{"types":"./dist/ziggy-route/index.d.ts","import":"./dist/ziggy-route/index.esm.js","default":"./dist/ziggy-route/index.esm.js","require":"./dist/ziggy-route/index.cjs"},"./vue":{"types":"./dist/ziggy-route/vue.d.ts","import":"./dist/ziggy-route/vue.esm.js","default":"./dist/ziggy-route/vue.esm.js","require":"./dist/ziggy-route/vue.cjs"},"./react":{"types":"./dist/ziggy-route/react.d.ts","import":"./dist/ziggy-route/react.esm.js","default":"./dist/ziggy-route/react.esm.js","require":"./dist/ziggy-route/react.cjs"},"./vite-plugin":{"types":"./dist/vite-plugin/index.d.ts","import":"./dist/vite-plugin/index.esm.js","default":"./dist/vite-plugin/index.esm.js","require":"./dist/vite-plugin/index.cjs"}},"gitHead":"b655305c487e2073aa8457cd05413c1d459b5216","scripts":{"test":"vitest --typecheck","build":"npm run clear:dist && tsup && npm run postbuild && npm run rename-iife && npm run clean-dist:js-comments && npm run normalize:new-lines && npm run inject:banner","format":"prettier . --write","prepare":"npm run build","postbuild":"del-cli \"dist/**/*.d.cts\"","clear:dist":"rm -rf ./dist || true","dts-minify":"tsx tools/minify-dts.ts","rename-iife":"tsx tools/rename-iife.ts","check-publish":"npm pack --dry-run","inject:banner":"tsx tools/injectBanner","release-patch":"npm version patch && git push && git push --tags && npm publish","esbuild-minify":"tsx tools/esbuild.ts","prepublishOnly":"npm run clear:dist","build:deprecated":"npm run clear:dist && tsup && npm run esbuild-minify && npm run dts-minify && npm run rename-iife && npm run postbuild","normalize:new-lines":"tsx tools/normalizeNewLineDistFiles","clean-dist:js-comments":"tsx tools/cleanDistJsComments.ts"},"_npmUser":{"name":"rzlzone","email":"rizalvindwiky1998@gmail.com"},"jsdelivr":"./dist/ziggy-route/rzl-ziggy.iife.js","prettier":{"semi":true,"tabWidth":2,"printWidth":80,"singleQuote":false,"trailingComma":"none"},"deprecated":"Deprecated. Please upgrade to the latest version by running '@rzl-zone/ziggy-route@latest'.","repository":{"url":"git+https://github.com/rzl-zone/ziggy-route.git","type":"git"},"_npmVersion":"10.8.2","description":"Typed Laravel route generator for any frontend — works with React, Vue, Vanilla JS, and other JavaScript-based stacks.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"qs":"~6.9.7","chalk":"^5.5.0","@types/qs":"^6.9.17","vite-plugin-run":"^0.6.1","@rzl-zone/ts-types-plus":"^0.1.0"},"publishConfig":{"access":"public"},"typesVersions":{"*":{".":["dist/ziggy-route/index.d.ts"],"vue":["dist/ziggy-route/vue.d.ts"],"react":["dist/ziggy-route/react.d.ts"],"vite-plugin":["dist/vite-plugin/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","glob":"^11.0.3","tsup":"^8.5.0","vite":"^7.0.6","terser":"^5.44.0","del-cli":"^6.0.0","prettier":"^3.6.2","type-fest":"^4.41.0","typescript":"^5.8.3","@types/node":"^20.19.0","pretty-bytes":"^7.0.0","@rzl-zone/utils-js":"^3.11.0","json-schema-to-typescript":"^15.0.4"},"_npmOperationalInternal":{"tmp":"tmp/ziggy-route_0.0.13_1764381156374_0.09246082995083027","host":"s3://npm-registry-packages-npm-production"}},"0.0.14":{"name":"@rzl-zone/ziggy-route","version":"0.0.14","keywords":["laravel","routes","javascript","typescript","rzl","app","utils","utility","helper","helpers","library","functions","ziggy","rzl-app","ziggy js","rzl-zone","rzl-ziggy","ziggy-route","ziggy route","@rzl-zone/ziggy-route","rzl","rzl-zone","rzl zone"],"author":{"name":"Rizalvin Dwiky","email":"rizalvindwiky@gmail.com"},"license":"MIT","_id":"@rzl-zone/ziggy-route@0.0.14","maintainers":[{"name":"rzlzone","email":"rizalvindwiky1998@gmail.com"}],"homepage":"https://github.com/rzl-zone/ziggy-route#readme","bugs":{"url":"https://github.com/rzl-zone/ziggy-route/issues"},"dist":{"shasum":"3576c521f613138c783266977ab45df290628532","tarball":"https://registry.npmjs.org/@rzl-zone/ziggy-route/-/ziggy-route-0.0.14.tgz","fileCount":21,"integrity":"sha512-7K5zFF1G3bRkwrypy1Ly7fzC5eldhk+BR8MbQ+D/MhWiClOq2VZhfiqiZ0AXmm8o0fkzQhlZ9evy7A0SNpX7ug==","signatures":[{"sig":"MEUCIDTwc/vjD7hcv3p6xCZ2IezkAPOAgvFf5tFo1i2OGDM5AiEAwGjreJPOSKciYKqJLDbDdCbtpRa+GliwUaOHA4V1cQc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@rzl-zone%2fziggy-route@0.0.14","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":343836},"main":"./dist/ziggy-route/index.esm.js","type":"module","types":"./dist/ziggy-route/index.d.ts","unpkg":"./dist/ziggy-route/rzl-ziggy.iife.js","mangle":{"regex":"^_(?!query)"},"module":"./dist/ziggy-route/index.esm.js","authors":[{"url":"https://github.com/rzl-app","name":"Rizalfin Dwiky","email":"rizalvindwiky@gmail.com"},{"url":"https://github.com/tighten/ziggy","name":"Tighten Co. (original Ziggy authors)"}],"exports":{".":{"types":"./dist/ziggy-route/index.d.ts","import":"./dist/ziggy-route/index.esm.js","default":"./dist/ziggy-route/index.esm.js","require":"./dist/ziggy-route/index.cjs"},"./vue":{"types":"./dist/ziggy-route/vue.d.ts","import":"./dist/ziggy-route/vue.esm.js","default":"./dist/ziggy-route/vue.esm.js","require":"./dist/ziggy-route/vue.cjs"},"./react":{"types":"./dist/ziggy-route/react.d.ts","import":"./dist/ziggy-route/react.esm.js","default":"./dist/ziggy-route/react.esm.js","require":"./dist/ziggy-route/react.cjs"},"./vite-plugin":{"types":"./dist/vite-plugin/index.d.ts","import":"./dist/vite-plugin/index.esm.js","default":"./dist/vite-plugin/index.esm.js","require":"./dist/vite-plugin/index.cjs"}},"gitHead":"82dddb934e50ee5ab40f5a8276dd03f52d5b3172","scripts":{"test":"vitest --typecheck","build":"npm run clear:dist && tsup && npm run postbuild && npm run rename-iife && npm run clean-dist:js-comments && npm run normalize:new-lines && npm run inject:banner","format":"prettier . --write","prepare":"npm run build","postbuild":"del-cli \"dist/**/*.d.cts\"","clear:dist":"rm -rf ./dist || true","dts-minify":"tsx tools/minify-dts.ts","rename-iife":"tsx tools/rename-iife.ts","check-publish":"npm pack --dry-run","inject:banner":"tsx tools/injectBanner","release-patch":"npm version patch && git push && git push --tags && npm publish","esbuild-minify":"tsx tools/esbuild.ts","prepublishOnly":"npm run clear:dist","build:deprecated":"npm run clear:dist && tsup && npm run esbuild-minify && npm run dts-minify && npm run rename-iife && npm run postbuild","normalize:new-lines":"tsx tools/normalizeNewLineDistFiles","clean-dist:js-comments":"tsx tools/cleanDistJsComments.ts"},"_npmUser":{"name":"rzlzone","email":"rizalvindwiky1998@gmail.com"},"jsdelivr":"./dist/ziggy-route/rzl-ziggy.iife.js","prettier":{"semi":true,"tabWidth":2,"printWidth":80,"singleQuote":false,"trailingComma":"none"},"repository":{"url":"git+https://github.com/rzl-zone/ziggy-route.git","type":"git"},"_npmVersion":"10.8.2","description":"Typed Laravel route generator for any frontend — works with React, Vue, Vanilla JS, and other JavaScript-based stacks.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"qs":"~6.9.7","chalk":"^5.5.0","@types/qs":"^6.9.17","vite-plugin-run":"^0.6.1","@rzl-zone/ts-types-plus":"^0.1.0"},"publishConfig":{"access":"public"},"typesVersions":{"*":{".":["dist/ziggy-route/index.d.ts"],"vue":["dist/ziggy-route/vue.d.ts"],"react":["dist/ziggy-route/react.d.ts"],"vite-plugin":["dist/vite-plugin/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","glob":"^11.0.3","tsup":"^8.5.0","vite":"^7.0.6","terser":"^5.44.0","del-cli":"^6.0.0","prettier":"^3.6.2","type-fest":"^4.41.0","typescript":"^5.8.3","@types/node":"^20.19.0","pretty-bytes":"^7.0.0","@rzl-zone/utils-js":"^3.11.0","json-schema-to-typescript":"^15.0.4"},"_npmOperationalInternal":{"tmp":"tmp/ziggy-route_0.0.14_1764383652053_0.8099721009432477","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Deprecated. Please upgrade to the latest version by running '@rzl-zone/ziggy-route@latest'."},"0.0.15":{"name":"@rzl-zone/ziggy-route","version":"0.0.15","keywords":["laravel","routes","javascript","typescript","rzl","app","utils","utility","helper","helpers","library","functions","ziggy","rzl-app","ziggy js","rzl-zone","rzl-ziggy","ziggy-route","ziggy route","@rzl-zone/ziggy-route","rzl","rzl-zone","rzl zone"],"author":{"name":"Rizalvin Dwiky","email":"rizalvindwiky@gmail.com"},"license":"MIT","_id":"@rzl-zone/ziggy-route@0.0.15","maintainers":[{"name":"rzlzone","email":"rizalvindwiky1998@gmail.com"}],"homepage":"https://github.com/rzl-zone/ziggy-route#readme","bugs":{"url":"https://github.com/rzl-zone/ziggy-route/issues"},"dist":{"shasum":"caffbefcb77c2a7896a4cadda7a2469a56a1c485","tarball":"https://registry.npmjs.org/@rzl-zone/ziggy-route/-/ziggy-route-0.0.15.tgz","fileCount":21,"integrity":"sha512-0HYgCgQyqPL5a6BeFqtYfvdK0om5OwkAluxgRZHIQ5HSK2002Zr/2tREhvDB2r5XsvtlCjDtlnE33I6LMya2Dw==","signatures":[{"sig":"MEYCIQDc4PZnQ4Yzi33FwsIPv5PE/772HhbJsB6ar3ExsZw/XwIhANOGA0Z1s9CUViwBqbnwEcN7hMk4w89Pnj6YXlx4ztzh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@rzl-zone%2fziggy-route@0.0.15","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":343885},"main":"./dist/ziggy-route/index.esm.js","type":"module","types":"./dist/ziggy-route/index.d.ts","unpkg":"./dist/ziggy-route/rzl-ziggy.iife.js","mangle":{"regex":"^_(?!query)"},"module":"./dist/ziggy-route/index.esm.js","authors":[{"url":"https://github.com/rzl-app","name":"Rizalfin Dwiky","email":"rizalvindwiky@gmail.com"},{"url":"https://github.com/tighten/ziggy","name":"Tighten Co. (original Ziggy authors)"}],"exports":{".":{"types":"./dist/ziggy-route/index.d.ts","import":"./dist/ziggy-route/index.esm.js","default":"./dist/ziggy-route/index.esm.js","require":"./dist/ziggy-route/index.cjs"},"./vue":{"types":"./dist/ziggy-route/vue.d.ts","import":"./dist/ziggy-route/vue.esm.js","default":"./dist/ziggy-route/vue.esm.js","require":"./dist/ziggy-route/vue.cjs"},"./react":{"types":"./dist/ziggy-route/react.d.ts","import":"./dist/ziggy-route/react.esm.js","default":"./dist/ziggy-route/react.esm.js","require":"./dist/ziggy-route/react.cjs"},"./vite-plugin":{"types":"./dist/vite-plugin/index.d.ts","import":"./dist/vite-plugin/index.esm.js","default":"./dist/vite-plugin/index.esm.js","require":"./dist/vite-plugin/index.cjs"}},"gitHead":"a32ff01f9f1aa8dce525807112ff398f6948a5db","scripts":{"test":"vitest --typecheck","build":"npm run clear:dist && tsup && npm run postbuild && npm run rename-iife && npm run clean-dist:js-comments && npm run normalize:new-lines && npm run inject:banner","format":"prettier . --write","prepare":"npm run build","postbuild":"del-cli \"dist/**/*.d.cts\"","clear:dist":"rm -rf ./dist || true","dts-minify":"tsx tools/minify-dts.ts","rename-iife":"tsx tools/rename-iife.ts","check-publish":"npm pack --dry-run","inject:banner":"tsx tools/injectBanner","release-patch":"npm version patch && git push && git push --tags && npm publish","esbuild-minify":"tsx tools/esbuild.ts","prepublishOnly":"npm run clear:dist","build:deprecated":"npm run clear:dist && tsup && npm run esbuild-minify && npm run dts-minify && npm run rename-iife && npm run postbuild","normalize:new-lines":"tsx tools/normalizeNewLineDistFiles","clean-dist:js-comments":"tsx tools/cleanDistJsComments.ts"},"_npmUser":{"name":"rzlzone","email":"rizalvindwiky1998@gmail.com"},"jsdelivr":"./dist/ziggy-route/rzl-ziggy.iife.js","prettier":{"semi":true,"tabWidth":2,"printWidth":80,"singleQuote":false,"trailingComma":"none"},"repository":{"url":"git+https://github.com/rzl-zone/ziggy-route.git","type":"git"},"_npmVersion":"10.8.2","description":"Typed Laravel route generator for any frontend — works with React, Vue, Vanilla JS, and other JavaScript-based stacks.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"qs":"~6.9.7","chalk":"^5.5.0","@types/qs":"^6.9.17","vite-plugin-run":"^0.6.1","@rzl-zone/ts-types-plus":"^0.1.0"},"publishConfig":{"access":"public"},"typesVersions":{"*":{".":["dist/ziggy-route/index.d.ts"],"vue":["dist/ziggy-route/vue.d.ts"],"react":["dist/ziggy-route/react.d.ts"],"vite-plugin":["dist/vite-plugin/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","glob":"^11.0.3","tsup":"^8.5.0","vite":"^7.0.6","terser":"^5.44.0","del-cli":"^6.0.0","prettier":"^3.6.2","type-fest":"^4.41.0","typescript":"^5.8.3","@types/node":"^20.19.0","pretty-bytes":"^7.0.0","@rzl-zone/utils-js":"^3.11.0","json-schema-to-typescript":"^15.0.4"},"_npmOperationalInternal":{"tmp":"tmp/ziggy-route_0.0.15_1764384270691_0.07625006511550914","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-08-07T22:33:19.821Z","modified":"2025-11-29T02:44:32.872Z","0.1.0":"2025-08-07T18:21:57.019Z","0.2.0":"2025-08-07T18:46:27.011Z","0.3.0":"2025-08-07T18:50:03.084Z","0.4.0":"2025-08-07T19:07:34.886Z","0.2.1":"2025-08-07T19:40:53.201Z","0.2.2":"2025-08-07T20:15:39.889Z","0.4.1":"2025-08-07T22:08:19.800Z","0.0.2":"2025-08-07T22:33:20.102Z","0.0.3":"2025-08-07T23:28:09.836Z","0.0.4":"2025-09-17T15:09:36.863Z","0.0.5":"2025-09-17T15:28:35.276Z","0.0.6":"2025-09-17T16:00:50.138Z","0.0.7":"2025-09-17T16:32:26.884Z","0.0.8":"2025-09-17T16:52:38.771Z","0.0.9":"2025-09-17T17:17:59.685Z","0.0.10":"2025-09-17T18:33:07.980Z","0.0.11":"2025-09-17T20:19:57.872Z","0.0.12":"2025-09-18T09:06:58.897Z","0.0.13":"2025-11-29T01:52:36.547Z","0.0.14":"2025-11-29T02:34:12.298Z","0.0.15":"2025-11-29T02:44:30.879Z"},"bugs":{"url":"https://github.com/rzl-zone/ziggy-route/issues"},"author":{"name":"Rizalvin Dwiky","email":"rizalvindwiky@gmail.com"},"license":"MIT","homepage":"https://github.com/rzl-zone/ziggy-route#readme","keywords":["laravel","routes","javascript","typescript","rzl","app","utils","utility","helper","helpers","library","functions","ziggy","rzl-app","ziggy js","rzl-zone","rzl-ziggy","ziggy-route","ziggy route","@rzl-zone/ziggy-route","rzl","rzl-zone","rzl zone"],"repository":{"url":"git+https://github.com/rzl-zone/ziggy-route.git","type":"git"},"description":"Typed Laravel route generator for any frontend — works with React, Vue, Vanilla JS, and other JavaScript-based stacks.","maintainers":[{"name":"rzlzone","email":"rizalvindwiky1998@gmail.com"}],"readme":"<div align=\"center\" style=\"display: flex;justify-content: center;flex-direction: column;align-items: center;gap: 0rem\">\n  <p align=\"center\">\n    <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://raw.githubusercontent.com/rzl-zone/ziggy-route/main/logo-circle.png\">\n      <img src=\"https://raw.githubusercontent.com/rzl-zone/ziggy-route/main/logo-circle.png\" align=\"middle\" alt=\"RzlZone Logo\" width=\"110\" style=\"max-width: 100%;\" />\n    </a>\n  </p>\n</div>\n\n<h1 align=\"center\"><strong>Ziggy Route</strong></h1>\n\n<p align=\"center\">\n  <i>\n    Fully-Typed <a href=\"https://laravel.com\"><code>Laravel</code></a> Route Generator for JS/TS.\n  </i><br/>\n  <i><strong>Ziggy Route</strong> is a customized fork of <a href=\"https://github.com/tighten/ziggy\"><code>Ziggy</code></a> that provides a fully-typed JavaScript <code>route()</code> function mimicking Laravel's routing, with additional features such as extended config handling and attribute stubs.</i><br/>\n  <strong><i>Customization with ❤️ by <a href=\"https://github.com/rzl-zone\" target=\"_blank\" rel=\"nofollow noreferrer noopener\">@rzl-zone</a>.</i></strong>\n</p>\n\n<div align=\"center\" style=\"display: flex;justify-content: center;flex-direction: column;align-items: center;gap: 0rem\">\n  <p align=\"center\">\n    <a href=\"https://packagist.org/packages/rzl-zone/ziggy-route\" target=\"_blank\" rel=\"nofollow noreferrer noopener\">\n      <img src=\"https://img.shields.io/packagist/v/rzl-zone/ziggy-route.svg?logo=packagist&label=Latest%20Version%20Packagist&color=red&logoColor=white&style=flat-rounded\" alt=\"Latest Version on Packagist\" />\n    </a>\n    <a href=\"https://packagist.org/packages/rzl-zone/ziggy-route\" target=\"_blank\" rel=\"nofollow noreferrer noopener\">\n      <img src=\"https://img.shields.io/packagist/dt/rzl-zone/ziggy-route.svg?logo=packagist&label=Weekly%20Downloads%20Packagist&color=orange&logoColor=white&style=flat-rounded\" alt=\"Latest Version on Packagist\" />\n    </a>\n    <a href=\"https://npmjs.com/package/@rzl-zone/ziggy-route\" target=\"_blank\" rel=\"nofollow noreferrer noopener\">\n      <img src=\"https://img.shields.io/npm/v/@rzl-zone/ziggy-route?logo=npm&label=Latest%20Version%20NPM&color=4CAF50&logoColor=CB3837&style=flat-rounded\" alt=\"Latest Version on NPM\" />\n    </a>\n    <a href=\"https://npmjs.com/package/@rzl-zone/ziggy-route\" target=\"_blank\" rel=\"nofollow noreferrer noopener\">\n      <img src=\"https://img.shields.io/npm/dt/@rzl-zone/ziggy-route?logo=npm&label=Total%20Downloads%20NPM&color=007EC6&logoColor=CB3837&style=flat-rounded\" alt=\"NPM Total Downloads\" />\n    </a>\n    <a href=\"https://npmjs.com/package/@rzl-zone/ziggy-route\" target=\"_blank\" rel=\"nofollow noreferrer noopener\">\n      <img src=\"https://img.shields.io/npm/dw/@rzl-zone/ziggy-route?logo=npm&label=Weekly%20Downloads%20NPM&color=CB3837&logoColor=CB3837&style=flat-rounded\" alt=\"NPM Weekly Downloads\" />\n    </a>\n    <a href=\"https://github.com/rzl-zone/ziggy-route/blob/main/CONTRIBUTING.md\" target=\"_blank\" rel=\"nofollow noreferrer noopener\">\n      <img src=\"https://img.shields.io/badge/PRs-Welcome-brightgreen.svg?color=28A745\" alt=\"PRs Welcome\" />\n    </a>\n    <a href=\"https://github.com/rzl-zone/ziggy-route/blob/main/LICENSE.md\" target=\"_blank\" rel=\"nofollow noreferrer noopener\">\n      <img src=\"https://img.shields.io/badge/License-MIT-blue.svg?color=3DA639\" alt=\"GitHub license\" />\n    </a>\n    <a href=\"https://github.com/rzl-zone/ziggy-route\" target=\"_blank\" rel=\"nofollow noreferrer noopener\">\n      <img src=\"https://img.shields.io/badge/Repo-on%20GitHub-181717?logo=github\" alt=\"GitHub\" />\n    </a>\n    <a href=\"https://github.com/orgs/rzl-zone/repositories\" target=\"_blank\" rel=\"nofollow noreferrer noopener\">\n      <img src=\"https://img.shields.io/badge/Org-rzl--zone-24292e?logo=github&style=flat-rounded\" alt=\"Repo on GitHub\" />\n    </a>\n  </p>\n</div>\n\nThis package is **not officially maintained by Tighten**.\n\nIt is framework-agnostic and can be used with **Vue**, **React**, **Vanilla JS**, and other JavaScript-based frontends that rely on Laravel's routing system.\n> ⚡️ Includes a Vite plugin for auto-generating route definitions on the fly from Laravel!\n\n---\n\n- [**Installation**](#installation)\n- [**Usage**](#usage)\n    - [`route()` function](#route-function)\n    - [`Router` class](#router-class)\n    - [Route-model binding](#route-model-binding)\n    - [TypeScript Support](#typescript-support)\n- [**JavaScript frameworks**](#javascript-frameworks)\n    - [Generating and importing Rzl Ziggy-Route configuration](#generating-and-importing-rzl-ziggy-route-configuration)\n    - [Importing the `route()` function](#importing-the-route-function)\n    - [Vue](#vue)\n    - [React](#react)\n    - [SPAs or separate repos](#spas-or-separate-repos)\n- [**Publish Config File**](#publish-config-file)\n- [**Filtering Routes**](#filtering-routes)\n    - [Including/excluding routes](#includingexcluding-routes)\n    - [Filtering with groups](#filtering-with-groups)\n- [**Default Parameter Values**](#default-parameter-values)\n- [**Routes File Generator**](#routes-file-generator)\n    - [Using JavaScript/TypeScript](#using-javascript-or-typescript)\n    - [Output Name File And Path To Generate](#output-name-file-and-path-to-generate)\n- [**Automatically Regenerates File Routes**](#automatically-regenerates-file-routes)\n- [**Other**](#other)\n- [**Contributing**](#contributing)\n \n---\n## Installation\n\nInstall Rzl Ziggy-Route in your Laravel backend with Composer:\n\n```bash\ncomposer require rzl-zone/ziggy-route\n```\n\nInstall Rzl Ziggy-Route in your frontend or SPA with NPM, PNPM or YARN:\n\n```bash\nnpm i @rzl-zone/ziggy-route \n# or\npnpm add @rzl-zone/ziggy-route \n# or\nyarn add @rzl-zone/ziggy-route\n```\n\nAdd the ***`@rzlRoutes`*** Blade directive to your main layout (_before_ your application's JavaScript), and the `route()` helper function will be available globally!\n\n> By default, the output of the `@rzlRoutes` Blade directive includes a list of all your application's routes and their parameters. This route list is included in the HTML of the page and can be viewed by end users. To configure which routes are included in this list, or to show and hide different routes on different pages, see [Filtering Routes](#filtering-routes).\n\n---\n## Usage\n\n### `route()` function\n\nRzl Ziggy-Route `route()` function works like [Laravel's `route()` helper](https://laravel.com/docs/helpers#method-route)—you can pass it the name of a route, and the parameters you want to pass to the route, and it will generate a URL.\n\n#### Basic usage\n\n```php\nRoute::get(\"posts\", fn (Request $request) => /* ... */)->name(\"posts.index\");\n```\n\n```js\nroute(\"posts.index\");                  \n// ➔ \"/posts\"\nroute(\"posts.index\", {}, true);        \n// ➔ \"https://rzl.test/posts\"\nroute(\"posts.index\", null, true);      \n// ➔ \"https://rzl.test/posts\"\nroute(\"posts.index\", undefined, true); \n// ➔ \"https://rzl.test/posts\"\n```\n\n#### Absolute URL\n\nThe third argument determines whether the generated URL should include the origin.\nBy default, it is false, meaning the URL will be returned without the origin.\nTo include the origin in the result, simply pass true as the third argument.\n\n> ⚠️ Passing a non-boolean value except null or undefined as the third argument will throw an error.\n\n```js\nroute(\"posts.index\");                  \n// ➔ \"/posts\"\nroute(\"posts.index\", {}, false);       \n// ➔ \"/posts\"\nroute(\"posts.index\", null, true);      \n// ➔ \"https://rzl.test/posts\"\nroute(\"posts.index\", undefined, true); \n// ➔ \"https://rzl.test/posts\"\n```\n> ⚠️ Passing a non-boolean value like null or undefined as the third argument will force to false.\n```js\nroute(\"posts.index\", {}, null);             \n// ➔ \"/posts\"\nroute(\"posts.index\", {}, undefined);        \n// ➔ \"/posts\"\nroute(\"posts.index\", null, undefined);      \n// ➔ \"/posts\"\nroute(\"posts.index\", undefined, undefined); \n// ➔ \"/posts\"\n```\n#### Parameters\n\n```php\nRoute::get(\"posts/{post}\", fn (Post $post) => /* ... */)->name(\"posts.show\");\n```\n\n```js\nroute(\"posts.show\", [1], true);                    \n// ➔ \"https://rzl.test/posts/1\"      \nroute(\"posts.show\", [1]);                          \n// ➔ \"/posts/1\"      \nroute(\"posts.show\", [{}]);                         \n// ➔  Error.\n// Error: Object passed as \"post\" parameter is missing route model binding key \"undefined\".\n// The first parameter (index 0) is must be passed as route parameters, e.g., { post }.\n\nroute(\"posts.show\", [1, { other: \"test\" }]);       \n// ➔ \"/posts/1?other=test\"\nroute(\"posts.show\", { post: 1 });                  \n// ➔ \"/posts/1\"\n```\n\n> ⚠️ Warning: Unknown route parameters in Laravel will be appended as query strings with empty values.\n```js\nroute(\"posts.show\", [1, \"unknown-route-params\"]);  \n// ➔ \"/posts/1?unknown-route-params=\"      \n```\n\n#### Multiple parameters\n\n```php\nRoute::get(\"venues/{venue}/events/{event}\", fn (Venue $venue, Event $event) => /* ... */)->name(\"venues.events.show\");\n```\n\n```js\nroute(\"venues.events.show\", [1, 2], true);                   \n// ➔ \"https://rzl.test/venues/1/events/2\"\nroute(\"venues.events.show\", [1, 2]);                         \n// ➔ \"/venues/1/events/2\"\nroute(\"venues.events.show\", [1, 2, { other: \"test\" }]);      \n// ➔ \"/venues/1/events/2?other=test\"\nroute(\"venues.events.show\", [1, {}]);                        \n// ➔ Error.  \n// Error: Object passed as \"event\" parameter is missing route model binding key \"undefined\".\n// The second parameter (index 1) is must be passed as route parameters, e.g., { event }.\n\nroute(\"venues.events.show\", { venue: 1, event: 2 });         \n// ➔ \"/venues/1/events/2\"\n```\n> ⚠️ Warning: Unknown route parameters in Laravel will be appended as query strings with empty values.\n```js\nroute(\"venues.events.show\", [1, 2, \"unknown-route-params\"]); \n// ➔ \"/venues/1/events/2?unknown-route-params=\"\n```\n\n#### Query parameters\n\nRzl Ziggy adds arguments that don't match any named route parameters as query parameters:\n\n```php\nRoute::get(\"venues/{venue}/events/{event}\", fn (Venue $venue, Event $event) => /* ... */)->name(\"venues.events.show\");\n```\n\n```js\nroute(\"venues.events.show\", {\n    venue: 1,\n    event: 2,\n    page: 5,\n    count: 10,\n});\n// ➔ \"/venues/1/events/2?page=5&count=10\"\nroute(\"venues.events.show\", {\n    venue: 1,\n    event: 2,\n    page: 5,\n    count: 10,\n    type: \"active\"\n}, true);\n// ➔ \"https://rzl.test/venues/1/events/2?page=5&count=10&type=active\"\n```\n\nIf you need to pass a query parameter with the same name as a route parameter, nest it under the special `_query` key:\n\n```js\nroute(\"venues.events.show\", {\n    venue: 1,\n    event: 2,\n    _query: {\n        event: 3,\n        page: 5,\n    },\n});\n// ➔ \"/venues/1/events/2?event=3&page=5\"\nroute(\"venues.events.show\", {\n    venue: 1,\n    event: 2,\n    type: \"disable\"\n    _query: {\n        event: 3,\n        page: 5,\n        type: \"active\",\n    },\n}, true);\n// ➔ \"https://rzl.test/venues/1/events/2?event=3&page=5&type=active\"\n```\n\nLike Laravel, Rzl Ziggy automatically encodes boolean query parameters as integers in the query string:\n\n```js\nroute(\"venues.events.show\", {\n    venue: 1,\n    event: 2,\n    _query: {\n        draft: false,\n        overdue: true,\n    },\n}, true);\n// ➔ \"https://rzl.test/venues/1/events/2?draft=0&overdue=1\"\nroute(\"venues.events.show\", {\n    venue: 1,\n    event: 2,\n    active: true,\n    _query: {\n        draft: false,\n        overdue: true,\n    },\n});\n// ➔ \"/venues/1/events/2?active=1&draft=0&overdue=1\"\n```\n\n- #### Usage at JS/TS example:\n```js\nroute(\"posts.show\", { post: 5, type: \"active\" });     \n// ➔ \"/de/posts/5?type=active\"\nroute(\"posts.show\", { post: 1 }, true);               \n// ➔ \"https://rzl.test/de/posts/1\"\nroute(\"posts.show\", { post: 1, locale:\"ar\" });        \n// ➔ \"/ar/posts/1\"\nroute(\"posts.show\", { post: 1, locale:\"en\" }, true);  \n// ➔ \"https://rzl.test/en/posts/1\"\n```\n\n#### Examples\n\nHTTP request with `axios`:\n\n```js\nconst post = { id: 1, title: \"Rzl Ziggy Stardust\" };\n\nreturn axios.get(route(\"posts.show\", post)).then((response) => response.data);\n```\n---\n### ⚠️ Warning: Calling `route()` Without Arguments\n\n- #### Calling `route()` without a name (or with undefined / null) can cause runtime errors when used in a string context.\n\n  ❌ Incorrect usage:\n\n\n  ```js\n  href={route()}\n  console.log(`${route()}`)\n  route(null)\n  route(undefined)\n  ```\n  These patterns may throw an error, such as:\n  ```js\n  - `Uncaught TypeError: can't access property \"toString\", x is undefined.`\n\n  - `Rzl-Ziggy Error: Function 'route()' was implicitly coerced to a primitive without a name.`\n\n  - `Rzl-Ziggy Error: Function route() was called without a name and used as a string. Pass a valid route name, or use route().current() to get the current route name, or...`\n  \n  - `Rzl-Ziggy Error: route() was called without a route name and then implicitly converted to a string. This typically happens when route() is used in a string context...`\n  ```\n  > ⚠️ The actual error message may vary depending on your environment or build process, but it typically happens because `route()` without a name returns an object that can't be coerced to a string.\n\n  ✅ Correct usage:\n  ```js\n  route(\"events.index\");\n  route().params;\n  route().queryParams;\n  route().routeParams;\n  route().current();\n  route().has(\"route.name\");\n  ```\n  > 💡 To safely introspect the current route, use route() as an object:\n  >  - [route().current()](#check-the-current-route-routecurrent)\n  >  - [route().has(\"route.name\")](#check-if-a-route-exists-routehas)\n  >  - [route().params](#retrieve-the-current-route-params-routeparams)\n  >  - [route().queryParams](#retrieve-all-search-query-params-only-except-params-route-in-laravel-route-in-the-current-route-routequeryparams)\n  >  - [route().routeParams](#retrieve-only-params-route-in-laravel-route-except-query-search-params-in-the-current-route-routerouteparams)\n\n---\n\n### `Router` class\n\nCalling Rzl Ziggy-Route `route()` function with no arguments will return an instance of its JavaScript `Router` class, which has some other useful properties and methods.\n\n#### Check the current route: `route().current()`\n\n```js\n// Laravel route called \"events.index\" with URI \"/events\"\n// Current window URL is https://rzl.test/events\n\nroute().current();               \n// ➔ \"events.index\"\nroute().current(\"events.index\"); \n// ➔ true\nroute().current(\"events.*\");     \n// ➔ true\nroute().current(\"events.show\");  \n// ➔ false\n```\n\n#### `route().current(...)` optionally accepts parameters as its second argument, and will check that their values also match in the current URL:\n\n```js\n// Laravel route called \"venues.events.show\" with URI \"/venues/{venue}/events/{event}\"\n// Current window URL is https://myapp.com/venues/1/events/2?hosts=all\n\nroute().current(\"venues.events.show\", [1]);                        \n// ➔ true\nroute().current(\"venues.events.show\", [6]);                        \n// ➔ false\nroute().current(\"venues.events.show\", [1, 5]);                     \n// ➔ false\nroute().current(\"venues.events.show\", [1, 2]);                     \n// ➔ true\nroute().current(\"venues.events.show\", [1, { hosts: \"all\" }]);      \n// ➔ Error\n//* Error: Object passed as \"event\" parameter is missing route model binding key \"undefined\".\n//* Error: (Cause array index 1 is must passing as routeParams, aka: {event}). \n\nroute().current(\"venues.events.show\", [1, 2, { hosts: \"all\" }]);   \n// ➔ true\nroute().current(\"venues.events.show\", [2, 2, { hosts: \"all\" }]);   \n// ➔ false\nroute().current(\"venues.events.show\", [1, { hosts: \"single\" }]);   \n// ➔ Error \n//* Error: Object passed as \"event\" parameter is missing route model binding key \"undefined\".\n//* Error: (Cause array index 1 is must passing as routeParams, aka: {event}).\n\nroute().current(\"venues.events.show\", [1, 5, { hosts: \"single\" }]);\n// ➔ false\nroute().current(\"venues.events.show\", [2, 2, { hosts: \"all\" }]);   \n// ➔ false\nroute().current(\"venues.events.show\", { venue: 1 });               \n// ➔ true\nroute().current(\"venues.events.show\", { venue: 1, event: 2 });     \n// ➔ true\nroute().current(\"venues.events.show\", { hosts: \"all\" });           \n// ➔ true\nroute().current(\"venues.events.show\", { venue: 6 });               \n// ➔ false\n```\n\n#### Check if a route exists: `route().has(...)`\n\n```js\n// Laravel app has only one named route, \"home\"\n\nroute().has(\"home\");   \n// ➔ true\nroute().has(\"orders\"); \n// ➔ false\n```\n\n#### Retrieve the current route params: `route().params`\n\n```js\n// Laravel route called \"venues.events.show\" with URI \"/venues/{venue}/events/{event}\"\n// Current window URL is https://myapp.com/venues/1/events/2?hosts=all\n \nconst test = route().params;\nconsole.log(test)         \n// ➔ { venue: \"1\", event: \"2\", hosts: \"all\" }\nconsole.log(test.venue)   \n// ➔ \"1\"\nconsole.log(test.hosts)   \n// ➔ \"all\"\nconsole.log(test.other)   \n// ➔ undefined\n```\n\n> Note: parameter values retrieved with `route().params` will always be returned as strings or undefined.\n\n#### Retrieve only params route in laravel route (except query search params) in the current route: `route().routeParams`\n\n```js\n// Laravel route called \"venues.events.show\" with URI \"/venues/{venue}/events/{event}\"\n// Current window URL is https://myapp.com/venues/1/events/2?hosts=all&type=test\n\nconst test = route().routeParams;\nconsole.log(test)         \n// ➔ { venue: \"1\", event: \"2\" }\nconsole.log(test.venue)   \n// ➔ \"1\"\nconsole.log(test.hosts)   \n// ➔ undefined\nconsole.log(test.other)   \n// ➔ undefined\n\n```\n\n> Note: parameter values retrieved with `route().routeParams` will always be returned as strings or undefined.\n\n#### Retrieve all search query params only (except params route in laravel route) in the current route: `route().queryParams`\n\n```js\n// Laravel route called \"venues.events.show\" with URI \"/venues/{venue}/events/{event}\"\n// Current window URL is https://myapp.com/venues/1/events/2?hosts=all&type=test\n \nconst test = route().queryParams;\nconsole.log(test)         \n// ➔ { hosts: \"all\", type: \"test\" }\nconsole.log(test.type)    \n// ➔ \"test\"\nconsole.log(test.hosts)   \n// ➔ \"all\"\nconsole.log(test.venue)   \n// ➔ undefined\nconsole.log(test.other)   \n// ➔ undefined\n```\n\n> Note: parameter values retrieved with `route().queryParams` will always be returned as strings or undefined.\n\n### Route-model binding\n\nRzl Ziggy supports Laravel's [route-model binding](https://laravel.com/docs/routing#route-model-binding), and can even recognize custom route key names. If you pass `route()` a JavaScript object as a route parameter, Rzl Ziggy will use the registered route-model binding keys for that route to find the correct parameter value inside the object. If no route-model binding keys are explicitly registered for a parameter, Rzl Ziggy will use the object's `id` key.\n\n```php\n// app/Models/Post.php\n\nclass Post extends Model\n{\n    public function getRouteKeyName()\n    {\n        return \"slug\";\n    }\n}\n```\n\n```php\nRoute::get(\"blog/{post}\", function (Post $post) {\n    return view(\"posts.show\", [\"post\" => $post]);\n})->name(\"posts.show\");\n```\n\n```js\nconst post = {\n    id: 3,\n    title: \"Introducing Rzl Ziggy v1\",\n    slug: \"introducing-rzl-ziggy-v1\",\n    date: \"2020-10-23T20:59:24.359278Z\",\n};\n\n// Rzl Ziggy knows that this route uses the \"slug\" route-model binding key:\n\nroute(\"posts.show\", post);       \n// ➔ \"/blog/introducing-rzl-ziggy-v1\"\nroute(\"posts.show\", post, true); \n// ➔ \"https://rzl.test/blog/introducing-rzl-ziggy-v1\"\n```\n\nRzl Ziggy also supports [custom keys](https://laravel.com/docs/routing#customizing-the-key) for scoped bindings declared directly in a route definition:\n\n```php\nRoute::get(\"authors/{author}/photos/{photo:uuid}\", fn (Author $author, Photo $photo) => /* ... */)\n    ->name(\"authors.photos.show\");\n```\n\n```js\nconst photo = {\n    uuid: \"714b19e8-ac5e-4dab-99ba-34dc6fdd24a5\",\n    filename: \"sunset.jpg\",\n}\n\nroute(\"authors.photos.show\", [{ id: 1, name: \"John\" }, photo], true);\n// ➔ \"https://rzl.test/authors/1/photos/714b19e8-ac5e-4dab-99ba-34dc6fdd24a5\"\n```\n\n### TypeScript Support\n\nRzl Ziggy includes TypeScript type definitions, and an Artisan command that can generate additional type definitions to enable route name and parameter autocompletion.\n\nTo generate route types, run the `rzl-ziggy:generate` command with the `--types` or `--types-only` option:\n\n```bash\nphp artisan rzl-ziggy:generate --types\n```\n\nTo make your IDE aware that Rzl Ziggy-Route `route()` helper is available globally, and to type it correctly, add a declaration like this in a `.d.ts` file somewhere in your project:\n\n```ts\nimport { route as routeFn } from \"@rzl-zone/ziggy-route\";\n\ndeclare global {\n    var route: typeof routeFn;\n}\n```\n\nIf you don't have [Rzl Ziggy-Route NPM package installed](https://www.npmjs.com/package/@rzl-zone/ziggy-route), add the following to your `jsconfig.json` or `tsconfig.json` to load Rzl Ziggy-Route types from your vendor directory:\n\n```json\n{\n    \"compilerOptions\": {\n        \"paths\": {\n            \"@rzl-zone/ziggy-route\": [\"./vendor/rzl-zone/ziggy-route\"]\n        }\n    }\n}\n```\n\n---\n## JavaScript frameworks\n\n> [!NOTE]\n> Many applications don't need the additional setup described here—the `@rzlRoutes` Blade directive makes Rzl Ziggy-Route `route()` function and config available globally, including within bundled JavaScript files.\n\nIf you are not using the `@rzlRoutes` Blade directive, you can import Rzl Ziggy-Route `route()` function and configuration directly into JavaScript/TypeScript files.\n\n### Generating and importing Rzl Ziggy-Route configuration\n\nRzl Ziggy provides an Artisan command to output its config and routes to a file:\n\n```bash\nphp artisan rzl-ziggy:generate\n```\n\nThis command places your configuration in `resources/js/rzl-ziggy/routes/index.ts` by default, but you can customize this path by passing an argument to the Artisan command or setting in the laravel config file `rzl-ziggy.output.path.main` for name file [Output Name File And Path To Generate](#output-name-file-and-path-to-generate) and `rzl-ziggy.lang` valid value is (`ts` or `js`) [Using JavaScript or TypeScript](#using-javascript-or-typescript).\n\nThe file `rzl-ziggy:generate` creates looks something like this:\n\n#### For TypeScript:\n```ts\n// resources/js/rzl-ziggy/routes/index.ts\n\n/** ---------------------------------\n  * * ***Generates files/routes of app based on Laravel route names.***\n  * ---------------------------------\n  *\n  * **This behaves similarly to `rzl-ziggy:generate`.**\n  * \n  * _* **TypeScript (TS) Mode.**_\n  */\nexport const appRoutes: string = `{\n  \"url\": \"https://rzl.test\",\n  \"port\": null,\n  \"routes\": {\n    \"home\": {\n      \"uri\": \"/\",\n      \"methods\": [\"GET\", \"HEAD\"],\n      \"domain\": null\n    },\n    \"login\": {\n      \"uri\": \"login\",\n      \"methods\": [\"GET\", \"HEAD\"],\n      \"domain\": null\n    }\n  }\n}`;\n \n```\n#### For JavaScript:\n```js\n// resources/js/rzl-ziggy/routes/index.js\n\n/** ---------------------------------\n  * * ***Generates files/routes of app based on Laravel route names.***\n  * ---------------------------------\n  *\n  * **This behaves similarly to `rzl-ziggy:generate`.**\n  * \n  * _* **JavaScript (JS) Mode.**_\n  */\nexport const appRoutes = `{\n  \"url\": \"https://rzl.test\",\n  \"port\": null,\n  \"routes\": {\n    \"home\": {\n      \"uri\": \"/\",\n      \"methods\": [\"GET\", \"HEAD\"],\n      \"domain\": null\n    },\n    \"login\": {\n      \"uri\": \"login\",\n      \"methods\": [\"GET\", \"HEAD\"],\n      \"domain\": null\n    }\n  }\n}`;\n \n```\n\n### Importing the `route()` function\n\nYou can import Rzl Ziggy like any other JavaScript library.  \nHowever, without the `@rzlRoutes` Blade directive, the route config (typically named `appRoutes`) is not available globally.\n\nThis means:\n\n- You must manually pass the config to the `route()` function.\n- Since `appRoutes` is a string, you need to parse it using `JSON.parse()` before passing it in.\n\n> ℹ️ Path import `import { appRoutes } from \"./rzl-ziggy/routes/index.js\";` depend from your setting at config php file, see: [Output Name File And Path To Generate](#output-name-file-and-path-to-generate).\n\n```js\nimport { route } from \"@rzl-zone/ziggy-route\";\nimport { appRoutes } from \"./rzl-ziggy/routes/index.js\";\n\nroute(\"home\", null, false, JSON.parse(appRoutes));\nroute(\"home\", undefined, undefined, JSON.parse(appRoutes));\n```\n\nTo simplify importing the `route()` function, you can create an alias to the vendor path:\n\n```js\n// vite.config.js\n\nexport default defineConfig({\n    resolve: {\n        alias: {\n            \"@rzl-zone/ziggy-route\": path.resolve(\"vendor/rzl-zone/ziggy-route\"),\n        },\n    },\n});\n```\n\nNow your imports can be shortened to:\n\n```js\nimport { route } from \"@rzl-zone/ziggy-route\";\n```\n\n### Vue\n\nRzl Ziggy includes a Vue plugin to make it easy to use the `route()` helper throughout your Vue app:\n\n```js\nimport { createApp } from \"vue\";\nimport { rzlZiggyVue } from \"@rzl-zone/ziggy-route/vue\";\nimport App from \"./App.vue\";\n\ncreateApp(App).use(rzlZiggyVue);\n```\n\nNow you can use the `route()` function anywhere in your Vue components and templates:\n\n```vue\n<a class=\"nav-link\" :href=\"route(\"home\")\">Home</a>\n```\n\nWith `<script setup>` in Vue 3 you can use `inject` to make the `route()` function available in your component script:\n\n```vue\n<script setup>\nimport { inject } from \"vue\";\n\nconst route = inject(\"route\");\n</script>\n```\n\nIf you are not using the `@rzlRoutes` Blade directive, import Rzl Ziggy-Route configuration too and pass it to `.use()`:\n\n\n> ℹ️ Path import `import { appRoutes } from \"./rzl-ziggy/routes/index.js\";` depend from your setting at config php file, see: [Output Name File And Path To Generate](#output-name-file-and-path-to-generate). \n\n```js\nimport { createApp } from \"vue\";\nimport { rzlZiggyVue } from \"@rzl-zone/ziggy-route/vue\";\nimport { appRoutes } from \"./rzl-ziggy/routes/index.js\";\nimport App from \"./App.vue\";\n\ncreateApp(App).use(rzlZiggyVue, JSON.parse(appRoutes));\n```\n\nIf you're using TypeScript, you may need to add the following declaration to a `.d.ts` file in your project to avoid type errors when using the `route()` function in your Vue component templates:\n\n```ts\ndeclare module \"vue\" {\n    interface ComponentCustomProperties {\n        route: typeof routeFn;\n    }\n}\n```\n\n### React\n\nRzl Ziggy includes a `useRoute()` hook to make it easy to use the `route()` helper in your React app:\n\n```jsx\nimport React from \"react\";\nimport { useRoute } from \"@rzl-zone/ziggy-route/react\";\n\nexport default function PostsLink() {\n    const route = useRoute();\n\n    return <a href={route(\"posts.index\")}>Posts</a>;\n}\n```\n\nIf you are not using the `@rzlRoutes` Blade directive, import Rzl Ziggy-Route configuration too and pass it to `useRoute()`:\n\n> ℹ️ Path import `import { appRoutes } from \"./rzl-ziggy/routes/index.js\";` depend from your setting at config php file, see: [Output Name File And Path To Generate](#output-name-file-and-path-to-generate). \n\n```jsx\nimport React from \"react\";\nimport { useRoute } from \"@rzl-zone/ziggy-route/react\";\nimport { appRoutes } from \"./rzl-ziggy/routes/index.js\";\n\nexport default function PostsLink() {\n    const route = useRoute(JSON.parse(appRoutes));\n\n    return <a href={route(\"posts.index\")}>Posts</a>;\n}\n```\n\nYou can also make the `Rzl Ziggy` config object available globally, so you can call `useRoute()` without passing Rzl Ziggy-Route configuration to it every time:\n\n```js\n// app.js\nimport { appRoutes } from \"./rzl-ziggy/routes/index.js\";\nglobalThis.appRoutes = JSON.parse(appRoutes);\n```\n\n### SPAs or separate repos\n\nRzl Ziggy-Route `route()` function is available as an NPM package, for use in JavaScript projects managed separately from their Laravel backend (i.e. without Composer or a `vendor` directory). You can install the NPM package with `npm install @rzl-zone/ziggy-route`.\n\nTo make your routes available on the frontend for this function to use, you can either run `php artisan rzl-ziggy:generate` and add the generated config file to your frontend project, or you can return Rzl Ziggy-Route config as JSON from an endpoint in your Laravel API (see [Retrieving Rzl Ziggy-Route config from an API endpoint](#retrieving-rzl-ziggy-route-config-from-an-api-endpoint) below for an example of how to set this up).\n\n### Using with Inertiajs\n\n#### SSR MODE (CSR can be skip):\nWhen you using Inertia-js with SSR mode, and you using `@rzlRoutes` directive in your app.blade.php, you need put this config in your `ssr.{tsx|jsx|ts|js}` file, for TypeScript global `route` because using `@rzlRoutes` directive, see: [TypeScript Support](#user-content-typescript-support) for more detail.\n\n#### Server-side: at HandleInertiaRequests.php (middleware) file.\n```php\nnamespace App\\Http\\Middleware;\n\nuse Inertia\\Middleware;\nuse Illuminate\\Http\\Request;\nuse RzlZone\\ZiggyRoute\\RzlZiggy;\nuse Illuminate\\Foundation\\Inspiring;\n\nclass HandleInertiaRequests extends Middleware\n{ \n  // modify at share method only.\n  public function share(Request $request): array\n  {  \n    return [\n      ...parent::share($request), \n      \n      //! This is required\n      \"url\" => [\n        \"root\" => $request->root(),\n        \"currentPath\" => $request->getPathInfo(),\n        \"searchParams\" => getQueryParams($request),\n        \"currentLocation\" => $request->url(),\n        \"currentFullUrl\" => $request->fullUrl(),\n        \"previousPath\" => (str(url()->previous()))->replace(url(\"/\"), \"\"),\n      ],\n\n      //! This is required if using `@rzlRoutes` directive\n      \"rzlZiggy\" => fn(): array => [\n        ...(new RzlZiggy())->jsonConfigsSsr(), \n      ],\n      \n      // ....other your props config\n    ];\n  }\n}\n\n```\n#### Client-side: at your (ssr.{tsx|jsx|ts|js}) file\n```tsx\nimport {\n  route as defaultRoute,\n  type Config,\n  type RouteName,\n  type RouteParams\n} from \"@rzl-zone/ziggy-route\";\n\ncreateServer((page) =>\n  createInertiaApp({\n    setup: ({ App, props }) => {\n      //! this is required. \n      (globalThis as any).route = (\n        name: RouteName,\n        params?: RouteParams<RouteName> | null | undefined,\n        absolute?: boolean\n      ) => {\n        return defaultRoute(\n          name,\n          params,\n          absolute,\n          page.props.rzlZiggy as Config\n        );\n      };\n\n      return <App {...props} />;\n    },\n    // ....other your props config\n  })\n);\n```\n---\n## Publish Config File\n\nYou can customize the default configuration of Rzl Ziggy by publishing the `rzl-ziggy.php` file to your `config` directory.\nRun the following command in your terminal:\n\n```bash\nphp artisan vendor:publish --tag=rzl-ziggy\n```\n---\n## Filtering Routes\n\nRzl Ziggy supports filtering the list of routes it outputs, which is useful if you have certain routes that you don't want to be included and visible in your HTML source.\n\n> [!IMPORTANT]\n> Hiding routes from Rzl Ziggy-Route output is not a replacement for thorough authentication and authorization. Routes that should not be accessibly publicly should be protected by authentication whether they're filtered out of Rzl Ziggy-Route output or not.\n\n### Including/excluding routes\n\nTo set up route filtering, create a config file in your Laravel app at `config/rzl-ziggy.php` and add **either** an `only` or `except` key containing an array of route name patterns.\n\n> Note: You have to choose one or the other. Setting both `only` and `except` will disable filtering altogether and return all named routes.\n\n```php\n// config/rzl-ziggy.php\n\nreturn [\n    \"only\" => [\"home\", \"posts.index\", \"posts.show\"],\n\n    // other you config...\n];\n```\n\nYou can use asterisks as wildcards in route filters. In the example below, `admin.*` will exclude routes named `admin.login`, `admin.register`, etc.:\n\n```php\n// config/rzl-ziggy.php\n\nreturn [\n    \"except\" => [\"_debugbar.*\", \"horizon.*\", \"admin.*\"],\n\n    // other you config...\n];\n```\n### Filtering with groups\n\nYou can also define groups of routes that you want make available in different places in your app, using a `groups` key in your config file:\n\n```php\n// config/rzl-ziggy.php\n\nreturn [\n    \"groups\" => [\n        \"admin\" => [\"admin.*\", \"users.*\"],\n        \"author\" => [\"posts.*\"],\n    ],\n\n    // other you config...\n];\n```\n\nThen, you can expose a specific group by passing the group name into the `@rzlRoutes` Blade directive:\n\n```blade\n{{-- authors.blade.php --}}\n\n@rzlRoutes(\"author\")\n```\n\nTo expose multiple groups you can pass an array of group names:\n\n```blade\n{{-- admin.blade.php --}}\n\n@rzlRoutes([\"admin\", \"author\"])\n```\n\n> Note: Passing group names to the `@rzlRoutes` directive will always take precedence over your other `only` or `except` settings.\n\n---\n\n## Default Parameter Values\n\nRzl Ziggy supports default route parameter values ([Laravel docs](https://laravel.com/docs/urls#default-values)).\n\n```php\nRoute::get(\"{locale}/posts/{post}\", fn (Post $post) => /* ... */)->name(\"posts.show\");\n```\n#### With config file:\n> ℹ️ To generate config file, see: [**Publish Config File**](#publish-config-file).\n```php\n// config/rzl-ziggy.php\n\nreturn [\n    /** Default values for dynamic route parameters.\n     *\n     * These values will be applied automatically to any route parameter\n     * that exists in the route URI but is not explicitly passed during route generation.\n     *\n     * Useful for things like localization (e.g. `{locale}`), tenant identifiers (e.g. `{team}`),\n     * or filtering (e.g. `{type}`) without having to always specify them in the frontend.\n     *\n     * You can override these at runtime via `URL::defaults([...])`.\n     */\n    \"defaults\" => [\n        /** Default for `{locale}` route parameter. CLI `--locale` overrides this value. */\n        \"locale\" => env(\"APP_LOCALE\", \"en\"),\n\n        // another example:...\n        // \"type\"   => \"default\", // Default value for routes requiring {type}\n        // \"team\"   => \"main\",    // Default tenant/team identifier (e.g. {team})\n    ],\n\n    // other you config...\n];\n```\n---\n## Routes File Generator\n\n### Using JavaScript or TypeScript\n\nYou can also format your front-end using JavaScript or TypeScript when running the Artisan commands `php artisan rzl-ziggy:generate` or `php artisan rzl-ziggy:generate --types`:\n\n```php\n// config/rzl-ziggy.php\n\nreturn [\n  \"lang\" => \"ts\",\n\n  // other you config...\n];\n```\n> ⚠️ Valid options: `\"ts\"` (TypeScript, .ts), `\"js\"` (JavaScript, .js) ,default: `\"ts\"`.\n\n> ℹ️ Notes:\n>    - If this config value (`rzl-ziggy.lang`) is invalid or empty, it defaults to `\"ts\"`.\n>    - You can override it using the CLI option: `php artisan rzl-ziggy:generate --lang=...`.\n>    - If the CLI `--lang` value is invalid, it falls back to this config value.\n>    - If both are invalid, \"ts\" will be used as a safe fallback.\n> \n\n### Output Name File And Path To Generate\n\nYou can also set the output location when running the Artisan command `php artisan rzl-ziggy:generate` or `php artisan rzl-ziggy:generate --types`:\n\n> ⚠️ Be careful when naming the folder and file: if the folder name and filename are the same\n>    (e.g. folder `routes/` and file `routes.ts`), a file with the same name inside the folder\n>    may be accidentally overwritten.\n\n```php\n// config/rzl-ziggy.php\n\nreturn [\n  \"output\" => [\n    \"name\" => \"index\", // ➔ index.ts or index.js\n\n    \"path\" => [\n      \"main\" => \"resources/js/rzl-ziggy/routes\", // Output folder only\n    ]\n  ],\n  \n  // other you config...\n];\n```\n\n> ℹ️ **The `\"output.name\"` is name of the generated route file (without extension).**  \n>     Example: `\"index\"` will become `index.ts` or `index.js` depending on the selected `lang`.  \n>      \n>     Notes:  \n>     - The extension will be automatically added based on the `lang` value (`\"ts\"` or `\"js\"`).  \n>     - If this value is invalid or empty, it defaults to `\"index\"`.  \n>     - You can override this config using the CLI option: `--name=...`.  \n>     - If both are invalid, `\"index\"` will be used as the safe default.\n\n> ℹ️ **The `\"output.path.main\"` is output folder path for the main generated route file.**  \n>     Example: `\"resources/js/rzl-ziggy/routes\"` will result in something like `\"resources/js/rzl-ziggy/routes/index.ts\"`  \n>      \n>     Notes:  \n>     - Do **not** prefix the path with `/` or `\\\\` — it should be relative to the project root.  \n>     - This path can be overridden using the CLI option: `--path=...`  \n>     - If the CLI `--path` is null, empty, or omitted, and this config value is also empty or invalid, it will default to: `\"resources/js/rzl-ziggy/routes\"`.  \n>     - If the provided path is invalid (e.g. not writable or not a directory), an error will be thrown.  \n>     - This path does **not** include the filename or extension — only the folder.\n---\n## Automatically Regenerates File Routes\n\n#### Rzl Ziggy includes a built-in Vite plugin that automatically generates a route index file (index.ts or index.js) based on your Laravel named routes (location depends your setting, see: [Output Name File And Path To Generate](#output-name-file-and-path-to-generate)).\n#### - Works the same as:\n```bash\nphp artisan rzl-ziggy:generate\n# or\nphp artisan rzl-ziggy:generate --types\n```\n#### - Auto-regenerates the file whenever:\n    - You change `.env` (e.g. APP_URL).\n    - You update any `routes/*.php` file.\n    - You change on `config/rzl-ziggy.php` file.\n    - No need to run manual commands—works live in development (npm run dev).\n\n#### - Setting in your vite.config.ts or vite.config.js, register the plugin:\n\n```js\nimport rzlZiggyVitePlugin from \"@rzl-zone/ziggy-route/vite-plugin\"\n\nexport default defineConfig({\n  plugins: [\n    rzlZiggyVitePlugin({\n      // ...you can replace default options.\n    }),\n\n    // ...other your plugin\n  ],\n})\n```\n<details>\n<summary>Laravel Mix plugin example</summary>\n<p></p>\n\n```js\nconst mix = require(\"laravel-mix\");\nconst { exec } = require(\"child_process\");\n\nmix.extend(\"rzlZiggy\", new class {\n    register(config = {}) {\n        this.watch = config.watch ?? [\"routes/**/*.php\"];\n        this.path = config.path ?? \"\";\n        this.enabled = config.enabled ?? !Mix.inProduction();\n    }\n\n    boot() {\n        if (!this.enabled) return;\n\n        const command = () => exec(\n            `php artisan rzl-ziggy:generate ${this.path}`,\n            (error, stdout, stderr) => console.log(stdout)\n        );\n\n        command();\n\n        if (Mix.isWatching() && this.watch) {\n            ((require(\"chokidar\")).watch(this.watch))\n                .on(\"change\", (path) => {\n                    console.log(`${path} changed...`);\n                    command();\n                });\n        };\n    }\n}());\n\nmix.js(\"resources/js/app.js\", \"public/js\")\n    .postCss(\"resources/css/app.css\", \"public/css\", [])\n    .rzlZiggy();\n```\n</details>\n\n---\n## Other\n\n### TLS/SSL termination and trusted proxies\n\n<!-- Or: What to do if your app is served over `https` but Rzl Ziggy-Route `route()` helper generates `http` URLs -->\n\nIf your application is using [TLS/SSL termination](https://en.wikipedia.org/wiki/TLS_termination_proxy) or is behind a load balancer or proxy, or if it's hosted on a service that is, Rzl Ziggy may generate URLs with a scheme of `http` instead of `https`, even if your app URL uses `https`. To fix this, set up your Laravel app's trusted proxies according to the documentation on [Configuring Trusted Proxies](https://laravel.com/docs/requests#configuring-trusted-proxies).\n\n### Using `@rzlRoutes` with a Content Security Policy\n\nA [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) (CSP) may block inline scripts, including those output by Rzl Ziggy-Route `@rzlRoutes` Blade directive. If you have a CSP and are using a nonce to flag safe inline scripts, you can pass the nonce to the `@rzlRoutes` directive and it will be added to Rzl Ziggy-Route script tag:\n\n```php\n@rzlRoutes(nonce: \"your-nonce-here\")\n```\n\n### Disabling the `route()` helper\n\nIf you only want to use the `@rzlRoutes` directive to make Rzl Ziggy-Route configuration available in JavaScript, but don't need the `route()` helper function, set the `rzl-ziggy.skip-route-function` config to `true`.\n\n### Retrieving Rzl Ziggy-Route config from an API endpoint\n\nIf you need to retrieve Rzl Ziggy-Route config from your Laravel backend over the network, you can create a route that looks something like this:\n\n```php\n// routes/api.php\n\nuse RzlZone\\Ziggy\\RzlZiggy;\n\nRoute::get(\"rzl-ziggy\", fn () => response()->json(new RzlZiggy));\n```\n\n---\n## Contributing\n\nThis project is heavily inspired by and based on [Ziggy](https://github.com/tighten/ziggy), originally developed by the team at Tighten.\n\n## Original Authors of Ziggy:\n- [Daniel Coulbourne](https://twitter.com/DCoulbourne)\n- [Jake Bathman](https://twitter.com/jakebathman)\n- [Matt Stauffer](https://twitter.com/stauffermatt)\n- [Jacob Baker-Kretzmar](https://twitter.com/bakerkretzmar)\n- [All contributors](https://github.com/rzl-zone/ziggy-route/contributors)\n\n## Additional Customization by:\n- [Rzl App](https://github.com/rzl-app)\n- [Rzl Zone](https://github.com/rzl-zone)\n\n\nSpecial thanks to [Caleb Porzio](http://twitter.com/calebporzio), [Adam Wathan](http://twitter.com/adamwathan), and [Jeffrey Way](http://twitter.com/jeffrey_way) for help solidifying the idea.\n\n---\n## Security\n\nPlease review our [security policy](../../security/policy) on how to report security vulnerabilities.\n\n---\n## License\n\nRzl Ziggy is open-source software released under the MIT license.  \nSee [LICENSE](LICENSE) for more information.\n\n---\n## Credits\n\n- Forked and extended from [Ziggy by Tighten](https://github.com/tighten/ziggy).\n- Inspired by the work of Daniel Coulbourne, Jake Bathman, Matt Stauffer, and Jacob Baker-Kretzmar.\n- Custom features and enhancements maintained by [Rizalfin Dwiky (Rzl)](https://github.com/rzl-app).\n","readmeFilename":"README.md"}