browserify/acorn-node

Name: acorn-node

Owner: browserify

Description: the acorn javascript parser, preloaded with plugins for syntax parity with recent node versions

Created: 2018-01-09 20:13:01.0

Updated: 2018-03-02 10:42:39.0

Pushed: 2018-02-02 09:35:39.0

Homepage: null

Size: 24

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

acorn-node

Acorn preloaded with plugins for syntax parity with recent Node versions.

It also includes versions of the plugins compiled with Bublé, so they can be run on old Node versions (0.6 and up).

npm travis standard

Install
install acorn-node
Usage
acorn = require('acorn-node')

The API is the same as acorn, but the following syntax features are enabled by default:

And the following options have different defaults from acorn, to match Node modules:

walk = require('acorn-node/walk')

The Acorn syntax tree walker. Comes preconfigured for the syntax plugins if necessary. See the acorn documentation for details.

License

Apache-2.0


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.