node-deep-equal
assertnever
node-deep-equal | assertnever | |
---|---|---|
2 | 1 | |
760 | 1 | |
0.3% | - | |
8.0 | 10.0 | |
4 months ago | over 1 year ago | |
JavaScript | C | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
node-deep-equal
-
Unreasonable interview question?
This is a pretty hard problem, there are lot's of subtleties even just in defining deep equality. A quick check of a run of the mill implementation will confirm that this is not a problem for a junior: https://github.com/inspect-js/node-deep-equal/blob/master/index.js
-
Do you want to become a better maintainer?
So I got a bit curious to look even deeper to this and noticed qs is not the only case where the similar fate has happened. Another package using side-channel is deep-equal and has a similar history. It used to be a very small utility when still in v1.0 series, but starting from v1.1 it had new maintainers and the package size went up while also having performance regressions so people kept using v1.0.
assertnever
-
assertnever - Syntactical sugar for assert never
if 0: assert never ``` repo: https://github.com/ZeroIntensity/assertnever
What are some alternatives?
fast-deep-equal - The fastest deep equality check with Date, RegExp and ES6 Map, Set and typed arrays support
throw - A simple, fluent, extensible, and fully customizable library for throwing exceptions for projects using .NET 6+
mocha - ☕️ simple, flexible, fun javascript test framework for node.js & the browser
static-assertions - Ensure correct assumptions about constants, types, and more in Rust
ava - Node.js test runner that lets you develop with confidence 🚀
shelljs - :shell: Portable Unix shell commands for Node.js
validator.js - :interrobang: Lightweight JavaScript form validation, that had minimal configuration and felt natural to use. No dependencies, support UMD.
node - Node.js JavaScript runtime ✨🐢🚀✨
power-assert - Power Assert in JavaScript. Provides descriptive assertion messages through standard assert interface. No API is the best API.
baloo - Expressive end-to-end HTTP API testing made easy in Go