Creates a comprehensive JSON file of selected WebPlatform Docs data, mostly for offline use.
[sudo] npm install
[sudo] node update-wpd-docs --output <path to output json> [--lowercase-keys] [--exclude-vendor-prefixed] [--path <comma-separated list of paths>]
You can create a config.json
file with the keys output
, paths
, lowercase-keys
and vendor-prefixes
. You can also define aliases in there and use them like this:
[sudo] node update-wpd-docs <alias>