{"_id":"neatequal","_rev":"4-e03c36d6fda1ad8997c6d2be36ca420f","name":"neatequal","description":"Neat deep equal.","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"neatequal","version":"1.0.0","description":"Neat deep equal.","main":"src/index.js","scripts":{"test":"mocha tests/*.mocha.js","coveralls":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- tests/*.mocha.js -R spec -t 5000 && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage","cover":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report html -- tests/*.mocha.js -R spec -t 5000"},"repository":{"type":"git","url":"git@github.com:nfroidure/neatequal.git"},"keywords":["assert","deepEqual","neat"],"author":{"name":"Nicolas Froidure"},"license":"MIT","bugs":{"url":"https://github.com/nfroidure/neatequal/issues"},"homepage":"https://github.com/nfroidure/neatequal","devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.5","mocha":"^2.1.0"},"dependencies":{"varstream":"^0.3.2"},"gitHead":"5f3d6f153d7848fcb96429ff06a4966d52a3cf51","_id":"neatequal@1.0.0","_shasum":"2ee1211bc9fa6e4c55715fd210bb05602eb1ae3b","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.32","_npmUser":{"name":"nfroidure","email":"nfroidure@elitwork.com"},"maintainers":[{"name":"nfroidure","email":"nfroidure@elitwork.com"}],"dist":{"shasum":"2ee1211bc9fa6e4c55715fd210bb05602eb1ae3b","tarball":"https://registry.npmjs.org/neatequal/-/neatequal-1.0.0.tgz","integrity":"sha512-sVt5awO4a4w24QmAthdrCPiVRW3naB8FGLdyadin01BH+6BzNPEBwGrpwCczQvPlULS6uXTItTe1PJ5P0kYm7A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/STcu8EWmO9QwKHs1+R2AY9bQducKMPAXoH0wVL9MaQIhAKPxYDgaWzHl/U76xB4B5alMqi55hrvtoCyx6CEN40R8"}]}}},"readme":"# neatequal\n\n`neatequal` is a neater deepEqual.\n\n[![NPM version](https://badge.fury.io/js/neatequal.png)](https://npmjs.org/package/neatequal) [![Build status](https://secure.travis-ci.org/nfroidure/neatequal.png)](https://travis-ci.org/nfroidure/neatequal) [![Dependency Status](https://david-dm.org/nfroidure/neatequal.png)](https://david-dm.org/nfroidure/neatequal) [![devDependency Status](https://david-dm.org/nfroidure/neatequal/dev-status.png)](https://david-dm.org/nfroidure/neatequal#info=devDependencies) [![Coverage Status](https://coveralls.io/repos/nfroidure/neatequal/badge.png?branch=master)](https://coveralls.io/r/nfroidure/neatequal?branch=master) [![Code Climate](https://codeclimate.com/github/nfroidure/neatequal.png)](https://codeclimate.com/github/nfroidure/neatequal)\n\n![neatEqual capture](https://pbs.twimg.com/media/BdkpqTjCEAAOipY.png:large)\n\n## Installation\n\nFirst install `neatequal` in you project:\n```sh\nnpm install --save neatequal\n```\n\n## Getting started\n\nThen, use it:\n\n```js\nvar neatequal = require('neatequal');\n\nvar expectedFruits = [{\n  name: 'orange'\n  count: 2,\n  colors: ['orange']\n}, {\n\tname: 'banana',\n  count: 0,\n  colors: ['yellow', 'white']\n}, {\n\tname: 'kiwi',\n  count: 8,\n  colors: ['brown', 'green']\n}];\n\nvar currentFruits = [{\n  name: 'orange'\n  count: 2,\n  colors: ['yellow', 'orange']\n}, {\n\tname: 'banana',\n  count: 1,\n  colors: ['white']\n}];\n\nneatequal(expectedFruits, currentFruits);\n```\n\n\n## API\n\n### neatequal(current:Object, expected:Object)\nThrows an exception if current and expected objects doens'nt equal.\n\n## Contribute\n\nFeel free to submit us your improvements. To do so, you must accept to publish\n your code under the MIT license.\n\nTo start contributing, first run the following to setup the development\n environment:\n```sh\ngit clone git@github.com:nfroidure/neatequal.git\ncd neatequal\nnpm install\n```\n\nThen, run the tests:\n```sh\nnpm test\n```\n\n## Stats\n[![NPM](https://nodei.co/npm/neatequal.png?downloads=true&stars=true)](https://nodei.co/npm/neatequal/)\n[![NPM](https://nodei.co/npm-dl/neatequal.png)](https://nodei.co/npm/neatequal/)\n\n","maintainers":[{"name":"nfroidure","email":"nfroidure@elitwork.com"}],"time":{"modified":"2022-06-20T23:29:24.319Z","created":"2015-02-07T15:25:50.749Z","1.0.0":"2015-02-07T15:25:50.749Z"},"homepage":"https://github.com/nfroidure/neatequal","keywords":["assert","deepEqual","neat"],"repository":{"type":"git","url":"git@github.com:nfroidure/neatequal.git"},"author":{"name":"Nicolas Froidure"},"bugs":{"url":"https://github.com/nfroidure/neatequal/issues"},"license":"MIT","readmeFilename":"README.md"}