Socket
Socket
Sign inDemoInstall

acorn-import-attributes

Package Overview
Dependencies
1
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    acorn-import-attributes

Support for import attributes in acorn


Version published
Weekly downloads
2.4M
increased by6.72%
Maintainers
1
Install size
31.3 kB
Created
Weekly downloads
 

Readme

Source

Support for import attributes in acorn

Install

yarn add acorn-import-attributes

Usage

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

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

License

This plugin is released under an MIT License.

FAQs

Last updated on 29 Mar 2024

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc