Robots.js is a tool used to generate robots.txt according to your rules. (Limited features so far) Adapted from FastGitORG/SpiderFucker & Kinetix-Lee/spiderfucker-python.
The -i
and -o
options are set by default, thus you can execute
npm run create
directly, which will load config/rules.json
and makes config/robots.txt
.
Options:
- -i, --in [file] Specify input file. (default: "config/rules.json")
- -o, --out [file] Specify output file. (default: "config/robots.txt")
- -h, --help display help for command
npm run create -i [Input] -o [Output]
npm run test
Check out help:
npm run rjs-help