Converts a csv file to vue-router-redirects, apache and nginx redirects.
Last updated a year ago by tiemajor .
WTFPL · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @kissmy/csv-to-redirect 
SYNC missed versions from official npm registry.


Simple command line utility to convert a CSV to redirect files for Nginx, Apache and vue-router redirects.

The CSV file needs to have at least two rows named url for the base url and redir for the redirect location.


  npm install -g @kissmy/csv-to-redirect


Usage: csv-to-redirect [options]

  -V, --version             output the version number
  -i, --input <path>        Input CSV file (required)
  -o, --output <path>       Output file name (Defaults to outputing to terminal)
  -t, --type <type>         Output type [nginx, apache, vue] (required)
  -s, --source <name>       Source cell name (default: "source")
  -d, --destination <name>  Destination cell name (default: "destination")
  -h, --help                output usage information

Current Tags

  • 1.0.6                                ...           latest (a year ago)

6 Versions

  • 1.0.6                                ...           a year ago
  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (2)
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (0)
Dependents (0)

Copyright 2014 - 2016 © taobao.org |