Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Apr 11, 2024 via pnpm

fast-deep-equal 3.1.3

Fast deep equal
Package summary
Share
0
issues
1
license
1
MIT
Package created
15 Jun 2017
Version published
8 Jun 2020
Maintainers
1
Total deps
1
Direct deps
0
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
fast-deep-equal@3.1.3
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

0
All Dependencies CSV
β“˜ This is a list of fast-deep-equal 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities

Visualizations

Frequently Asked Questions

What does fast-deep-equal do?

Fast deep equal is a blazingly fast, ES6 compatible JavaScript utility for performing deep equality checks between two entities. It provides support for ES6 Maps, Sets, and Typed arrays, making it a versatile tool in the modern JavaScript development toolkit.

How do you use fast-deep-equal?

To use fast-deep-equal, you start by installing it in your project with npm, using the command npm install fast-deep-equal. After installing the package, you can require it in your JavaScript file and use it as demonstrated in the following examples:

For ES5 compatibility:

var equal = require('fast-deep-equal');
console.log(equal({foo: 'bar'}, {foo: 'bar'})); // Returns true

For ES6 Maps, Sets, and Typed arrays support:

var equal = require('fast-deep-equal/es6');
console.log(equal(Int16Array([1, 2]), Int16Array([1, 2]))); // Returns true

For usage with React:

// Without ES6 support
var equal = require('fast-deep-equal/react');
// With ES6 support
var equal = require('fast-deep-equal/es6/react');

Here, the equal function is being imported from the fast-deep-equal module and being used to compare two objects or arrays for deep equality. It returns a boolean true if both entities are deeply equal, false otherwise.

Where are the fast-deep-equal docs?

The fast-deep-equal documentation can be found primarily in the readme file on the GitHub repository. The repository URL is git+https://github.com/epoberezkin/fast-deep-equal.git. This readme file provides a comprehensive overview of the package, including the installation process, usage examples for various scenarios, performance benchmarks illustrating its speed, and details on enterprise support and security contact. You are advised to refer to this readme file for understanding how to use and optimally leverage the fast-deep-equal package in your project.