UNPKG

kewlr

Version:

Compare objects and return whether they are equal according to a recursive equality algorithm. This module is around 6 - 9% faster then similiar modules. Works for both NodejS and the browser.

77 lines (76 loc) 2.46 kB
{ "name": "kewlr", "version": "0.4.1", "description": "Compare objects and return whether they are equal according to a recursive equality algorithm. This module is around 6 - 9% faster then similiar modules. Works for both NodejS and the browser.", "main": "dist/kewlr.js", "jsnext:main": "dist/kewlr.mjs", "module": "dist/kewlr.mjs", "keywords": [ "node", "nodeJS", "deepEqual", "browser", "shallow", "equal", "equality", "compare", "comparison", "chai", "lodash" ], "files": [ "dist", "README.md", "CHANGELOG.md", "LICENSE" ], "scripts": { "build": "rollup -c", "benchmark": "node benchmark/index.js", "test": "npm run pretest && node --harmony ./node_modules/istanbul/lib/cli.js cover --root ./build/src --report lcov --report text ./node_modules/mocha/bin/_mocha ./build/test/**/*.js", "test:browser": "karma start", "prepublish": "npm run build", "prebuild": "tsc --sourceMap --skipLibCheck -t es2015", "pretest": "tsc --sourceMap --skipLibCheck -t es6 --m umd -p ./tsconfig.json", "lint": "tslint src/**/*.ts", "s": "speevo", "watch:tests": "mocha test/specs/**/*.ts -R spec --bail --watch", "watch:build": "tsc -t es5 -m es6 --skipLibCheck -p ./tsconfig.json -w" }, "repository": { "type": "git", "url": "git+https://github.com/zubuzon/kewlr.git" }, "author": "ZubuZon", "license": "MIT", "bugs": { "url": "https://github.com/zubuzon/kewlr/issues" }, "homepage": "https://github.com/zubuzon/kewlr#readme", "devDependencies": { "@types/chai": "^3.4.33", "@types/mocha": "^2.2.32", "@types/node": "^6.0.45", "chai": "^3.5.0", "coveralls": "^2.11.14", "istanbul": "github:gotwarlost/istanbul#v1", "karma": "^1.0.0", "karma-chrome-launcher": "^2.0.0", "karma-firefox-launcher": "^1.0.0", "karma-ie-launcher": "^1.0.0", "karma-mocha": "^1.2.0", "karma-phantomjs-launcher": "^1.0.2", "karma-rollup-preprocessor": "^2.0.2", "karma-chai": "^0.1.0", "karma-mocha-reporter": "^2.2.0", "mocha": "^3.1.0", "phantomjs-prebuilt": "^2.1.13", "rollup": "0.36.1", "rollup-plugin-buble": "0.14.0", "rollup-plugin-typescript": "0.8.1", "rollup-plugin-multi-entry": "2.0.1", "ts-node": "^1.3.0", "tslint": "next", "typescript": "next" } }