JavaScript and TypeScript interop

The Dart web platform supports calling JavaScript (JS) and TypeScript (TS) using the js package, also known as package:js.

For help using the js package, see the following:

js_facade_gen
A tool that generates Dart code from JavaScript libraries that have TypeScript type definitions.
dart_js_interop
Examples of using the js package, with comparisons to old code that uses the dart:js library.
Packages that depend on js
Published packages that have js in their pubspec.