acorn-import-attributes

1.9.5 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i acorn-import-attributes

Weekly Downloads

12,329,524

Version

1.9.5

License

MIT

Unpacked Size

32 kB

Total Files

9

Last publish

Collaborators

  • xtuc