Skip to content
Snippets Groups Projects
Select Git revision
  • c23fb055fbf01dec9f1a5aa7833b77adf6d1466c
  • main default protected
  • instances/2025_05
  • instances/2024_11
4 results

acorn-import-assertions

  • Clone with SSH
  • Clone with HTTPS
  • Name Last commit Last update
    ..
    lib
    src
    README.md
    package.json

    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.