npm.io
4.0.0 • Published 5 years ago

acorn-stage3

Licence
MIT
Version
4.0.0
Deps
3
Size
47 kB
Vulns
0
Weekly
0
Stars
21

stage 3 proposal support for Acorn

NPM version

This is a plugin for Acorn - a tiny, fast JavaScript parser, written completely in JavaScript.

It implements support for all missing ECMAScript stage 3 proposals. Neither loose mode nor walk are currently supported.

Usage

This module provides a plugin that can be used to extend the Acorn Parser class:

const {Parser} = require('acorn');
const stage3 = require('acorn-stage3');
Parser.extend(stage3).parse('100_000n');

License

This plugin is released under an MIT License.