npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "equal" 的结果(共 94 个)
compare-versions

Compare semver version strings to find greater, equal or lesser.

MIT
buffer-equal

return whether two buffers are equal

MIT
deep-eql

Improved deep equality testing for Node.js and the browser.

MIT
shallowequal

Like lodash isEqualWith but for shallow equal.

MIT
dequal

A tiny (304B to 489B) utility for check for deep equality

MIT
deep-equal-json

`deep-equal`, but only for JSON-supported values.

MIT
chai-exclude

Exclude keys to compare from a deep equal operation with chai expect and assert

MIT
deep-is

node's assert.deepEqual algorithm except for NaN being equal to NaN

MIT
arr-diff

Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons.

MIT
should-equal

Deep comparison of 2 instances for should.js

MIT
@wry/equality

Structural equality checking for JavaScript values

MIT
buffer-equal-constant-time

Constant-time comparison of Buffers

BSD-3-Clause
fast-equals

A blazing-fast equality comparison utility for a variety of use-cases

MIT
react-fast-compare

Fastest deep equal comparison for React. Great for React.memo & shouldComponentUpdate. Also really fast general-purpose deep comparison.

MIT
shallow-equals

Determine if an array or object is equivalent with another, *not* recursively

MIT
chai-json-equal

Assert on equality of json representations in Chai

MIT
expect-jsx

toEqualJSX for mjackson/expect

MIT
assert-diff

Drop-in replacement for assert to give diff on deepEqual.

Apache-2.0
nano-equal

Ultra fast and compact implementation of deep equal without any production dependencies.

MIT
lodash.isequalwith

The lodash method `_.isEqualWith` exported as a module.

MIT
stream-equal

Test that two readable streams are equal to each other.

MIT
node-version-check

Check if the version of Node is greater than or equal to some version

MIT
rollup-plugin-strip

Remove debugger statements and functions like assert.equal and console.log from your code.

MIT
shallow-equal-fuzzy

Fuzzy implementation of shallowEqual algoritm

MIT
preact-jsx-chai

Extend Chai with support for asserting JSX equality & contents.

MIT
kewlr

Compare objects and return whether they are equal according to a recursive equality algorithm. This module is around 6 - 9% faster then similiar modules. Works for both NodejS and the browser.

MIT