acorn-stage3

4.0.0 • Public • Published

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.

/acorn-stage3/

    Package Sidebar

    Install

    npm i acorn-stage3

    Weekly Downloads

    103,260

    Version

    4.0.0

    License

    MIT

    Unpacked Size

    48.6 kB

    Total Files

    13

    Last publish

    Collaborators

    • adrianheine
    • marijn
    • rreverser