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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    16
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    16
  • 0.1.0
    3
  • 0.0.2
    2
  • 0.0.1
    2

Package Sidebar

Install

npm i aster-parse-js

Weekly Downloads

7

Version

0.1.1

License

MIT

Last publish

Collaborators

  • rreverser