npm.io
0.0.2 • Published 6 years ago

object_matching

Licence
MIT
Version
0.0.2
Deps
0
Size
4 kB
Vulns
0
Weekly
0
Stars
1

MIT License npm version Build Status

object_matching

About

You can easily compare two objects in JavaScript using this npm package.

example

var object_match = require("object_matching");
const a = {foo: "poteto",bar: "apple" }
const b = {bar: "apple",foo: "poteto" }
const c = {bar: "poteto",foo: "apple" }
console.log(object_match(a,b)) //true
console.log(object_match(b,c)) //false

install

$ npm install object_matching

Keywords