#webidl-extract
Parse a stream of HTML and output the WebIDL within
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
This is really just a modernized and simplified version of webidl-scraper.