{"_id":"@customerjourney/cj-router","_rev":"11-320a8dc8d3f2b7bbe41ecfbcb385ee34","name":"@customerjourney/cj-router","dist-tags":{"latest":"1.6.0"},"versions":{"1.2.0":{"name":"@customerjourney/cj-router","version":"1.2.0","keywords":["router","spa","single-page-router","vanilla-router","customerjourney"],"author":{"name":"Antonio Fregoso","email":"antoniofregoso@protonmail.com"},"license":"GPL-3.0-or-later","_id":"@customerjourney/cj-router@1.2.0","maintainers":[{"name":"antoniofregoso","email":"antoniofregoso@protonmail.com"}],"homepage":"https://customerjourney.ninja/documentation/router/router/","bugs":{"url":"https://github.com/antoniofregoso/cj-router/issues"},"dist":{"shasum":"c8c8802c862f47958dc38c76bcdada914478d96a","tarball":"https://registry.npmjs.org/@customerjourney/cj-router/-/cj-router-1.2.0.tgz","fileCount":8,"integrity":"sha512-3zghFs0b/GEc5L6vCXk3XtLV0jRXZy8PwfEAB92ROgtV8rzpswjyg9i1Z9IRrbl5yyzJ5C+28pwq7PdemW6yNQ==","signatures":[{"sig":"MEUCIQCKKlLie2ahoICDGs4dW/Uj8PKJZfi4pGDkNisMOCLlrwIgeFVeYv+Pc+RIPvSUTrBLMnZOc7T0UycUF3eceLCjTgQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75477},"main":"dist/router","module":"src/router","gitHead":"75619b337461be59a035b529792c204eb284d581","scripts":{"prod":"esbuild src/Router.js --bundle --minify  --outfile=dist/Router.min.js","test":"echo \"Error: no test specified\" && exit 1","build":"esbuild src/Router.js --bundle  --outfile=dist/Router.js"},"_npmUser":{"name":"antoniofregoso","actor":{"name":"antoniofregoso","type":"user","email":"antoniofregoso@protonmail.com"},"email":"antoniofregoso@protonmail.com"},"repository":{"url":"git+https://github.com/antoniofregoso/cj-router.git","type":"git"},"_npmVersion":"10.9.2","description":"Light router in vanilla javascript for the BuyerJourneyJS project","directories":{},"_nodeVersion":"22.15.0","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.20.1"},"_npmOperationalInternal":{"tmp":"tmp/cj-router_1.2.0_1751258247352_0.07000320210949607","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@customerjourney/cj-router","version":"1.2.1","keywords":["router","spa","single-page-router","vanilla-router","customerjourney"],"author":{"name":"Antonio Fregoso","email":"antoniofregoso@protonmail.com"},"license":"GPL-3.0-or-later","_id":"@customerjourney/cj-router@1.2.1","maintainers":[{"name":"antoniofregoso","email":"antoniofregoso@protonmail.com"}],"homepage":"https://customerjourney.ninja/documentation/router/router/","bugs":{"url":"https://github.com/antoniofregoso/cj-router/issues"},"dist":{"shasum":"d12ddf14e72f63c40e017650741ee177f1b8c975","tarball":"https://registry.npmjs.org/@customerjourney/cj-router/-/cj-router-1.2.1.tgz","fileCount":8,"integrity":"sha512-T0CpZDS8sLiA5Gsokx9WXPfaX6szZ2GCrptb2myuvKbqUdSgdgGB0i1S955OUebRNRGvcU8NKG60NEBxS1f0sw==","signatures":[{"sig":"MEQCIDWlrERGYR38KIsmgG+qW450O/lH/ZmydG4qo4cIT6UUAiAJ0rPAfls7YGGKRbBXSD5iWyjyr6WRz/f31eHCjwGxNg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75477},"main":"dist/Router","module":"src/Router","gitHead":"9771a52d2f1417de8c45c0ec8a90e24dfaed8f6b","scripts":{"prod":"esbuild src/Router.js --bundle --minify  --outfile=dist/Router.min.js","test":"echo \"Error: no test specified\" && exit 1","build":"esbuild src/Router.js --bundle  --outfile=dist/Router.js"},"_npmUser":{"name":"antoniofregoso","actor":{"name":"antoniofregoso","type":"user","email":"antoniofregoso@protonmail.com"},"email":"antoniofregoso@protonmail.com"},"repository":{"url":"git+https://github.com/antoniofregoso/cj-router.git","type":"git"},"_npmVersion":"10.9.2","description":"Light router in vanilla javascript for the BuyerJourneyJS project","directories":{},"_nodeVersion":"22.15.0","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.20.1"},"_npmOperationalInternal":{"tmp":"tmp/cj-router_1.2.1_1751259292718_0.36184142859666335","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@customerjourney/cj-router","version":"1.2.2","keywords":["router","spa","single-page-router","vanilla-router","customerjourney"],"author":{"name":"Antonio Fregoso","email":"antoniofregoso@protonmail.com"},"license":"GPL-3.0-or-later","_id":"@customerjourney/cj-router@1.2.2","maintainers":[{"name":"antoniofregoso","email":"antoniofregoso@protonmail.com"}],"homepage":"https://customerjourney.ninja/documentation/router/router/","bugs":{"url":"https://github.com/antoniofregoso/cj-router/issues"},"dist":{"shasum":"552bdfb1920c3a2f0829555cee283b56a86b0930","tarball":"https://registry.npmjs.org/@customerjourney/cj-router/-/cj-router-1.2.2.tgz","fileCount":8,"integrity":"sha512-aOP1HZ1exv0CkXhPKkvaEdDIqSd5+sQPsb3Q7aBlP2y7BFGn3md+n9kKBgvl1zkLpDrQYKsSoWA3uxHBe/1HDg==","signatures":[{"sig":"MEQCIDH0Q7pZSY7J1HWWYzg0jqJkpVkMiPcYC8zF5W85X+YBAiBgd+vE7qkizAlfQ2x7xPfQyUYcSdVnuXPbjr68GDKB3w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75705},"main":"dist/Router","module":"src/Router","gitHead":"771f4542304980b456b3669601e8d87ffa0a8c01","scripts":{"prod":"esbuild src/Router.js --bundle --minify  --outfile=dist/Router.min.js","test":"echo \"Error: no test specified\" && exit 1","build":"esbuild src/Router.js --bundle  --outfile=dist/Router.js"},"_npmUser":{"name":"antoniofregoso","email":"antoniofregoso@protonmail.com"},"repository":{"url":"git+https://github.com/antoniofregoso/cj-router.git","type":"git"},"_npmVersion":"11.6.0","description":"Light router in vanilla javascript for the BuyerJourneyJS project","directories":{},"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.20.1"},"_npmOperationalInternal":{"tmp":"tmp/cj-router_1.2.2_1758565660716_0.4432947368559388","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@customerjourney/cj-router","version":"1.3.0","keywords":["router","spa","single-page-router","vanilla-router","customerjourney"],"author":{"name":"Antonio Fregoso","email":"antoniofregoso@protonmail.com"},"license":"GPL-3.0-or-later","_id":"@customerjourney/cj-router@1.3.0","maintainers":[{"name":"antoniofregoso","email":"antoniofregoso@protonmail.com"}],"homepage":"https://customerjourney.ninja/documentation/router/router/","bugs":{"url":"https://github.com/antoniofregoso/cj-router/issues"},"dist":{"shasum":"c3a2f3ec349b7df8d5666064677b6e14ef54927b","tarball":"https://registry.npmjs.org/@customerjourney/cj-router/-/cj-router-1.3.0.tgz","fileCount":8,"integrity":"sha512-ueP1Gojd28c+iGWvltyuS/d/FFl65giuWiI6mcIeWSK3wawn48PvLg1FpxtOO/znaSTTio32eqh3NL214Luphw==","signatures":[{"sig":"MEYCIQC0nzkb63kfQCcr0yQsWV1+PCAXk4jzXHVa94V180yhBgIhAP713z26N8ZJYI8w2FWhFDk+HEYB9oB5qyDrb/Fsu6Lm","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75846},"main":"dist/Router","module":"src/Router","gitHead":"f6ab57d5f2922f9bcb91771378018ee975431344","scripts":{"prod":"esbuild src/Router.js --bundle --minify  --outfile=dist/Router.min.js","test":"echo \"Error: no test specified\" && exit 1","build":"esbuild src/Router.js --bundle  --outfile=dist/Router.js"},"_npmUser":{"name":"antoniofregoso","email":"antoniofregoso@protonmail.com"},"repository":{"url":"git+https://github.com/antoniofregoso/cj-router.git","type":"git"},"_npmVersion":"11.5.2","description":"Light router in vanilla javascript for the BuyerJourneyJS project","directories":{},"_nodeVersion":"22.15.0","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.20.1"},"_npmOperationalInternal":{"tmp":"tmp/cj-router_1.3.0_1761026539536_0.33099745343453923","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@customerjourney/cj-router","version":"1.4.0","keywords":["router","spa","single-page-router","vanilla-router","customerjourney"],"author":{"name":"Antonio Fregoso","email":"antoniofregoso@protonmail.com"},"license":"GPL-3.0-or-later","_id":"@customerjourney/cj-router@1.4.0","maintainers":[{"name":"antoniofregoso","email":"antoniofregoso@protonmail.com"}],"homepage":"https://customerjourney.ninja/documentation/router/router/","bugs":{"url":"https://github.com/antoniofregoso/cj-router/issues"},"dist":{"shasum":"e17d7ed38b28a0543487c21ba669d4b35be96ecd","tarball":"https://registry.npmjs.org/@customerjourney/cj-router/-/cj-router-1.4.0.tgz","fileCount":8,"integrity":"sha512-KDRfWFhoqDFEd43HlvToI8gElQ1tSKOxhyYDrY5JJaHsYpUN31d0gyI9qzjSsUnokFbD6FOlOqMQfGM7xaU2lw==","signatures":[{"sig":"MEUCIQCvYExlG+gpSTIOaU4F34J8UWaFFqFLKstQOeoac9PzbwIgaoT2nQmK1ZGJGHjFYpERgmdPInxb3O9+bw5cL2YPwkE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75316},"main":"dist/Router","module":"src/Router","gitHead":"ae81bd474570d9ec376a41a33c95d2d951ce28a5","scripts":{"prod":"esbuild src/Router.js --bundle --minify  --outfile=dist/Router.min.js","test":"echo \"Error: no test specified\" && exit 1","build":"esbuild src/Router.js --bundle  --outfile=dist/Router.js"},"_npmUser":{"name":"antoniofregoso","email":"antoniofregoso@protonmail.com"},"repository":{"url":"git+https://github.com/antoniofregoso/cj-router.git","type":"git"},"_npmVersion":"10.9.4","description":"Light router in vanilla javascript for the BuyerJourneyJS project","directories":{},"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.20.1"},"_npmOperationalInternal":{"tmp":"tmp/cj-router_1.4.0_1776659430397_0.4554830677123922","host":"s3://npm-registry-packages-npm-production"}},"1.4.1":{"name":"@customerjourney/cj-router","version":"1.4.1","keywords":["router","spa","single-page-router","vanilla-router","customerjourney"],"author":{"name":"Antonio Fregoso","email":"antoniofregoso@protonmail.com"},"license":"GPL-3.0-or-later","_id":"@customerjourney/cj-router@1.4.1","maintainers":[{"name":"antoniofregoso","email":"antoniofregoso@protonmail.com"}],"homepage":"https://customerjourney.ninja/documentation/router/router/","bugs":{"url":"https://github.com/antoniofregoso/cj-router/issues"},"dist":{"shasum":"a1371f8327d4bbbd26a3e3bffd738e73d625b95f","tarball":"https://registry.npmjs.org/@customerjourney/cj-router/-/cj-router-1.4.1.tgz","fileCount":8,"integrity":"sha512-Ghn0O942WDIQ8+LeGjs56+4Uq+qLrCvtbGEqJKNUCnYKolW/Qe8Kw841KGna4s9w2/gJfs6qw3saw/WfjoKI2A==","signatures":[{"sig":"MEQCIF1QwRyr+Aq2H6fu/WP988Dt7oC+sK3zPGHIedv45P0ZAiAKlF00xQ9GhODJBL4RcdRUyRN2hZO48OqBAoJemK96YQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75386},"main":"dist/Router","module":"src/Router","gitHead":"ffc9d85d2c3d8a2de751590eaa4cbecf9dc71833","scripts":{"prod":"esbuild src/Router.js --bundle --minify  --outfile=dist/Router.min.js","test":"echo \"Error: no test specified\" && exit 1","build":"esbuild src/Router.js --bundle  --outfile=dist/Router.js"},"_npmUser":{"name":"antoniofregoso","email":"antoniofregoso@protonmail.com"},"repository":{"url":"git+https://github.com/antoniofregoso/cj-router.git","type":"git"},"_npmVersion":"10.9.4","description":"Light router in vanilla javascript for the BuyerJourneyJS project","directories":{},"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.20.1"},"_npmOperationalInternal":{"tmp":"tmp/cj-router_1.4.1_1780544582092_0.8443439299863329","host":"s3://npm-registry-packages-npm-production"}},"1.4.2":{"name":"@customerjourney/cj-router","version":"1.4.2","keywords":["router","spa","single-page-router","vanilla-router","customerjourney"],"author":{"name":"Antonio Fregoso","email":"antoniofregoso@protonmail.com"},"license":"GPL-3.0-or-later","_id":"@customerjourney/cj-router@1.4.2","maintainers":[{"name":"antoniofregoso","email":"antoniofregoso@protonmail.com"}],"homepage":"https://antoniofregoso.github.io/customerjourney/documentation/router/router/","bugs":{"url":"https://github.com/antoniofregoso/cj-router/issues"},"dist":{"shasum":"50e5fd874ecbdb1ff7a7f10c8536cba0ff93710f","tarball":"https://registry.npmjs.org/@customerjourney/cj-router/-/cj-router-1.4.2.tgz","fileCount":8,"integrity":"sha512-N2GEhTzC9z0JymGAVbFke+bytmywkeqyfDTkGGLOHgEGmV4NdgbYX77Yti9MvI9W5ED/avTwWbq+LqyU3CA3dw==","signatures":[{"sig":"MEUCIErlALFfZT+d4aopdBNzzy1HrQsyES1/XvYqGuoqFZn2AiEAugzbdDYs4UYWdYhZa8SyDeMCs4EyOuacmEupp1fGaaY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75445},"main":"dist/Router","module":"src/Router","gitHead":"aa0a25470fc2d807fc0aef91291fcb8b3d7489be","scripts":{"prod":"esbuild src/Router.js --bundle --minify  --outfile=dist/Router.min.js","test":"echo \"Error: no test specified\" && exit 1","build":"esbuild src/Router.js --bundle  --outfile=dist/Router.js"},"_npmUser":{"name":"antoniofregoso","email":"antoniofregoso@protonmail.com"},"repository":{"url":"git+https://github.com/antoniofregoso/cj-router.git","type":"git"},"_npmVersion":"10.9.4","description":"Light router in vanilla javascript for the BuyerJourneyJS project","directories":{},"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.20.1"},"_npmOperationalInternal":{"tmp":"tmp/cj-router_1.4.2_1780545576436_0.7519975784144082","host":"s3://npm-registry-packages-npm-production"}},"1.4.3":{"name":"@customerjourney/cj-router","version":"1.4.3","keywords":["router","spa","single-page-router","vanilla-router","customerjourney"],"author":{"name":"Antonio Fregoso","email":"antoniofregoso@protonmail.com"},"license":"GPL-3.0-or-later","_id":"@customerjourney/cj-router@1.4.3","maintainers":[{"name":"antoniofregoso","email":"antoniofregoso@protonmail.com"}],"homepage":"https://antoniofregoso.github.io/customerjourney/documentation/router/router/","bugs":{"url":"https://github.com/antoniofregoso/cj-router/issues"},"dist":{"shasum":"8e2b7813a2f80628247234ee0c433cffbc3026c2","tarball":"https://registry.npmjs.org/@customerjourney/cj-router/-/cj-router-1.4.3.tgz","fileCount":8,"integrity":"sha512-UW6BZrY1PWjgUIhoTsV53dpNvxsZADXYZ8RBLC0fJowJzbZ51FD0cXmKImqTFRabOYodKQsym/URqDd5u/TEgg==","signatures":[{"sig":"MEUCIEa02vcAXUBXN9n9erYYn8mfElzm3bFI7K0AcFC6szZRAiEAxBMZeuKMbzt/oPfyYyoahru8PI+1XrW28rDmnGPzSSI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75974},"main":"dist/Router","module":"src/Router","gitHead":"c79e513993d21132de078e675ddf998df515a854","scripts":{"prod":"esbuild src/Router.js --bundle --minify  --outfile=dist/Router.min.js","test":"echo \"Error: no test specified\" && exit 1","build":"esbuild src/Router.js --bundle  --outfile=dist/Router.js"},"_npmUser":{"name":"antoniofregoso","email":"antoniofregoso@protonmail.com"},"repository":{"url":"git+https://github.com/antoniofregoso/cj-router.git","type":"git"},"_npmVersion":"10.9.4","description":"Light router in vanilla javascript for the BuyerJourneyJS project","directories":{},"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.20.1"},"_npmOperationalInternal":{"tmp":"tmp/cj-router_1.4.3_1780636122942_0.1443253694694675","host":"s3://npm-registry-packages-npm-production"}},"1.4.4":{"name":"@customerjourney/cj-router","version":"1.4.4","keywords":["router","spa","single-page-router","vanilla-router","customerjourney"],"author":{"name":"Antonio Fregoso","email":"antoniofregoso@protonmail.com"},"license":"GPL-3.0-or-later","_id":"@customerjourney/cj-router@1.4.4","maintainers":[{"name":"antoniofregoso","email":"antoniofregoso@protonmail.com"}],"homepage":"https://antoniofregoso.github.io/customerjourney/documentation/router/router/","bugs":{"url":"https://github.com/antoniofregoso/cj-router/issues"},"dist":{"shasum":"d005891a38c684e2d149e059a16f42dc8931fcdd","tarball":"https://registry.npmjs.org/@customerjourney/cj-router/-/cj-router-1.4.4.tgz","fileCount":8,"integrity":"sha512-uMwVxJGp/OkV3K+iqaV9AUD0GTkfFb761QEQ9xo4MEkZy5bCav3w2e8/r8E4Ws/2+Y2Kixxf1+q/ggmwoxF9IQ==","signatures":[{"sig":"MEUCIFkSPMaEO30eqbt2zLPILXTZH1HijJ90mi1lLELr8vGlAiEA+/Dh7NVYTo9X39cTR96R2Oh6ZHBEeEWyqjiZyShWSn0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":77865},"main":"dist/Router","module":"src/Router","gitHead":"f317e0b5207d020bf8ef65fb066ac5e4e6b5014b","scripts":{"prod":"esbuild src/Router.js --bundle --minify  --outfile=dist/Router.min.js","test":"echo \"Error: no test specified\" && exit 1","build":"esbuild src/Router.js --bundle  --outfile=dist/Router.js"},"_npmUser":{"name":"antoniofregoso","email":"antoniofregoso@protonmail.com"},"repository":{"url":"git+https://github.com/antoniofregoso/cj-router.git","type":"git"},"_npmVersion":"10.9.4","description":"Light router in vanilla javascript for the BuyerJourneyJS project","directories":{},"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.20.1"},"_npmOperationalInternal":{"tmp":"tmp/cj-router_1.4.4_1781143564135_0.7219564587520848","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"@customerjourney/cj-router","version":"1.5.0","keywords":["router","spa","single-page-router","vanilla-router","customerjourney"],"author":{"name":"Antonio Fregoso","email":"antoniofregoso@protonmail.com"},"license":"GPL-3.0-or-later","_id":"@customerjourney/cj-router@1.5.0","maintainers":[{"name":"antoniofregoso","email":"antoniofregoso@protonmail.com"}],"homepage":"https://antoniofregoso.github.io/customerjourney/documentation/router/router/","bugs":{"url":"https://github.com/antoniofregoso/cj-router/issues"},"dist":{"shasum":"e694cf6088b51dd6f0fd288baf7763a8856c8d7f","tarball":"https://registry.npmjs.org/@customerjourney/cj-router/-/cj-router-1.5.0.tgz","fileCount":8,"integrity":"sha512-Su+1I3cWq6wOt6NPTQuk/wEkLNFNHN2vJ80yQx/zZZ0gWlF4+DUEKQ82aBapukoUasgbVS751oiNQfOap0zSYg==","signatures":[{"sig":"MEUCIQCKHVe2hltcXj3bLmgjX/jQd7EkD1ydcJXw+OcrFlE86AIgCKuTDsquD4BdNcT9Fop07Mz/3QF2L3OD5YtumESweM0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":78274},"main":"dist/Router","module":"src/Router","gitHead":"3366826ac2795f450b86e1c28d4df3fd65340065","scripts":{"prod":"esbuild src/Router.js --bundle --minify  --outfile=dist/Router.min.js","test":"echo \"Error: no test specified\" && exit 1","build":"esbuild src/Router.js --bundle  --outfile=dist/Router.js"},"_npmUser":{"name":"antoniofregoso","email":"antoniofregoso@protonmail.com"},"repository":{"url":"git+https://github.com/antoniofregoso/cj-router.git","type":"git"},"_npmVersion":"11.7.0","description":"Light router in vanilla javascript for the BuyerJourneyJS project","directories":{},"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.20.1"},"_npmOperationalInternal":{"tmp":"tmp/cj-router_1.5.0_1781204571464_0.0971891180242761","host":"s3://npm-registry-packages-npm-production"}},"1.6.0":{"name":"@customerjourney/cj-router","version":"1.6.0","description":"Light router in vanilla javascript for the BuyerJourneyJS project","main":"dist/Router","module":"src/Router","scripts":{"prod":"esbuild src/Router.js --bundle --minify  --outfile=dist/Router.min.js","build":"esbuild src/Router.js --bundle  --outfile=dist/Router.js","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/antoniofregoso/cj-router.git"},"keywords":["router","spa","single-page-router","vanilla-router","customerjourney"],"author":{"name":"Antonio Fregoso","email":"antoniofregoso@protonmail.com"},"license":"GPL-3.0-or-later","homepage":"https://antoniofregoso.github.io/customerjourney/documentation/router/router/","devDependencies":{"esbuild":"^0.20.1"},"_id":"@customerjourney/cj-router@1.6.0","gitHead":"1defc52c0d0dd839608024e4d8d2034969e23680","bugs":{"url":"https://github.com/antoniofregoso/cj-router/issues"},"_nodeVersion":"22.22.1","_npmVersion":"10.9.4","dist":{"integrity":"sha512-E6RHBHDWcwJsCb8rmNVsvqtTxoR68vpzMBKXsFDENAab5GSzi29ffuY6o3weo1xd9L23z9URkVDu9ViebQXoVg==","shasum":"a75ab5d3a32b80c5e5cc2b0a8fd7119a2e0cd3be","tarball":"https://registry.npmjs.org/@customerjourney/cj-router/-/cj-router-1.6.0.tgz","fileCount":8,"unpackedSize":81881,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCEqnekjIiCUBHIae3h3UGFd7jT02vM/RAFfqry5I1qmgIhAPYEqg/fEysvEYD498xO7CYE9RK8BqTWP0O6uIfMOSzJ"}]},"_npmUser":{"name":"antoniofregoso","email":"antoniofregoso@protonmail.com"},"directories":{},"maintainers":[{"name":"antoniofregoso","email":"antoniofregoso@protonmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cj-router_1.6.0_1782875486865_0.6084538284715029"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-30T04:37:27.299Z","modified":"2026-07-01T03:11:27.147Z","1.2.0":"2025-06-30T04:37:27.523Z","1.2.1":"2025-06-30T04:54:52.925Z","1.2.2":"2025-09-22T18:27:40.922Z","1.3.0":"2025-10-21T06:02:19.775Z","1.4.0":"2026-04-20T04:30:30.542Z","1.4.1":"2026-06-04T03:43:02.256Z","1.4.2":"2026-06-04T03:59:36.660Z","1.4.3":"2026-06-05T05:08:43.111Z","1.4.4":"2026-06-11T02:06:04.287Z","1.5.0":"2026-06-11T19:02:51.596Z","1.6.0":"2026-07-01T03:11:27.009Z"},"bugs":{"url":"https://github.com/antoniofregoso/cj-router/issues"},"author":{"name":"Antonio Fregoso","email":"antoniofregoso@protonmail.com"},"license":"GPL-3.0-or-later","homepage":"https://antoniofregoso.github.io/customerjourney/documentation/router/router/","keywords":["router","spa","single-page-router","vanilla-router","customerjourney"],"repository":{"type":"git","url":"git+https://github.com/antoniofregoso/cj-router.git"},"description":"Light router in vanilla javascript for the BuyerJourneyJS project","maintainers":[{"name":"antoniofregoso","email":"antoniofregoso@protonmail.com"}],"readme":"# cj-router\nLightweight Router in vanilla javascript for the BuyerJourneyJS project.\n## CustumerJourney.js\nThis library is part of the [CustumerJourney.js](https://antoniofregoso.github.io/customerjourney/) project. Vanilla JavaScript libraries optimized for creating sales funnels with hyper-personalized customer experience powered by artificial intelligence.\n## Features\n- Multiple routes with path and callback function.\n- Single page application routing using hash.\n- Parameters.\n- Query strings.\n- Set name on routes with setName(name) and retrieve the path with pathFor(name, parameters).\n- Navigate programmatically (no click needed) with goTo(name, parameters).\n- Error 404: Callback function included.\n- Error 404: Customizable Callback function.\n\n## Example\n\n```javascript\nimport { Router } from  \"@customerjourney/cj-router\";\nimport { home, store, blog } from \"./app/pages\";\n\nconst App = new Router({ hashSensitive:true});\nApp.on('/', home);\nApp.on('#store/{product}', store);\nApp.on('#blog/{article}', blog);\n\nApp.run();\n```\n\n## Programmatic navigation\n\nUse `goTo(name, parameters)` inside a route callback to change the page without requiring a user click, for example after a successful login:\n\n```javascript\nApp.on('/dashboard', dashboard).setName('dash');\nApp.on('/login', login);\n\nfunction login(req, router) {\n    // ...login logic...\n    router.goTo('dash'); // navigates to /dashboard\n}\n```\n\n`goTo` also accepts a raw path or hash if the target route wasn't given a name, e.g. `router.goTo('/dashboard')`.\n\n## Documentation \n- [CustumerJourneyJS project](https://antoniofregoso.github.io/customerjourney/).\n- [cj-router](https://antoniofregoso.github.io/customerjourney/documentation/router/router/).\n- [Get started](https://antoniofregoso.github.io/customerjourney/getting-started/).\n\n## License\ncj-router is [GPL-3.0-or-later](./LICENSE).\n## Sponsor\n[Become a CustumerJourney.js Sponsor](https://antoniofregoso.github.io/customerjourney/sponsor/).","readmeFilename":"README.md"}