New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-document-differ-objectdiff

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-document-differ-objectdiff

Differ adapter `objectdiff` for `node-document` ODM for Node.js.

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

NODE-DOCUMENT-DIFFER-OBJECTDIFF Build Status

Differ adapter objectdiff for node-document ODM for Node.js.

Installation

  $ npm install node-document-differ-objectdiff

Usage

Basic:

  var Differ = require('node-document-differ-objectdiff');

  var differ = new Differ();

  var a = {foo: 1, bar: "baz"},
      b = {foo: 2, baz: "qux"};

  differ.diff(a, b, function(err, diff, identical) {
    console.log("Equal: %s  \nDiff:\n", identical, diff);
  });

For details; see node-document.

Test

Local tests:

  $ make test

License

Released under the MIT license.

Copyright (c) Jonas Grimfelt

Keywords

document

FAQs

Package last updated on 16 Mar 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts