avl
Version:
Fast AVL tree for Node and browser
58 lines (57 loc) • 1.54 kB
JSON
{
"name": "avl",
"version": "1.6.0",
"author": "Alexander Milevski <alex@milevski.co>",
"license": "MIT",
"description": "Fast AVL tree for Node and browser",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "https://github.com/w8r/avl.git"
},
"scripts": {
"prebuild": "npm run lint",
"lint": "eslint src tests",
"build": "vite build && npm run types",
"types": "npm run types:generate && npm run types:bundle && rm -rf dist/types",
"types:generate": "tsc --declaration --emitDeclarationOnly --declarationDir dist/types",
"types:bundle": "dts-bundle-generator dist/types/index.ts -o dist/index.d.ts",
"benchmark": "node bench/benchmark.mjs",
"start": "npm run test:watch",
"test:watch": "vitest",
"test": "vitest run"
},
"devDependencies": {
"@types/bintrees": "^1.0.6",
"benchmark": "^2.1.4",
"bintrees": "^1.0.2",
"dts-bundle-generator": "^9.5.1",
"eslint": "^9.21.0",
"functional-red-black-tree": "^1.0.1",
"globals": "^16.0.0",
"google-closure-library": "^20210406.0.0",
"typescript-eslint": "^8.25.0",
"vite": "^6.2.0",
"vitest": "^3.0.7"
},
"keywords": [
"binary-tree",
"bst",
"avl-tree",
"avl",
"balanced-search-tree"
]
}