Name: js-handler/node_modules/nodeunit/node_modules/tap/node_modules/difflet/package.json 
1:
{
2:
  "name": "difflet",
3:
  "description": "colorful diffs for javascript objects",
4:
  "version": "0.2.6",
5:
  "repository": {
6:
    "type": "git",
7:
    "url": "git://github.com/substack/difflet.git"
8:
  },
9:
  "main": "index.js",
10:
  "keywords": [
11:
    "diff",
12:
    "object",
13:
    "compare"
14:
  ],
15:
  "directories": {
16:
    "lib": ".",
17:
    "example": "example",
18:
    "test": "test"
19:
  },
20:
  "scripts": {
21:
    "test": "tap test/*.js"
22:
  },
23:
  "dependencies": {
24:
    "traverse": "0.6.x",
25:
    "charm": "0.1.x",
26:
    "deep-is": "0.1.x"
27:
  },
28:
  "devDependencies": {
29:
    "tap": "0.1.x",
30:
    "ent": "0.0.x"
31:
  },
32:
  "engines": {
33:
    "node": ">=0.4.0"
34:
  },
35:
  "license": "MIT",
36:
  "author": {
37:
    "name": "James Halliday",
38:
    "email": "[email protected]",
39:
    "url": "http://substack.net"
40:
  },
41:
  "readme": "difflet\n=======\n\nCreate colorful diffs for javascript objects.\n\nexample\n=======\n\nstring.js\n---------\n\n``` js\nvar difflet = require('difflet');\n\nvar s = difflet.compare({ a : 2, c : 5 }, { a : 3, b : 4 });\nprocess.stdout.write(s);\n```\n\noutput:\n\n![colorful output](http://substack.net/images/screenshots/difflet_string.png)\n\ncolors.js\n---------\n\n``` js\nvar diff = require('difflet')({ indent : 2 });\n\nvar prev = {\n    yy : 6,\n    zz : 5,\n    a : [1,2,3],\n    fn : 'beep',\n    c : { x : 7, z : 3 }\n};\n\nvar next = {\n    a : [ 1, 2, \"z\", /beep/, new Buffer(3) ],\n    fn : function qqq () {},\n    b : [5,6,7],\n    c : { x : 8, y : 5 }\n};\n\ndiff(prev, next).pipe(process.stdout);\n```\n\noutput:\n\n![colorful output](http://substack.net/images/screenshots/difflet_colors.png)\n\ngreen for inserts, blue for updates, red for deletes\n\nmethods\n=======\n\nvar difflet = require('difflet')\n\nvar diff = difflet(opts={})\n---------------------------\n\nCreate a difflet from optional options `opts`.\n\nWith `opts.start(type, stream)` and `opts.stop(type, stream)`,\nyou can write custom handlers for all the types of differences:\n`'inserted'`, `'updated'`, and `'deleted'`.\nBy default green is used for insertions, blue for updates, and red for\ndeletions.\n\nIf `opts.indent` is set, output will span multiple lines and `opts.indent`\nspaces will be used for leading whitespace.\n\nIf `opts.comma === 'first'` then commas will be placed at the start of lines.\n\nSetting `opts.comment` to `true` will turn on comments with the previous\ncontents like this:\n\n![object comments](http://substack.net/images/screenshots/difflet_object_comments.png)\n\ndiff(prev, next)\n----------------\n\nReturn a stream with the colorful changes between objects `prev` and `next`.\n\ndiff.compare(prev, next)\n------------------------\n\nReturn a string with the colorful changes between `prev` and `next`.\n\ndifflet.compare(prev, next)\n---------------------------\n\nReturn a string with the colorful changes between `prev` and `next` with the\ndefault options.\n\ninstall\n=======\n\nWith [npm](http://npmjs.org) do:\n\n```\nnpm install difflet\n```\n\ntest\n====\n\nWith [npm](http://npmjs.org) do:\n\n```\nnpm test\n```\n\nlicense\n=======\n\nMIT/X11\n",
42:
  "readmeFilename": "README.markdown",
43:
  "bugs": {
44:
    "url": "https://github.com/substack/difflet/issues"
45:
  },
46:
  "_id": "[email protected]",
47:
  "dist": {
48:
    "shasum": "3c0299d0150134b92e33814d4813804385f8ba9b"
49:
  },
50:
  "_from": "[email protected]~0.2.0",
51:
  "_resolved": "https://registry.npmjs.org/difflet/-/difflet-0.2.6.tgz"
52:
}