node/deps/acorn-plugins/acorn-numeric-separator
Ruben Bridgewater 08c656bb7b
deps: update acorn to v7.1.1
Also clean up the plugins package.json files.

PR-URL: https://github.com/nodejs/node/pull/32310
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
2020-03-29 22:43:15 +02:00
..
CHANGELOG.md deps: add acorn stage-3 plugins 2019-04-30 16:22:56 +02:00
LICENSE deps: add acorn stage-3 plugins 2019-04-30 16:22:56 +02:00
README.md deps: add acorn stage-3 plugins 2019-04-30 16:22:56 +02:00
index.js deps: add acorn stage-3 plugins 2019-04-30 16:22:56 +02:00
package.json deps: update acorn to v7.1.1 2020-03-29 22:43:15 +02:00

README.md

Numeric separator support for Acorn

NPM version

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

It implements support for numeric separators as defined in the stage 3 proposal Numeric Separators.

Usage

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

var acorn = require('acorn');
var numericSeparator = require('acorn-numeric-separator');
acorn.Parser.extend(numericSeparator).parse('100_000');

License

This plugin is released under an MIT License.