aster-parse-js

0.1.1 • Public • Published

aster-parse-js

NPM version Build Status

JavaScript parser for aster.

Usage

This is internal module and should be used as part of aster-parse or aster-src.

It uses esprima to do it's job.

API

parseJS(options)

options.loc

Type: Boolean Default: true

Location tracking (required for source maps).

options.comments

Type: Boolean Default: false

Include comments to AST.

License

MIT License

Package Sidebar

Install

npm i aster-parse-js

Weekly Downloads

10

Version

0.1.1

License

MIT

Last publish

Collaborators

  • rreverser