A chai plugin to assert that a number is within tolerance of an expected value
Debug data
{
"downloads": {
"monthly": 652,
"weekly": 120
},
"dependents": 0,
"updated": "2025-04-05T08:46:17.073Z",
"searchScore": 35.522015,
"package": {
"name": "chai-withintoleranceof",
"keywords": [
"assertions",
"testing",
"chai",
"chai-plugin",
"numbers",
"tolerance"
],
"version": "1.0.1",
"description": "A chai plugin to assert that a number is within tolerance of an expected value",
"sanitized_name": "chai-withintoleranceof",
"publisher": {
"email": "tetreault.remi@gmail.com",
"username": "rmittro"
},
"maintainers": [
{
"email": "tetreault.remi@gmail.com",
"username": "rmittro"
}
],
"license": "MIT",
"date": "2016-09-16T06:08:10.002Z",
"links": {
"homepage": "https://github.com/RmiTtro/chai-withintoleranceof#readme",
"repository": "git+https://github.com/RmiTtro/chai-withintoleranceof.git",
"bugs": "https://github.com/RmiTtro/chai-withintoleranceof/issues",
"npm": "https://www.npmjs.com/package/chai-withintoleranceof"
}
},
"score": {
"final": 35.522015,
"detail": {
"popularity": 1,
"quality": 1,
"maintenance": 1
}
},
"flags": {
"insecure": 0
}
}