Here's what's currently available in parse.js,
```
> node bin/parse --help
Usage: echo wikitext | parse [options]
Default conversion mode : --wt2html
Options:
--help, -h Show this help message [boolean] [default: false]
--version Show version number [boolean]
--wt2html Wikitext -> HTML [boolean] [default: false]
--html2wt HTML -> Wikitext [boolean] [default: false]
--wt2wt Wikitext -> HTML -> Wikitext
[boolean] [default: false]
--html2html HTML -> Wikitext -> HTML
[boolean] [default: false]
--selser Use the selective serializer to go from HTML to
Wikitext. [boolean] [default: false]
--normalize Normalize the output as parserTests would do. Use
--normalize for PHP tests, and
--normalize=parsoid for parsoid-only tests
--body_only Just return the body, without any normalizations
as in --normalize [boolean] [default: false]
--config Path to a config.yaml file. Use --config w/ no
argument to default to the server's config.yaml
[default: false]
--oldtext The old page text for a selective-serialization
(see --selser) [default: null]
--oldtextfile File containing the old page text for a
selective-serialization (see --selser)
[default: null]
--oldhtmlfile File containing the old HTML for a
selective-serialization (see --selser)
[default: null]
--domdiff File containing the diff-marked HTML for used
with selective-serialization (see --selser)
[default: null]
--inputfile File containing input as an alternative to stdin
[default: false]
--pbin Input pagebundle JSON [default: ""]
--pbinfile Input pagebundle JSON file [default: ""]
--pboutfile Output pagebundle JSON to file [default: false]
--offline Shortcut to turn off various network fetches
during parse. [boolean] [default: false]
--record Record http requests for later replay
[boolean] [default: false]
--replay Replay recorded http requests for later replay
[boolean] [default: false]
--verbose Log at level "info" as well
[boolean] [default: false]
--useWorker Use a worker farm [boolean] [default: false]
--linting Parse with linter enabled
[boolean] [default: false]
--loadWMF Use WMF mediawiki API config
[boolean] [default: true]
--prefix Which wiki prefix to use; e.g. "enwiki" for
English wikipedia, "eswiki" for Spanish,
"mediawikiwiki" for mediawiki.org [default: null]
--domain Which wiki to use; e.g. "en.wikipedia.org" for
English wikipedia, "es.wikipedia.org" for
Spanish, "mediawiki.org" for mediawiki.org
[default: null]
--oldid Oldid of the given page. [default: null]
--outputContentVersion The acceptable content version.[default: "2.1.0"]
--pageName The page name, returned for {{PAGENAME}}. If no
input is given (ie. empty/stdin closed), it
downloads and parses the page. This should be the
actual title of the article (that is, not
including any URL-encoding that might be
necessary in wikitext). [default: ""]
--pageBundle Output pagebundle JSON [boolean] [default: false]
--scrubWikitext Apply wikitext scrubbing while serializing. This
is also used for a mode of normalization
(--normalize) applied when parsing.
[boolean] [default: false]
--contentmodel The content model of the input. Defaults to
"wikitext" but extensions may support others (for
example, "json"). [default: null]
--wrapSections Output <section> tags (default false)
[boolean] [default: false]
--debug Provide optional flags. Use --debug=help for
supported options
--trace Use --trace=help for supported options
--dump Dump state. Use --dump=help for supported options
--genTest Generates token transformer and DOM pass tests.
Use --genTest=help for supported options
[default: ""]
--genTestOut Output file to use for token transformer tests
[default: ""]
--genDirectory Output directory to use for DOM tests
[default: ""]
--genTestFragments Enable fragment generation in DOM genTest output
[boolean] [default: false]
--fetchConfig Whether to fetch the wiki config from the server
or use our local copy [boolean] [default: true]
--fetchTemplates Whether to fetch included templates recursively
[boolean] [default: true]
--fetchImageInfo Whether to fetch image info via the API
[boolean] [default: true]
--expandExtensions Whether we should request extension tag
expansions from a wiki [boolean] [default: true]
--usePHPPreProcessor Whether to use the PHP preprocessor to expand
templates [boolean] [default: true]
--addHTMLTemplateParameters Parse template parameters to HTML and add them to
template data [boolean] [default: false]
--maxdepth Maximum expansion depth [default: 40]
--apiURL http path to remote API, e.g.
http://en.wikipedia.org/w/api.php [default: null]
--rtTestMode Test in rt test mode (changes some parse &
serialization strategies)
[boolean] [default: false]
--useBatchAPI Turn on/off the API batching system
--phpConfigFile PHP config to splice into the JS pipelines
[default: null]
--color Enable color output Ex: --no-color
[default: "auto"]
```
vs what's in parse.php,
```
> php bin/parse.php --help
Omnibus script to convert between wikitext and HTML, and roundtrip wikitext or
HTML. Supports a number of options pertaining to pointing at a specific wiki or
enabling various features during these transformations.
If no options are provided, --wt2html is enabled by default.
See --help for detailed usage help.
Usage: php parse.php [--body_only|--help|--html2wt|--oldhtmlfile|--oldtextfile|--quiet|--selser|--wt2html]
--help (-1): Display this help message
--quiet (-1): Whether to suppress non-error output
Script specific parameters:
--body_only: Just return the body, without any normalizations as in
--normalize
--html2wt: HTML -> Wikitext
--oldhtmlfile: File containing the old HTML for a
selective-serialization (see --selser)
--oldtextfile: File containing the old page text for a
selective-serialization (see --selser)
--selser: Use the selective serializer to go from HTML to Wikitext.
--wt2html: Wikitext -> HTML
```