acorn-import-assertions

1.9.0 • Public • Published

Support for import assertions in acorn

Usage

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

const {Parser} = require('acorn');
const {importAssertions} = require('acorn-import-assertions');
Parser.extend(importAssertions).parse('...');

License

This plugin is released under an MIT License.

Readme

Keywords

none

Package Sidebar

Install

npm i acorn-import-assertions

Weekly Downloads

18,324,615

Version

1.9.0

License

MIT

Unpacked Size

25.7 kB

Total Files

5

Last publish

Collaborators

  • xtuc