{
  "_args": [
    [
      {
        "raw": "fast-diff@^1.0.1",
        "scope": null,
        "escapedName": "fast-diff",
        "name": "fast-diff",
        "rawSpec": "^1.0.1",
        "spec": ">=1.0.1 <2.0.0",
        "type": "range"
      },
      "/build/npm-check-updates/src/npm-check-updates-2.11.0.tgz"
    ]
  ],
  "_from": "fast-diff@>=1.0.1 <2.0.0",
  "_id": "fast-diff@1.1.1",
  "_inCache": true,
  "_location": "/npm-check-updates/fast-diff",
  "_nodeVersion": "6.2.1",
  "_npmOperationalInternal": {
    "host": "packages-12-west.internal.npmjs.com",
    "tmp": "tmp/fast-diff-1.1.1.tgz_1477257869597_0.3502913611009717"
  },
  "_npmUser": {
    "name": "jhchen",
    "email": "jhchen7@gmail.com"
  },
  "_npmVersion": "3.9.5",
  "_phantomChildren": {},
  "_requested": {
    "raw": "fast-diff@^1.0.1",
    "scope": null,
    "escapedName": "fast-diff",
    "name": "fast-diff",
    "rawSpec": "^1.0.1",
    "spec": ">=1.0.1 <2.0.0",
    "type": "range"
  },
  "_requiredBy": [
    "/npm-check-updates"
  ],
  "_resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.1.1.tgz",
  "_shasum": "0aea0e4e605b6a2189f0e936d4b7fbaf1b7cfd9b",
  "_shrinkwrap": null,
  "_spec": "fast-diff@^1.0.1",
  "_where": "/build/npm-check-updates/src/npm-check-updates-2.11.0.tgz",
  "author": {
    "name": "Jason Chen",
    "email": "jhchen7@gmail.com"
  },
  "bugs": {
    "url": "https://github.com/jhchen/fast-diff/issues"
  },
  "dependencies": {},
  "description": "Fast Javascript text diff",
  "devDependencies": {
    "googlediff": "~0.1.0",
    "lodash": "~3.9.3",
    "seedrandom": "~2.4.0"
  },
  "directories": {},
  "dist": {
    "shasum": "0aea0e4e605b6a2189f0e936d4b7fbaf1b7cfd9b",
    "tarball": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.1.1.tgz"
  },
  "gitHead": "de7329a22025a4f58412cdc4902b30a148c76bea",
  "homepage": "https://github.com/jhchen/fast-diff#readme",
  "keywords": [
    "diff"
  ],
  "license": "Apache-2.0",
  "main": "diff.js",
  "maintainers": [
    {
      "name": "jhchen",
      "email": "jhchen7@gmail.com"
    }
  ],
  "name": "fast-diff",
  "optionalDependencies": {},
  "readme": "# Fast Diff [![Build Status](https://travis-ci.org/jhchen/fast-diff.svg)](https://travis-ci.org/jhchen/fast-diff)\n\nThis is a simplified import of the excellent [diff-match-patch](https://code.google.com/p/google-diff-match-patch/) library by [Neil Fraser](https://neil.fraser.name/) into the Node.js environment. The match and patch parts are removed, as well as all the extra diff options. What remains is incredibly fast diffing between two strings.\n\n The diff function is an implementation of [\"An O(ND) Difference Algorithm and its Variations\" (Myers, 1986)](http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.4.6927&rep=rep1&type=pdf) with the suggested divide and conquer strategy along with several [optimizations](http://neil.fraser.name/news/2007/10/09/) Neil added.\n\n```js\nvar diff = require('fast-diff');\n\nvar good = 'Good dog';\nvar bad = 'Bad dog';\n\nvar result = diff(good, bad);\n// [[-1, \"Goo\"], [1, \"Ba\"], [0, \"d dog\"]]\n\n// Respect suggested edit location (cursor position), added in v1.1\ndiff('aaa', 'aaaa', 1)\n// [[0, \"a\"], [1, \"a\"], [0, \"aa\"]]\n\n// For convenience\ndiff.INSERT === 1;\ndiff.EQUAL === 0;\ndiff.DELETE === -1;\n```\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/jhchen/fast-diff.git"
  },
  "scripts": {
    "test": "node test.js"
  },
  "version": "1.1.1"
}
