Check that two objects have all the same properties (keys and values) but don't check that the objects' constructors are the same.
Debug data
{
"downloads": {
"monthly": 78,
"weekly": 36
},
"dependents": 1,
"updated": "2025-04-02T20:51:28.877Z",
"searchScore": 20.932135,
"package": {
"name": "@chai-stuff/same-props",
"keywords": [
"chai-stuff",
"chai",
"plugin",
"chai-plugin",
"same-props",
"sameProps",
"same",
"props",
"type",
"typeof",
"constructor",
"constructors",
"class",
"classes",
"object",
"objects",
"array",
"arrays",
"properties",
"sameKeysAndValues",
"keys",
"and",
"values"
],
"version": "0.3.3",
"description": "Check that two objects have all the same properties (keys and values) but don't check that the objects' constructors are the same.",
"sanitized_name": "@chai-stuff/same-props",
"publisher": {
"email": "scottrudiger@gmail.com",
"username": "scottrudiger"
},
"maintainers": [
{
"email": "scottrudiger@gmail.com",
"username": "scottrudiger"
}
],
"license": "MIT",
"date": "2019-08-11T09:27:10.130Z",
"links": {
"homepage": "https://github.com/chai-stuff/chai-stuff/tree/master/packages/same-props#readme",
"repository": "git+https://github.com/chai-stuff/chai-stuff.git",
"bugs": "https://github.com/chai-stuff/chai-stuff/issues",
"npm": "https://www.npmjs.com/package/@chai-stuff/same-props"
}
},
"score": {
"final": 20.932135,
"detail": {
"popularity": 1,
"quality": 1,
"maintenance": 1
}
},
"flags": {
"insecure": 0
}
}