UNPKG

canonical

Version:

Canonical code style linter and formatter for JavaScript, SCSS and CSS.

98 lines (97 loc) 3.79 kB
{ "_args": [ [ "deep-is@https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", "/Users/gajus/Documents/dev/canonical-code-style/canonical" ] ], "_from": "deep-is@>=0.1.3 <0.2.0", "_id": "deep-is@0.1.3", "_inCache": true, "_location": "/deep-is", "_phantomChildren": {}, "_requested": { "name": "deep-is", "raw": "deep-is@https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", "rawSpec": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", "scope": null, "spec": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", "type": "remote" }, "_requiredBy": [ "/escodegen/optionator", "/optionator" ], "_resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", "_shasum": "b369d6fb5dbc13eecf524f91b070feedc357cf34", "_shrinkwrap": null, "_spec": "deep-is@https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", "_where": "/Users/gajus/Documents/dev/canonical-code-style/canonical", "author": { "email": "thlorenz@gmx.de", "name": "Thorsten Lorenz", "url": "http://thlorenz.com" }, "bugs": { "url": "https://github.com/thlorenz/deep-is/issues" }, "dependencies": {}, "description": "node's assert.deepEqual algorithm except for NaN being equal to NaN", "devDependencies": { "tape": "~1.0.2" }, "directories": { "example": "example", "lib": ".", "test": "test" }, "homepage": "https://github.com/thlorenz/deep-is#readme", "keywords": [ "compare", "equal", "equality" ], "license": { "type": "MIT", "url": "https://github.com/thlorenz/deep-is/blob/master/LICENSE" }, "main": "index.js", "name": "deep-is", "optionalDependencies": {}, "readme": "deep-is\n==========\n\nNode's `assert.deepEqual() algorithm` as a standalone module. Exactly like\n[deep-equal](https://github.com/substack/node-deep-equal) except for the fact that `deepEqual(NaN, NaN) === true`.\n\nThis module is around [5 times faster](https://gist.github.com/2790507)\nthan wrapping `assert.deepEqual()` in a `try/catch`.\n\n[![browser support](http://ci.testling.com/thlorenz/deep-is.png)](http://ci.testling.com/thlorenz/deep-is)\n\n[![build status](https://secure.travis-ci.org/thlorenz/deep-is.png)](http://travis-ci.org/thlorenz/deep-is)\n\nexample\n=======\n\n``` js\nvar equal = require('deep-is');\nconsole.dir([\n equal(\n { a : [ 2, 3 ], b : [ 4 ] },\n { a : [ 2, 3 ], b : [ 4 ] }\n ),\n equal(\n { x : 5, y : [6] },\n { x : 5, y : 6 }\n )\n]);\n```\n\nmethods\n=======\n\nvar deepIs = require('deep-is')\n\ndeepIs(a, b)\n---------------\n\nCompare objects `a` and `b`, returning whether they are equal according to a\nrecursive equality algorithm.\n\ninstall\n=======\n\nWith [npm](http://npmjs.org) do:\n\n```\nnpm install deep-is\n```\n\ntest\n====\n\nWith [npm](http://npmjs.org) do:\n\n```\nnpm test\n```\n\nlicense\n=======\n\nCopyright (c) 2012, 2013 Thorsten Lorenz <thlorenz@gmx.de>\nCopyright (c) 2012 James Halliday <mail@substack.net>\n\nDerived largely from node's assert module, which has the copyright statement:\n\nCopyright (c) 2009 Thomas Robinson <280north.com>\n\nReleased under the MIT license, see LICENSE for details.\n", "readmeFilename": "README.markdown", "repository": { "type": "git", "url": "git+ssh://git@github.com/thlorenz/deep-is.git" }, "scripts": { "test": "tape test/*.js" }, "testling": { "browsers": { "chrome": [ 10, 22 ], "ff": [ 10, 15, 3.5 ], "ie": [ 6, 7, 8, 9 ], "opera": [ 12 ], "safari": [ 5.1 ] }, "files": "test/*.js" }, "version": "0.1.3" }