fast-check is a property based testing framework for JavaScript.
It checks the truthfulness of statements like:
for all (x, y, ...) such as precondition(x, y, ...) holds property(x, y, ...) is true
by generating multiple inputs corresponding to the requirements for x, y...
Install the module with: npm install fast-check --save-dev