UNPKG

fuzzball

Version:

Fuzzy string matching algorithms and utilities, port of the TheFuzz Python library.

78 lines (77 loc) 2.27 kB
{ "name": "fuzzball", "version": "2.2.3", "description": "Fuzzy string matching algorithms and utilities, port of the TheFuzz Python library.", "main": "fuzzball.js", "module": "./dist/esm/fuzzball.esm.min.js", "type": "commonjs", "types": "fuzzball.d.ts", "exports": { ".": { "require": "./fuzzball.js", "import": "./dist/esm/fuzzball.esm.min.js" }, "./lite": { "require": "./lite/fuzzball_lite.js", "import": "./lite/esm/fuzzball_lite.esm.min.js" }, "./ultra_lite": { "require": "./ultra_lite/fuzzball_ultra_lite.js", "import": "./ultra_lite/esm/fuzzball_ultra_lite.esm.min.js" }, "./lite/*": "./lite/*", "./ultra_lite/*": "./ultra_lite/*", "./dist/*": "./dist/*", "./package.json": "./package.json" }, "files": [ "fuzzball.js", "fuzzball.d.ts", "dist", "lite", "ultra_lite", "lib" ], "dependencies": { "heap": ">=0.2.0", "lodash": "^4.17.21", "setimmediate": "^1.0.5" }, "devDependencies": { "@rollup/plugin-commonjs": "^19.0.0", "@rollup/plugin-node-resolve": "^13.0.0", "cached-path-relative": "^1.0.2", "jsdoc": "^4.0.4", "jsdoc-to-markdown": "^9.1.1", "mocha": "^11.1.0", "rollup": "^2.79.2", "rollup-plugin-terser": "^7.0.2", "uglify-js": "^3.12.3" }, "repository": { "type": "git", "url": "https://github.com/nol13/fuzzball.js.git" }, "keywords": [ "levenshtein", "string", "fuzzy", "matching", "search", "ratio", "wildcard", "dedupe" ], "author": "Nolan Kaplan <nolan@nolankaplan.com>", "license": "MIT", "scripts": { "jsdoc2md": "./node_modules/.bin/jsdoc2md --template ./jsdocs/README.hbs fuzzball.js > jsdocs/fuzzball.md && ./node_modules/.bin/jsdoc2md lib/process.js > jsdocs/process.md", "build:demo": "rm -rf docs && cd demo-app && npm run build && cp -a build/. ../docs/", "build:bundles": "rollup --config rollup.config.js", "build": "npm run build:bundles && npm run jsdoc2md && npm run test:build && npm run build:demo", "test": "mocha --use_strict", "test:build": "testenv=build npm run test", "benchmark": "node benchmark.js" }, "runkitExample": "var fuzz = require('fuzzball');" }