# acorn-import-attributes

> Support for import attributes in acorn

Latest version **1.9.5** (published 2024-03-29) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.9.5 |
| Published | 2024-03-29 |
| First published | 2023-05-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 31.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 22 |
| Author | Sven Sauleau |
| Maintainers | xtuc |

## Links

- npm: https://www.npmjs.com/package/acorn-import-attributes
- Repository: https://github.com/xtuc/acorn-import-attributes
- npm.io page: https://npm.io/package/acorn-import-attributes

## Recent versions

- 1.9.5 (latest) — 2024-03-29
- 1.9.4 — 2024-03-26
- 1.9.3 — 2024-03-26
- 1.9.2 — 2023-08-27
- 1.9.1 — 2023-06-15
- 1.9.0 — 2023-05-16

## README

# 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:

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

## License

This plugin is released under an MIT License.

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