acorn-node

WebJar for acorn-node

Лицензия

Лицензия

Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

acorn-node
Последняя версия

Последняя версия

1.8.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

acorn-node
WebJar for acorn-node
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/browserify/acorn-node

Скачать acorn-node

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/acorn-node/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>acorn-node</artifactId>
    <version>1.8.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/acorn-node/
implementation 'org.webjars.npm:acorn-node:1.8.2'
// https://jarcasting.com/artifacts/org.webjars.npm/acorn-node/
implementation ("org.webjars.npm:acorn-node:1.8.2")
'org.webjars.npm:acorn-node:jar:1.8.2'
<dependency org="org.webjars.npm" name="acorn-node" rev="1.8.2">
  <artifact name="acorn-node" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='acorn-node', version='1.8.2')
)
libraryDependencies += "org.webjars.npm" % "acorn-node" % "1.8.2"
[org.webjars.npm/acorn-node "1.8.2"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.webjars.npm : acorn jar [7.0.0,8)
org.webjars.npm : acorn-walk jar [7.0.0,8)
org.webjars.npm : xtend jar [4.0.2,5)

Модули Проекта

Данный проект не имеет модулей.

acorn-node

Acorn preloaded with plugins for syntax parity with recent Node versions.

It also includes versions of the plugins compiled with Bublé, so they can be run on old Node versions (0.6 and up).

npm travis standard

Install

npm install acorn-node

Usage

var acorn = require('acorn-node')

The API is the same as acorn, but the following syntax features are enabled by default:

  • Numeric separators syntax 10_000
  • Public and private class instance fields
  • Public and private class static fields

And the following options have different defaults from acorn, to match Node modules:

  • ecmaVersion: 2020
  • allowHashBang: true
  • allowReturnOutsideFunction: true
var walk = require('acorn-node/walk')

The Acorn syntax tree walker. Comes preconfigured for the syntax plugins if necessary. See the acorn documentation for details.

License

The files in the repo root and the ./test folder are licensed as Apache-2.0.

The files in lib/ are generated from other packages:

org.webjars.npm

Версии библиотеки

Версия
1.8.2
1.7.0
1.6.2
1.5.2
1.3.0