ensemble_ts_interpreter 1.0.3
ensemble_ts_interpreter: ^1.0.3 copied to clipboard
A JavaScript (ES5) interpreter written entirely in Dart for Flutter applications. Execute JavaScript code inline within your Dart/Flutter app without external engines. Features include primitive types [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add ensemble_ts_interpreter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
ensemble_ts_interpreter: ^1.0.3
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:ensemble_ts_interpreter/ensemble_ts_interpreter.dart';