1.0.1 • Published 1 year ago

acorn-import-assertion-v2 v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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

1.0.1

1 year ago

1.0.0

1 year ago

1.0.0-beta.3

1 year ago