node-rfc-preptool
Prototype implementation of draft-iab-rfcv3-preptool, used for checking the validity of that Internet-Draft.
This tool is NOT designed to be fast. It's designed to match the spec
literally. Many of the steps (in the steps/
directory) could be done all in
the same pass, avoiding XML parsing and serialization.
Pre-requisites
You'll need the following installed on your system:
On OSX, make sure XCode and it's command-line tools are installed. Install homebrew (for example) then:
brew install libxml2 node
Installation
npm install -g rfc-preptool
Running
Usage: rfc-preptool [options] <input> [output]Options:-h, --help output usage information-V, --version output the version number-d, --debug <dir> output each step to dir-v, --verbose output the name of each step-r, --rfc force RFC mode-i, --id force I-D mode-s, --step <num> Run this step (default is all, multiple ok)