Last change
on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
347 bytes
|
Line | |
---|
1 | # Support for import assertions in acorn
|
---|
2 |
|
---|
3 | ## Usage
|
---|
4 |
|
---|
5 | This module provides a plugin that can be used to extend the Acorn Parser class:
|
---|
6 |
|
---|
7 | ```js
|
---|
8 | const {Parser} = require('acorn');
|
---|
9 | const {importAssertions} = require('acorn-import-assertions');
|
---|
10 | Parser.extend(importAssertions).parse('...');
|
---|
11 | ```
|
---|
12 |
|
---|
13 | ## License
|
---|
14 |
|
---|
15 | This plugin is released under an MIT License.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.