webidl-extract
v1.0.1
Published
Parse a stream of HTML and output the WebIDL within
Downloads
13
Readme
#webidl-extract
Parse a stream of HTML and output the WebIDL within
Example
Use the programmable API:
const WebIDLFetch = require('webidl-fetch');
process.stdin
.pipe(new WebIDLFetch())
.pipe(process.stdout);
Use the CLI:
curl -sL http://dev.w3.org/csswg/cssom/ | webidl-fetch > cssom.idl
Acknowledgement
This is really just a modernized and simplified version of webidl-scraper.