site-panzai/node_modules/acorn-import-attributes
2026-11-13 13:57:04 +01:00
..
lib first commit 2026-11-13 13:57:04 +01:00
src first commit 2026-11-13 13:57:04 +01:00
LICENSE first commit 2026-11-13 13:57:04 +01:00
package.json first commit 2026-11-13 13:57:04 +01:00
README.md first commit 2026-11-13 13:57:04 +01:00

Support for import attributes in acorn

Install

yarn add acorn-import-attributes

Usage

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

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

License

This plugin is released under an MIT License.