Sun calculation js library which is fully based on formula from http://aa.quae.nl/en/reken/zonpositie.html
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Orion Stark
a7e10d6796
|
7 years ago | |
---|---|---|
.. | ||
LICENSE | 7 years ago | |
README.md | 7 years ago | |
index.js | 7 years ago | |
package.json | 7 years ago |
README.md
tsame
Verify that two objects are the same, for use in tap. The less accepting cousin of tmatch.
This merges code originally found in only-shallow and deeper. See license file for more details.
USAGE
const tsame = require('tsame')
const obj1 = { foo: '1' }
const obj2 = { foo: 1 }
// nonstrict by default
assert(tsame(obj1, obj2))
// strictly the same, types and all
assert(!tsame.strict(obj1, obj2))
Pretty much what it says on the tin.