zhaoyu_ma 5d3259f632 代码混淆插件. | 8 months ago | |
---|---|---|
.. | ||
test | 8 months ago | |
.eslintrc.json | 8 months ago | |
CHANGELOG.md | 8 months ago | |
LICENSE | 8 months ago | |
README.md | 8 months ago | |
index.js | 8 months ago | |
package.json | 8 months ago | |
run_test262.js | 8 months ago |
This is a plugin for Acorn - a tiny, fast JavaScript parser, written completely in JavaScript.
It implements support for import.meta as defined in the corresponding stage 3 proposal. The emitted AST follows ESTree.
This module provides a plugin that extends the Acorn Parser
class:
var acorn = require('acorn');
var importMeta = require('acorn-import-meta');
acorn.Parser.extend(importMeta).parse('console.log(import.meta.url)');
This plugin is released under an MIT License.