rittenhop-ghost/versions/5.94.2/node_modules/acorn-import-attributes
2024-09-23 19:05:38 -04:00
..
lib adding local files for running this....locally 2024-09-23 19:05:38 -04:00
node_modules/.bin adding local files for running this....locally 2024-09-23 19:05:38 -04:00
src adding local files for running this....locally 2024-09-23 19:05:38 -04:00
LICENSE adding local files for running this....locally 2024-09-23 19:05:38 -04:00
package.json adding local files for running this....locally 2024-09-23 19:05:38 -04:00
README.md adding local files for running this....locally 2024-09-23 19:05:38 -04: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.