uni-Identify-quality/node_modules/acorn-import-assertions
2024-06-28 16:09:48 +08:00
..
lib fix 2024-06-28 16:09:48 +08:00
src fix 2024-06-28 16:09:48 +08:00
package.json fix 2024-06-28 16:09:48 +08:00
README.md fix 2024-06-28 16:09:48 +08:00

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.