acorn-import-assertion-v2

1.0.1 • Public • Published

acorn-import-assertion-v2

Suport for import assertion in acorn

Usage

Require this module as an Acorn plugin just like the following code:

import { Parser } from 'acorn';
import ImportAssertionPlugin from 'acorn-import-assertion-v2';

const MyParser = Parser.extend(ImportAssertionPlugin);

MyParser.parse(/* code */, { /* configuration*/ });

License

This repo is release under an MIT License

Readme

Keywords

none

Package Sidebar

Install

npm i acorn-import-assertion-v2

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

31.4 kB

Total Files

10

Last publish

Collaborators

  • cinchen