Socket
Book a DemoInstallSign in
Socket

acorn-import-defer

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

acorn-import-defer

Support for `import defer` syntax in Acorn

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Support for import defer in acorn

Install

npm install acorn-import-defer

Usage

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

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

License

This plugin is released under an MIT License.

Keywords

acorn

FAQs

Package last updated on 02 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts