# acorn-import-assertions

> Support for import assertions in acorn

Latest version **1.9.0** (published 2023-05-12) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install acorn-import-assertions
pnpm add acorn-import-assertions
yarn add acorn-import-assertions
bun add acorn-import-assertions
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.9.0 |
| Published | 2023-05-12 |
| First published | 2020-12-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 25.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 22 |
| Author | Sven Sauleau |
| Maintainers | xtuc |

## Links

- npm: https://www.npmjs.com/package/acorn-import-assertions
- Repository: https://github.com/xtuc/acorn-import-assertions
- Homepage: https://github.com/xtuc/acorn-import-assertions#readme
- Issues: https://github.com/xtuc/acorn-import-assertions/issues
- npm.io page: https://npm.io/package/acorn-import-assertions

## Recent versions

- 1.9.0 (latest) — 2023-05-12
- 1.8.0 — 2021-10-04
- 1.7.6 — 2021-07-24
- 1.7.5 — 2021-07-24
- 1.7.4 — 2021-07-22
- 1.7.3 — 2021-07-16
- 1.7.2 — 2021-07-16
- 1.7.1 — 2021-06-21
- 1.7.0 — 2021-06-21
- 1.6.0 — 2021-06-20
- 1.5.0 — 2021-06-19
- 1.4.6 — 2020-12-28
- 1.4.5 — 2020-12-28
- 1.4.4 — 2020-12-28
- 1.4.3 — 2020-12-27
- … 7 more at https://npm.io/package/acorn-import-assertions/versions

## README

# Support for import assertions in acorn

## Usage

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

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

## License

This plugin is released under an MIT License.

---
_Source: https://npm.io/package/acorn-import-assertions · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
