to-fast-properties

WebJar for to-fast-properties

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

to-fast-properties
Last Version

Last Version

2.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

to-fast-properties
WebJar for to-fast-properties
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/sindresorhus/to-fast-properties

Download to-fast-properties

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

to-fast-properties Build Status

Force V8 to use fast properties for an object

Read more.

Use %HasFastProperties(object) and --allow-natives-syntax to check whether an object already has fast properties.

Install

$ npm install to-fast-properties

Usage

const toFastProperties = require('to-fast-properties');

const object = {
	foo: true,
	bar: true
};

delete object.foo;
// `object` now has slow properties

toFastProperties(object);
// `object` now has fast properties

Versions

Version
2.0.0
1.0.3
1.0.1