tjwebb

tjwebb/congruence

Validate the structure of Javascript objects using semantic templates. Written as a lodash mixin.

JavaScript
8
0
No license

Congruence is a small utility that lets developers validate the shape and content of JavaScript objects by describing them with “semantic templates” – objects whose values are lodash type‑checking predicates (or literal values). It plugs in as a lodash 4+ mixin, providing `_.congruent` (exact key‑set match) and `_.similar` (partial match) functions useful for testing, config validation, or any code that needs concise, expressive object schema checks. Suitable for Node.js developers who already use lodash and want a lightweight, predicate‑based alternative to full‑blown schema libraries.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of tjwebb/congruence

Account's avatar
Javascript FNV-1a Hashing Algorithm up to 1024 bits, with highly optimized 32bit and 52bit implementations.
Account's avatar
simple, flexible, fun test framework
Account's avatar
The semantic version parser used by npm.

Support the repos that depend on this repository

Top contributors

tjwebb's profile
tjwebb
44 contributions
iansltx's profile
iansltx
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet