JSPM

aster-parse-js

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q45340F
  • License MIT

JavaScript parser for aster.

Package Exports

  • aster-parse-js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (aster-parse-js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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