acorn-import-attributes

Support for import attributes in acorn

MIT 6 个版本
安装
npm install acorn-import-attributes
yarn add acorn-import-attributes
pnpm add acorn-import-attributes
bun add acorn-import-attributes
README

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.

版本列表
1.9.5 2024-03-29
1.9.4 2024-03-26
1.9.3 2024-03-26
1.9.2 2023-08-27
1.9.1 2023-06-15
1.9.0 2023-05-16