Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on Apr 18, 2024 via pnpm

acorn-import-assertions 1.8.0

Support for import assertions in acorn
Package summary
Share
0
issues
1
license
2
MIT
Package created
13 Dec 2020
Version published
4 Oct 2021
Maintainers
1
Total deps
2
Direct deps
1
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
2 Packages, Including:
acorn-import-assertions@1.8.0
acorn@8.11.3
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

1
All Dependencies CSV
β“˜ This is a list of acorn-import-assertions 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
acorn8.11.3122.89 kBMIT
prod peer

Visualizations

Frequently Asked Questions

What does acorn-import-assertions do?

Acorn-import-assertions is an npm package that offers support for import assertions in acorn. Import assertions are a new JavaScript feature that allows metadata to be associated with import statements. Acorn is a small, fast, JavaScript-based parsing library, and with this plugin, you can extend Acorn's parsing capabilities to include support for import assertions.

How do you use acorn-import-assertions?

To use acorn-import-assertions, begin by installing it via npm. Once installed, you can execute it with the Acorn Parser utility. An example of this would look like the following JavaScript code:

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

In this code, require('acorn') and require('acorn-import-assertions') are importing the Acorn Parser utility and the import assertions plugin, respectively. Parser.extend(importAssertions).parse('...') is using the plugin to extend the capabilities of the parser.

Where are the acorn-import-assertions docs?

The acorn-import-assertions documentation, including further usage details and related information, can be found directly on the GitHub page for the package, which is: https://github.com/xtuc/acorn-import-assertions.