html-redirections
Generate HTML redirections files from a JSON with redirects. See blog post
npx html-redirections example-array.json dist
A single redirect in JSON file has this type:
type Redirect = {
from: string
to: string
delay?: number
}