deep-is
npmv0.1.4node's assert.deepEqual algorithm except for NaN being equal to NaN
Not recommended for new projects
No — deep-is should not be adopted for new projects. Last published 1831 days ago.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- FMaintenance: grade F, Failing.
Last published 1831 days ago.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 7.9 KB installed.
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding deep-is to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Compatibility
- Node.js
- No constraint declared
- Module format
- CommonJS only
- TypeScript
- No bundled types
- Install scripts
- None
Quick start
A usage example from the deep-is README.
var equal = require('deep-is');
console.dir([
equal(
{ a : [ 2, 3 ], b : [ 4 ] },
{ a : [ 2, 3 ], b : [ 4 ] }
),
equal(
{ x : 5, y : [6] },
{ x : 5, y : 6 }
)
]);deep-is vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| deep-isthis page | 0 | 1 | MIT | 5 years ago |
| deep-equal | 0 | 6 | MIT | 1 day ago |
| react-fast-compare | 0 | 1 | MIT | 1 day ago |
| shallowequal | 0 | 1 | MIT | 1 day ago |
| diff | 124.1M | 4 | BSD-3-Clause | 1 day ago |
| object-is | 21.5M | 1 | MIT | 1 day ago |
Dependencies
Declared by deep-is v0.1.4. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (1)
Used by
Popular packages that depend on deep-is.
Relationship graph
Dependencies (left) and dependents (right) of deep-is.
Frequently installed together
Wrap words to a specified length.
prelude.ls is a functionally oriented utility library. It is powerful and flexible. Almost all of its functions are curried. It is written in, and is the recommended base library for, LiveScript.
type-check allows you to check the types of JavaScript values at runtime with a Haskell like type syntax.
Light ECMAScript (JavaScript) Value Notation - human written, concise, typed, flexible
Efficient implementation of Levenshtein algorithm with locale-specific collator support.
Release history
No releases in the last two years, typically about 469 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 0.1.4latest | 5 years ago | 7.9 KB | MIT |
| 0.1.3 | 12 years ago | — | MIT |
| 0.1.2 | 13 years ago | — | MIT |
| 0.1.1 | 13 years ago | — | MIT |
| 0.1.0 | 13 years ago | — | MIT |
Overview
deep-is is an npm package that node's assert.deepEqual algorithm except for NaN being equal to NaN. It has 1 known dependents in the graph. The latest version is 0.1.4, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need node's assert.deepEqual algorithm except for NaN being equal to NaN and value a focused solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Clear open-source license (MIT).
- Lean dependency tree (1 direct dependencies).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Frequently asked questions
Should I use deep-is?
No — deep-is should not be adopted for new projects. Last published 1831 days ago.
How do I install deep-is?
Run `npm install deep-is` to add deep-is to your npm project.
What license is deep-is released under?
deep-is is distributed under the MIT license.
How popular is deep-is?
npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on deep-is.
Is deep-is still maintained?
The most recent release of deep-is (v0.1.4) was published 5 years ago.
Does deep-is run install scripts?
No. deep-is does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.