UNPKG

bloom-filters

Version:

JS implementation of probabilistic data structures: Bloom Filter (and its derived), HyperLogLog, Count-Min Sketch, Top-K and MinHash

149 lines (148 loc) • 3.79 kB
{ "name": "bloom-filters", "version": "3.0.4", "description": "JS implementation of probabilistic data structures: Bloom Filter (and its derived), HyperLogLog, Count-Min Sketch, Top-K and MinHash", "main": "dist/api.js", "type": "commonjs", "scripts": { "build": "tsc", "pretest": "yarn lint && yarn build", "test": "mocha test/**/*-test.js --trace-deprecation --timeout=60000", "doc": "typedoc --sort alphabetical --out docs/ --emit both --includeVersion src/api.ts", "lint": "yarn prettier && yarn slint", "slint": "eslint --fix src/**/*.ts", "prettier": "prettier --config package.json --write \"(src|test)/**/*.(t|j)s\"", "clean": "rimraf docs/ dist/ build/", "compile": "tsc" }, "repository": { "type": "git", "url": "git+https://github.com/Callidon/bloom-filters.git" }, "keywords": [ "bloom", "filter", "bloom filter", "probabilistic", "datastructure", "partitionned bloom filter", "scalable bloom filter", "counting bloom filter", "invertible bloom filter", "count min sketch", "cuckoo", "xor", "minhash", "top-k", "hyperloglog" ], "author": "Thomas Minier <thomas.minier@protonmail.com>", "contributors": [ "Arnaud Grall <dev.arnaudgrall@gmail.com>", "Jonah H. Harris <jonah.harris@gmail.com>" ], "license": "MIT", "bugs": { "url": "https://github.com/Callidon/bloom-filters/issues" }, "homepage": "https://github.com/Callidon/bloom-filters#readme", "devDependencies": { "@types/cuint": "^0.2.X", "@types/lodash": "^4.17.13", "@types/node": "^17.0.17", "@types/xxhashjs": "^0.2.X", "@typescript-eslint/eslint-plugin": "^5.11.0", "@typescript-eslint/parser": "^5.11.0", "chai": "^4.3.6", "eslint": "^8.9.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^4.0.0", "mocha": "^9.2.0", "prettier": "^2.5.1", "random": "^3.0.6", "rimraf": "^3.0.2", "typedoc": "^0.22.11", "typedoc-plugin-missing-exports": "^0.22.6", "typescript": "^4.5.5" }, "dependencies": { "@types/seedrandom": "^3.0.8", "base64-arraybuffer": "^1.0.2", "is-buffer": "^2.0.5", "lodash": "^4.17.21", "long": "^5.2.0", "reflect-metadata": "^0.1.13", "seedrandom": "^3.0.5", "xxhashjs": "^0.2.2" }, "prettier": { "semi": false, "tabWidth": 2, "endOfLine": "auto", "bracketSpacing": false, "singleQuote": true, "trailingComma": "es5", "arrowParens": "avoid" }, "eslintConfig": { "parser": "@typescript-eslint/parser", "parserOptions": { "ecmaVersion": 2015, "project": "tsconfig.json" }, "extends": [ "eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:node/recommended", "prettier", "plugin:prettier/recommended", "plugin:@typescript-eslint/recommended-requiring-type-checking" ], "plugins": [ "@typescript-eslint", "prettier" ], "globals": { "chai": "readonly", "it": "readonly", "expect": "readonly", "describe": "readonly" }, "settings": { "node": { "allowModules": [], "resolvePaths": [ "./src" ], "tryExtensions": [ ".ts", ".js" ] } }, "rules": { "node/no-unsupported-features/es-syntax": [ "error", { "ignores": [ "modules" ] } ], "node/no-unpublished-require": [ "error", { "allowModules": [ "mocha", "chai", "random" ] } ] } }, "engines": { "node": ">=12" } }