gameStatusUpdate/node_modules/acorn-import-attributes
2024-09-18 08:27:46 -07:00
..
lib created v0.0.1 2024-09-18 08:27:46 -07:00
src created v0.0.1 2024-09-18 08:27:46 -07:00
LICENSE created v0.0.1 2024-09-18 08:27:46 -07:00
package.json created v0.0.1 2024-09-18 08:27:46 -07:00
README.md created v0.0.1 2024-09-18 08:27:46 -07: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.