Package Exports
- acorn-bigint
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (acorn-bigint) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
BigInt support for Acorn
This is a plugin for Acorn - a tiny, fast JavaScript parser, written completely in JavaScript.
It implements support for arbitrary precision integers as defined in the stage 3 proposal BigInt: Arbitrary precision integers in JavaScript. The emitted AST follows an ESTree proposal.
Usage
This module provides a plugin that can be used to extend the Acorn Parser class:
const {Parser} = require('acorn');
const bigInt = require('acorn-bigint');
Parser.extend(bigInt).parse('100n');License
This plugin is released under an MIT License.