acorn-object-spread

WebJar for acorn-object-spread

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

acorn-object-spread
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

acorn-object-spread
WebJar for acorn-object-spread
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/acornjs/acorn-object-spread

Download acorn-object-spread

How to add to project

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

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : acorn jar [3.1.0,4)

Project Modules

There are no modules declared in this project.

ObjectSpread support in acorn

Build Status NPM version

NOTE: Object spread is now part of the core library, so you probably don't need this plugin anymore.

This is plugin for Acorn - a tiny, fast JavaScript parser, written completely in JavaScript.

Usage

You can use this module directly in order to get Acorn instance with plugin installed:

var acorn = require('acorn-object-spread');

Or you can use inject.js for injecting plugin into your own version of Acorn like this:

var acorn = require('acorn-object-spread/inject')(require('./custom-acorn'));

Then, use the plugins option whenever you need to support objectSpread while parsing:

var ast = acorn.parse(code, {
  plugins: { objectSpread: true }
});

License

This plugin is issued under the MIT license.

With <3 by UXtemple.

org.webjars.npm

Versions

Version
1.0.0