js 0.6.3-nullsafety copy "js: ^0.6.3-nullsafety" to clipboard
js: ^0.6.3-nullsafety copied to clipboard

discontinued
outdated

Annotations to create static Dart interfaces for JavaScript APIs.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add js
copied to clipboard

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  js: ^0.6.3-nullsafety
copied to clipboard

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:js/js.dart';
copied to clipboard
382
likes
0
points
6.47M
downloads

Publisher

verified publisherdart.dev

Weekly Downloads

2024.08.14 - 2025.02.26

Annotations to create static Dart interfaces for JavaScript APIs.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on js