{"_id":"array-almost-equal","_rev":"4-d215a69cef7b1f7ed4617e3b1896682c","name":"array-almost-equal","description":"whether two number arrays are almost equal","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"array-almost-equal","version":"1.0.0","description":"whether two number arrays are almost equal","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"dependencies":{"almost-equal":"0.0.0","an-array":"^1.0.0"},"devDependencies":{"faucet":"0.0.1","tape":"^3.4.0"},"scripts":{"test":"node test.js | faucet"},"keywords":["vector","array","rgba","color","point","position","float","floats","numbers","array","compare","test","epsilon","fuzzy","fuzz","almost-equal","arrays"],"repository":{"type":"git","url":"git://github.com/Jam3/array-almost-equal.git"},"homepage":"https://github.com/Jam3/array-almost-equal","bugs":{"url":"https://github.com/Jam3/array-almost-equal/issues"},"gitHead":"f48579dce6f253e99966b46d06a0eee14f51cd8d","_id":"array-almost-equal@1.0.0","_shasum":"43c54ff435042e9cbfa4212ac49ada5fc7359fc5","_from":".","_npmVersion":"2.2.0","_nodeVersion":"0.10.35","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"dist":{"shasum":"43c54ff435042e9cbfa4212ac49ada5fc7359fc5","tarball":"https://registry.npmjs.org/array-almost-equal/-/array-almost-equal-1.0.0.tgz","integrity":"sha512-NiQJq0vH5nEebm7FMs52fli23nwCh+RBKZZtA5g5qUmqGAkb9n8/WOTW8zjDocLADXXM1CRanFfPTMdrI2yZwg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/IPAMqgFwaLCrFwmH6Na3a/iU4m7Cw5KzXTjRvjDAYgIhALmFeEizVvV75w+ECuYE0ruu/Ey3KbvgGMs12q8WyOUv"}]}}},"readme":"# array-almost-equal\n\n[![stable](http://badges.github.io/stability-badges/dist/stable.svg)](http://github.com/badges/stability-badges)\n\nTests whether two arrays are almost equal; that is, any numbers are within a certain epsilon.\n\n```js\nvar almostEqual = require('array-almost-equal')\n\n//defaults to float epsilon\nalmostEqual(['foo', 1, 1], ['foo', 1, 1 + 1e-12]) // true\nalmostEqual(['bar', 2], ['foo', 2]) // false\n\n//custom epsilon\nalmostEqual(['foo', 1, 0.0025], ['foo', 1, 0.0026], 0.01) // true\n```\n\n## Usage\n\n[![NPM](https://nodei.co/npm/array-almost-equal.png)](https://www.npmjs.com/package/array-almost-equal)\n\n#### `almostEqual(a, b[, epsilon[, relativeTolerance]])`\n\nTests whether `a` and `b` are arrays (or typed arrays), equal length, and all elements are strictly equal *or* numbers are almost equal. \n\n`epsilon` defaults to [FLT_EPSILON](https://github.com/mikolalysenko/almost-equal/blob/master/almost_equal.js). `relativeTolerance` defaults to `epsilon` if not specified. \n\n## License\n\nMIT, see [LICENSE.md](http://github.com/Jam3/array-almost-equal/blob/master/LICENSE.md) for details.\n","maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"time":{"modified":"2022-06-13T03:27:59.267Z","created":"2015-01-23T15:26:29.071Z","1.0.0":"2015-01-23T15:26:29.071Z"},"homepage":"https://github.com/Jam3/array-almost-equal","keywords":["vector","array","rgba","color","point","position","float","floats","numbers","array","compare","test","epsilon","fuzzy","fuzz","almost-equal","arrays"],"repository":{"type":"git","url":"git://github.com/Jam3/array-almost-equal.git"},"author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"bugs":{"url":"https://github.com/Jam3/array-almost-equal/issues"},"license":"MIT","readmeFilename":"README.md"}