1.0.1 • Published 7 years ago

webidl-extract v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

#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.