MIF_E31212289/node_modules/acorn-import-assertions
lutfahimayatus 0e50ebf80c first commit 2024-07-01 11:18:03 +07:00
..
lib first commit 2024-07-01 11:18:03 +07:00
src first commit 2024-07-01 11:18:03 +07:00
README.md first commit 2024-07-01 11:18:03 +07:00
package.json first commit 2024-07-01 11:18:03 +07: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.