| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| CHANGELOG.md | D | 12-May-2024 | 247 | 17 | 9 | |
| LICENSE | D | 12-May-2024 | 1 KiB | 20 | 16 | |
| README.md | D | 12-May-2024 | 814 | 22 | 13 | |
| index.js | D | 12-May-2024 | 1.6 KiB | 50 | 41 | |
| package.json | D | 12-May-2024 | 870 | 33 | 33 |
README.md
1# Numeric separator support for Acorn 2 3[](https://www.npmjs.org/package/acorn-numeric-separator) 4 5This is a plugin for [Acorn](http://marijnhaverbeke.nl/acorn/) - a tiny, fast JavaScript parser, written completely in JavaScript. 6 7It implements support for numeric separators as defined in the stage 3 proposal [Numeric Separators](https://github.com/tc39/proposal-numeric-separator). 8 9## Usage 10 11This module provides a plugin that can be used to extend the Acorn `Parser` class to parse numeric separators: 12 13```javascript 14var acorn = require('acorn'); 15var numericSeparator = require('acorn-numeric-separator'); 16acorn.Parser.extend(numericSeparator).parse('100_000'); 17``` 18 19## License 20 21This plugin is released under an [MIT License](./LICENSE). 22