{"_id":"@allindevelopers/html-redirections","_rev":"1-fc3e44ba85a31bf96faa608e53ba4886","name":"@allindevelopers/html-redirections","dist-tags":{"latest":"1.1.2"},"versions":{"1.1.1":{"name":"@allindevelopers/html-redirections","version":"1.1.1","keywords":["reactjs","nextjs","vuejs","nuxtjs","angular","universal","html"],"author":{"url":"https://luca.md","name":"Andrei Luca"},"license":"MIT","_id":"@allindevelopers/html-redirections@1.1.1","maintainers":[{"name":"directive4837","email":"abstract3929+npm+9ksnea8r@proton.me"}],"homepage":"https://github.com/allindevelopers/html-redirections#readme","bugs":{"url":"https://github.com/allindevelopers/html-redirections/issues"},"bin":{"html-redirections":"cli.js"},"dist":{"shasum":"7f6f48803cccad08a039080de61c85c583b80c22","tarball":"https://registry.npmjs.org/@allindevelopers/html-redirections/-/html-redirections-1.1.1.tgz","fileCount":4,"integrity":"sha512-xRdcHePl3xCAqp3FNhn08bAxXfftnApceUJ6+9X1B4CRqPkdcwgPnMfkE1kHYy6EaaDqxvGk7cv5eYnEr1yczA==","signatures":[{"sig":"MEQCIEpP7pBAlw+QVJvxP6uELpwe9C188ZWNAtvOZvxNUb6AAiAyEI438Jd9l4txHPIAL30lYprUrE6Xv7SLMm2B89wS2Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3481},"gitHead":"aa592f29a2206bcc22dc2e10e300f4d02d777552","scripts":{"test":"exit 0"},"_npmUser":{"name":"directive4837","email":"abstract3929+npm+9ksnea8r@proton.me"},"repository":{"url":"git+https://github.com/allindevelopers/html-redirections.git","type":"git"},"_npmVersion":"10.8.3","description":"Generate HTML redirections from json file","directories":{},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/html-redirections_1.1.1_1727611022930_0.814070351835946","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"@allindevelopers/html-redirections","version":"1.1.2","description":"Generate HTML redirections from json file","keywords":["reactjs","nextjs","vuejs","nuxtjs","angular","universal","html"],"scripts":{"test":"exit 0"},"author":{"name":"Andrei Luca","url":"https://luca.md"},"license":"MIT","bin":{"html-redirections":"cli.js"},"repository":{"type":"git","url":"git+https://github.com/allindevelopers/html-redirections.git"},"_id":"@allindevelopers/html-redirections@1.1.2","gitHead":"40c9cc5a7670d421fb65f99c94c92149b13bd8e3","bugs":{"url":"https://github.com/allindevelopers/html-redirections/issues"},"homepage":"https://github.com/allindevelopers/html-redirections#readme","_nodeVersion":"20.17.0","_npmVersion":"10.8.3","dist":{"integrity":"sha512-7rddZzEW3TGYbRdRMhRGxroMyB7IYjuMiuhjFwKCHMeOP9YbTtQS4ZDyZxBWXfLTbmCgLJU5FoUg33EnYhiEbA==","shasum":"b2f607f44e49bf19af86d47cd15c31b0dc6ff5de","tarball":"https://registry.npmjs.org/@allindevelopers/html-redirections/-/html-redirections-1.1.2.tgz","fileCount":4,"unpackedSize":3512,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdPZM2+PsGsVaQ54jwLRv7MHuO67k+eSNrSIQRaVfZKwIhAKrfrZlZyJgaV8Sn5EyEt1edW8aoiwZlnGE+g2tWmF68"}]},"_npmUser":{"name":"directive4837","email":"abstract3929+npm+9ksnea8r@proton.me"},"directories":{},"maintainers":[{"name":"directive4837","email":"abstract3929+npm+9ksnea8r@proton.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/html-redirections_1.1.2_1727611274234_0.997256728222923"},"_hasShrinkwrap":false}},"time":{"created":"2024-09-29T11:57:02.807Z","modified":"2024-09-29T12:01:14.609Z","1.1.1":"2024-09-29T11:57:03.114Z","1.1.2":"2024-09-29T12:01:14.396Z"},"bugs":{"url":"https://github.com/allindevelopers/html-redirections/issues"},"author":{"name":"Andrei Luca","url":"https://luca.md"},"license":"MIT","homepage":"https://github.com/allindevelopers/html-redirections#readme","keywords":["reactjs","nextjs","vuejs","nuxtjs","angular","universal","html"],"repository":{"type":"git","url":"git+https://github.com/allindevelopers/html-redirections.git"},"description":"Generate HTML redirections from json file","maintainers":[{"name":"directive4837","email":"abstract3929+npm+9ksnea8r@proton.me"}],"readme":"# html-redirections\n\nGenerate [HTML redirections](https://developer.mozilla.org/en-US/docs/Web/HTTP/Redirections#html_redirections) files from a JSON with redirects. See [blog post](https://dev.to/iamandrewluca/next-js-universal-and-nuxt-js-static-redirects-3cl6)\n\n```shell\nnpx html-redirections example-array.json dist\n```\n\nA single redirect in JSON file has this type:\n\n```ts\ntype Redirect = {\n    from: string\n    to: string\n    delay?: number\n    meta?: [\n        {\n            name: string\n            content: string\n        }\n    ]\n}\n```","readmeFilename":"README.md"}