webidl-extract

1.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i webidl-extract

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • andreasmadsen