json-combinator

0.0.1 • Public • Published

JSON Combinator

Combine JSON files (or simple) JavaScript Objects.

Example:

var JSONCombinator = require('./..');
 
var obj = new JSONCombinator({
  "test": {
    "hey": "ho",
    "santa": "claus"
  },
  "foo": "bar",
  "beebob": 123
});
obj.add({"test": {"blupp": 2}});

obj.toJSON() returns:

{
  "test": {
    "hey": "ho",
    "santa": "claus",
    "blupp": 2
  },
  "foo": "bar",
  "beebob": 123
}

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i json-combinator

    Weekly Downloads

    1

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • johannesboyne