webidl-deps
webidl-deps
consumes a WebIDL AST and returns the list of external
dependencies referenced along with those exposed by the AST.
Usage
Given the following WebIDL fragment:
[NoInterfaceObject]interface GlobalFetch {Promise<Response> fetch(RequestInfo input, optional RequestInit init);};Window implements GlobalFetch;WorkerGlobalScope implements GlobalFetch;
var ast = ;var deps = ;;
yields:
License
MIT