{
  "manifest": {
    "name": "damerau-levenshtein",
    "version": "1.0.8",
    "description": "Damerau - Levenshtein distance by The Spanish Inquisition + relative distance",
    "main": "index.js",
    "scripts": {
      "test": "mocha --use_strict",
      "version": "scripts/update-changelog.sh"
    },
    "keywords": [
      "Damerau-Levenshtein",
      "Damerau",
      "Levenshtein",
      "distance",
      "compare",
      "relative"
    ],
    "author": {
      "name": "The Spanish Inquisition"
    },
    "contributors": [
      {
        "name": "Tadeusz Łazurski",
        "url": "https://tad-lispy.com/"
      },
      {
        "name": "Gustavo Marques Adolph"
      },
      {
        "name": "Ivan Gilchrist",
        "email": "github@jumpingfishes.com",
        "url": "http://jumpingfishes.com"
      },
      {
        "name": "Boris Yakubchik",
        "url": "http://dev.yboris.com/"
      }
    ],
    "license": "BSD-2-Clause",
    "devDependencies": {
      "mocha": "^9.1.3"
    },
    "repository": {
      "type": "git",
      "url": "https://github.com/tad-lispy/node-damerau-levenshtein.git"
    },
    "bugs": {
      "url": "https://github.com/tad-lispy/node-damerau-levenshtein/issues"
    },
    "_registry": "npm",
    "_loc": "/homez.1033/heliovt/.cache/yarn/v6/npm-damerau-levenshtein-1.0.8-b43d286ccbd36bc5b2f7ed41caf2d0aba1f8a6e7-integrity/node_modules/damerau-levenshtein/package.json",
    "readmeFilename": "README.md",
    "readme": "[![NPM](https://nodei.co/npm/damerau-levenshtein.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/damerau-levenshtein/)\n\nIt provides a function that takes two string arguments and returns a hash like this:\n\n``` javascript\n{\n  steps: 5,       // Levenstein demerau distance\n  relative: 0.7,  // steps / length of the longer string\n  similarity: 0.3 // 1 - relative\n}\n```\n\n## Install\n\n```sh\nnpm install damerau-levenshtein\n```\n\n## Use with ES6 modules\n\n```js\nimport * as levenshtein from 'damerau-levenshtein';\n\nconst lev = levenshtein('hello world', 'Hello World!');\n// { steps: 4, relative: 0.3076923076923077, similarity: 0.6923076923076923 }\n```\n\nPlease see [tests](./test/test.js) for more insights.\n\n## Use with TypeScript\n\n```ts\nimport * as levenshtein from 'damerau-levenshtein';\n\ninterface LevenshteinResponse {\n  steps: number;\n  relative: number;\n  similarity: number;\n}\n\nconst lev: LevenshteinResponse = levenshtein('hello world', 'Hello World!');\n\nconsole.log(lev.steps);\n// 2\nconsole.log(lev.foo);\n// TypeScript Error: Property 'foo' does not exist on type 'LevenshteinResponse'.\n```\n",
    "licenseText": "BSD 2-Clause License\n\nCopyright (c) 2018, Tadeusz Łazurski\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n"
  },
  "artifacts": [],
  "remote": {
    "resolved": "https://registry.yarnpkg.com/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz#b43d286ccbd36bc5b2f7ed41caf2d0aba1f8a6e7",
    "type": "tarball",
    "reference": "https://registry.yarnpkg.com/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz",
    "hash": "b43d286ccbd36bc5b2f7ed41caf2d0aba1f8a6e7",
    "integrity": "sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==",
    "registry": "npm",
    "packageName": "damerau-levenshtein",
    "cacheIntegrity": "sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA== sha1-tD0obMvTa8Wy9+1ByvLQq6H4puc="
  },
  "registry": "npm",
  "hash": "b43d286ccbd36bc5b2f7ed41caf2d0aba1f8a6e7"
}