This is (or should be) a full JavaScript interop package using package:js bindings.
The bindings are generated by machine-reading WebIDL files for types and MDN website for documentation.
Take a look at MediaStream file and check out how nice it is with the awesome MDN documentation.
Usage
Promise and Future
JS Promises and Dart Futures are not the same thing.
This package addes an easy way to use promises:
What to import
There is a folder called bindings and there is one dart file for each IDL spec.
For example orientation_event:
For a better JS interop
If you wish for a better JS interop in Dart, please, thumbs up the following issues:
Better JS interop in general
Make awaiting a Promise as easy as a Future
Be able to use rename instance members