For regular usage, simply use the specific json files needed. If using from Node.js, install this module:
npm install idl4js
A function for each json file is exported that will load it for you.
var html5 =dom4 = ;
At the top level is the definition type. The vast majority of definitions are interfaces. A handful are dictionaries which are exclusively used for initializing event objects. A smaller handful are enums.
indexedthen it will have numbered properties, an "item" method, and a length. The type of value is indicated, as well as whether the items are writable, deletable, and creatable.
Multiple accepted types in args lists are indicated as arrays.
An abbreviated version of
html5 also includes a few extras like ShadowDOM and XHR