lj_zhgd-app/zhgd-app/node_modules/acorn-import-assertions
haozq 1b51278a77 first commit 2024-08-06 16:27:09 +08:00
..
lib first commit 2024-08-06 16:27:09 +08:00
src first commit 2024-08-06 16:27:09 +08:00
README.md first commit 2024-08-06 16:27:09 +08:00
package.json first commit 2024-08-06 16:27:09 +08:00

README.md

Support for import assertions in acorn

Usage

This module provides a plugin that can be used to extend the Acorn Parser class:

const {Parser} = require('acorn');
const {importAssertions} = require('acorn-import-assertions');
Parser.extend(importAssertions).parse('...');

License

This plugin is released under an MIT License.