node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org »

compr

Compr

Utilities to compare Javascript data

Install

npm install compr

Example

var compr = require('compr');
 
var d1=new Date();
var d2=new Date();
 
console.log(compr.compare(d1,d2));
//false 
 
console.log(compr.like(d1,d2));
//true