blob: 4b9b3adf26a4f5abef7ef01d5ec967afdb03cfca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# 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.
|