Big update!Announcing Socket for GitHub 1.0. Learn more
Socket
BlogLoveFAQ
Install
Log in

to-fast-properties

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Issues
File Explorer

Advanced tools

to-fast-properties

Force V8 to use fast properties for an object

    4.0.0latest

Version published
Maintainers
1
Weekly downloads
31,893,843
decreased by-1.12%

Weekly downloads

Changelog

Source

Breaking

  • Require Node.js 12.20 (#16) 4ad6c27
  • This package is now pure ESM. Please read this.

https://github.com/sindresorhus/to-fast-properties/compare/v3.0.1...v4.0.0

Readme

Source

to-fast-properties

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

import toFastProperties from 'to-fast-properties'; const object = { foo: true, bar: true }; delete object.foo; // `object` now has slow properties toFastProperties(object); // `object` now has fast properties

Keywords

FAQs

What is to-fast-properties?

Force V8 to use fast properties for an object

Is to-fast-properties popular?

The npm package to-fast-properties receives a total of 25,689,865 weekly downloads. As such, to-fast-properties popularity was classified as popular.

Is to-fast-properties well maintained?

We found that to-fast-properties demonstrated a not healthy version release cadence and project activity. It has 1 open source maintainer collaborating on the project.

Last updated on 08 Aug 2021
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc