jsparser 2.0.1 copy "jsparser: ^2.0.1" to clipboard
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>

example/example.dart

import 'package:jsparser/jsparser.dart';
import 'dart:io';

void main() {
  new File('test.js').readAsString().then((String code) {
    Program ast = parsejs(code, filename: 'test.js');
    // Use the AST for something
  });
}
4
likes
40
pub points
30%
popularity

Publisher

unverified uploader

JavaScript parser originally written by Asger Feldthaus<asger.feldthaus@gmail.com>, upgarded to dart 2.4 by Anurag Vohra <anuragvohraec@gmail.com>

Repository (GitHub)
View/report issues

License

BSD-2-Clause (license)

Dependencies

unicode

More

Packages that depend on jsparser