Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 824 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 824 Bytes

update-wpd-docs Dependency Status

Creates a comprehensive JSON file of selected WebPlatform Docs data, mostly for offline use.

Installation

[sudo] npm install

Usage

[sudo] node update-wpd-docs --output <path to output json> [--lowercase-keys] [--exclude-vendor-prefixed] [--path <comma-separated list of paths>]

Config

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>

Example config.json