消除我特牛
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
yangqiwen 03a1cf9129 消除我特牛 4 weeks ago
..
test 消除我特牛 4 weeks ago
.eslintrc.json 消除我特牛 4 weeks ago
CHANGELOG.md 消除我特牛 4 weeks ago
LICENSE 消除我特牛 4 weeks ago
README.md 消除我特牛 4 weeks ago
index.js 消除我特牛 4 weeks ago
package.json 消除我特牛 4 weeks ago
run_test262.js 消除我特牛 4 weeks ago

README.md

Support for import.meta in Acorn

NPM version

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.

Usage

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)');

License

This plugin is released under an MIT License.