jsparser 2.0.1 jsparser: ^2.0.1 copied to clipboard
JavaScript parser originally written by Asger Feldthaus<asger.feldthaus@gmail.com>, upgarded to dart 2.4 by Anurag Vohra <anuragvohraec@gmail.com>
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add jsparser
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
jsparser: ^2.0.1
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:jsparser/jsparser.dart';