Skip to content

asterjs/aster-parse-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published