2023-06-15 16:34:28 +00:00
{
"name" : "data-structure-typed" ,
2024-11-20 07:43:22 +00:00
"version" : "1.53.5" ,
2023-12-29 13:50:20 +00:00
"description" : "Javascript Data Structure. Heap, Binary Tree, Red Black Tree, Linked List, Deque, Trie, HashMap, Directed Graph, Undirected Graph, Binary Search Tree(BST), AVL Tree, Priority Queue, Graph, Queue, Tree Multiset, Singly Linked List, Doubly Linked List, Max Heap, Max Priority Queue, Min Heap, Min Priority Queue, Stack. Benchmark compared with C++ STL. API aligned with ES6 and Java.util. Usability is comparable to Python" ,
2023-11-13 15:51:43 +00:00
"main" : "dist/cjs/index.js" ,
"module" : "dist/mjs/index.js" ,
2024-11-16 10:07:53 +00:00
"browser" : "dist/umd/data-structure-typed.min.js" ,
2023-11-13 15:51:43 +00:00
"types" : "dist/mjs/index.d.ts" ,
2023-10-27 14:30:52 +00:00
"umd:main" : "dist/umd/data-structure-typed.min.js" ,
2023-10-13 02:29:08 +00:00
"exports" : {
2023-10-25 07:51:50 +00:00
"." : {
2023-11-13 15:51:43 +00:00
"import" : "./dist/mjs/index.js" ,
2024-10-30 02:30:28 +00:00
"require" : "./dist/cjs/index.js"
2023-10-25 07:51:50 +00:00
}
2023-10-13 02:29:08 +00:00
} ,
2023-06-15 16:34:28 +00:00
"scripts" : {
2023-12-22 11:59:38 +00:00
"build" : "npm run build:mjs && npm run build:cjs && npm run build:umd && npm run build:docs-class" ,
2023-11-04 02:00:51 +00:00
"build:mjs" : "rm -rf dist/mjs && tsc -p tsconfig-mjs.json" ,
2023-10-25 07:51:50 +00:00
"build:cjs" : "rm -rf dist/cjs && tsc -p tsconfig-cjs.json" ,
"build:umd" : "tsup" ,
2024-11-20 03:27:37 +00:00
"build:docs" : "npm run gen:examples && typedoc --out docs ./src" ,
"build:docs-class" : "npm run gen:examples && typedoc --out docs ./src/data-structures" ,
"gen:examples" : "ts-node testToExample.ts" ,
"test:in-band" : "jest --runInBand" ,
"test" : "npm run test:in-band" ,
2023-11-13 15:51:43 +00:00
"test:integration" : "npm run update:subs && jest --config jest.integration.config.js" ,
2023-11-19 13:16:20 +00:00
"test:perf" : "npm run build:cjs && npm run build:mjs && ts-node test/performance/reportor.ts" ,
2023-10-20 03:43:26 +00:00
"check" : "tsc --noEmit" ,
2023-11-13 15:51:43 +00:00
"check:circular-refs" : "dependency-cruiser src" ,
2023-09-26 11:43:45 +00:00
"lint:src" : "eslint --fix 'src/**/*.{js,ts}'" ,
"lint:test" : "eslint --fix 'test/**/*.{js,ts}'" ,
"lint" : "npm run lint:src && npm run lint:test" ,
2023-11-27 06:04:04 +00:00
"inspect" : "npm run build && npm run check && npm run lint" ,
2023-09-26 11:43:45 +00:00
"format:src" : "prettier --write 'src/**/*.{js,ts}'" ,
"format:test" : "prettier --write 'test/**/*.{js,ts}'" ,
"format" : "npm run format:src && npm run format:test" ,
2023-11-19 09:48:54 +00:00
"check:exist-latest" : "sh scripts/check_exist_remotely.sh" ,
2024-11-20 03:27:37 +00:00
"ci" : "env && git fetch --tags && npm run update:subs && npm run inspect && npm run lint && npm run build && npm run test && npm run changelog" ,
2023-11-14 13:41:20 +00:00
"update:subs" : "npm i avl-tree-typed binary-tree-typed bst-typed heap-typed data-structure-typed --save-dev" ,
2023-11-08 01:26:43 +00:00
"install:all-subs" : "npm i avl-tree-typed binary-tree-typed bst-typed deque-typed directed-graph-typed doubly-linked-list-typed graph-typed heap-typed linked-list-typed max-heap-typed max-priority-queue-typed min-heap-typed min-priority-queue-typed priority-queue-typed singly-linked-list-typed stack-typed tree-multimap-typed trie-typed undirected-graph-typed queue-typed --save-dev" ,
2023-09-21 16:53:34 +00:00
"changelog" : "auto-changelog" ,
2023-09-22 02:40:12 +00:00
"coverage:badge" : "istanbul-badges-readme" ,
2023-11-21 06:16:06 +00:00
"toc" : "doctoc README.md" ,
2023-10-25 02:40:39 +00:00
"copy:to-subs" : "sh scripts/copy_to_all_subs.sh" ,
"publish:subs" : "npm run copy:to-subs && sh scripts/publish_all_subs.sh" ,
2023-10-21 12:19:35 +00:00
"publish:docs" : "sh scripts/publish_docs.sh" ,
2023-11-19 09:48:54 +00:00
"publish:all" : "npm run ci && npm publish && npm run publish:docs && npm run check:exist-latest && npm run publish:subs"
2023-06-15 16:34:28 +00:00
} ,
"repository" : {
"type" : "git" ,
"url" : "git+https://github.com/zrwusa/data-structure-typed.git"
} ,
2023-11-21 09:30:57 +00:00
"bugs" : {
"url" : "https://github.com/zrwusa/data-structure-typed/issues"
} ,
"homepage" : "https://data-structure-typed-docs.vercel.app" ,
2023-10-13 02:29:08 +00:00
"author" : "Tyler Zeng <zrwusa@gmail.com>" ,
2023-09-26 12:10:32 +00:00
"license" : "MIT" ,
"publishConfig" : {
2023-09-26 12:21:20 +00:00
"@zrwusa:registry" : "https://npm.pkg.github.com"
2023-09-26 12:10:32 +00:00
} ,
"devDependencies" : {
2024-10-30 02:30:28 +00:00
"@eslint/compat" : "^1.2.2" ,
"@eslint/eslintrc" : "^3.1.0" ,
"@eslint/js" : "^9.13.0" ,
"@swc/core" : "^1.7.40" ,
"@types/benchmark" : "^2.1.5" ,
"@types/jest" : "^29.5.14" ,
"@types/node" : "^22.8.2" ,
"@typescript-eslint/eslint-plugin" : "^8.12.1" ,
"@typescript-eslint/parser" : "^8.12.1" ,
"auto-changelog" : "^2.5.0" ,
2024-11-20 07:43:22 +00:00
"avl-tree-typed" : "^1.53.3" ,
2023-09-26 12:10:32 +00:00
"benchmark" : "^2.1.4" ,
2024-11-20 07:43:22 +00:00
"binary-tree-typed" : "^1.53.3" ,
"bst-typed" : "^1.53.3" ,
"data-structure-typed" : "^1.53.3" ,
2024-10-30 02:30:28 +00:00
"dependency-cruiser" : "^16.5.0" ,
2023-11-21 06:16:06 +00:00
"doctoc" : "^2.2.1" ,
2024-10-30 02:30:28 +00:00
"eslint" : "^9.13.0" ,
"eslint-config-prettier" : "^9.1.0" ,
2023-09-26 12:10:32 +00:00
"eslint-import-resolver-alias" : "^1.1.2" ,
2024-10-30 02:30:28 +00:00
"eslint-import-resolver-typescript" : "^3.6.3" ,
"eslint-plugin-import" : "^2.31.0" ,
"fast-glob" : "^3.3.2" ,
2024-11-20 07:43:22 +00:00
"heap-typed" : "^1.53.3" ,
2024-10-30 02:30:28 +00:00
"istanbul-badges-readme" : "^1.9.0" ,
2023-10-06 12:51:55 +00:00
"jest" : "^29.7.0" ,
2023-11-10 16:17:50 +00:00
"js-sdsl" : "^4.4.2" ,
2024-08-26 22:56:04 +00:00
"prettier" : "^3.3.3" ,
2024-10-30 02:30:28 +00:00
"ts-jest" : "^29.2.5" ,
"ts-loader" : "^9.5.1" ,
"ts-node" : "^10.9.2" ,
"tsup" : "^8.3.5" ,
"typedoc" : "^0.26.10" ,
"typescript" : "^5.6.3"
2023-09-26 12:10:32 +00:00
} ,
2023-06-15 16:34:28 +00:00
"keywords" : [
2023-12-29 13:50:20 +00:00
"data" ,
"structure" ,
2024-01-04 08:28:17 +00:00
"structures" ,
2024-01-16 02:40:21 +00:00
"data structure" ,
"datastructure" ,
"data-structure" ,
"data structures" ,
"datastructures" ,
"data-structures" ,
"in data structures" ,
"in data structure" ,
2023-09-20 02:43:27 +00:00
"binary" ,
"depth" ,
"breadth" ,
"first" ,
"search" ,
"index" ,
"avl" ,
2023-11-21 03:02:10 +00:00
"red" ,
"black" ,
2024-01-16 02:40:21 +00:00
"redblack" ,
2023-11-21 03:02:10 +00:00
"RB" ,
2023-09-20 02:43:27 +00:00
"segment" ,
"prefix" ,
"tree" ,
2023-11-21 03:02:10 +00:00
"multi" ,
"map" ,
"set" ,
2023-09-20 02:43:27 +00:00
"multiset" ,
2023-11-21 03:02:10 +00:00
"multimap" ,
2024-01-16 02:40:21 +00:00
"directed" ,
"undirected" ,
"graph" ,
"min" ,
"max" ,
"heap" ,
"priority" ,
"queue" ,
2024-01-08 01:49:33 +00:00
"singly" ,
"doubly" ,
"linked" ,
"list" ,
2023-09-20 02:43:27 +00:00
"js" ,
"ts" ,
"javascript" ,
"typscript" ,
2023-09-24 13:31:09 +00:00
"Node.js" ,
2023-11-21 03:02:10 +00:00
"NodeJS" ,
"c++" ,
2023-09-24 13:31:09 +00:00
"std" ,
2023-11-21 03:02:10 +00:00
"C++ STL" ,
"c++stl" ,
"C++ std" ,
"stl" ,
"std::" ,
"Python" ,
2023-09-24 13:31:09 +00:00
"collections" ,
2023-11-21 03:02:10 +00:00
"Python Collections" ,
2024-01-16 02:40:21 +00:00
"pythoncollections" ,
2023-11-21 03:02:10 +00:00
"python-collections" ,
"C#" ,
"System.Collections.Generic" ,
2023-09-24 13:31:09 +00:00
"collection" ,
2023-11-21 03:02:10 +00:00
"java.util" ,
"Java" ,
2023-09-24 13:31:09 +00:00
"util" ,
2024-01-16 02:40:21 +00:00
"binary search tree" ,
"binarysearchtree" ,
"binary-search-tree" ,
"BST" ,
"binary tree" ,
"binarytree" ,
"binary-tree" ,
"red black tree" ,
"redblacktree" ,
"redblack tree" ,
"red-black-tree" ,
"redblack-tree" ,
"trie" ,
"prefix tree" ,
"prefixtree" ,
"prefix-tree" ,
"avl tree" ,
"avltree" ,
"avl-tree" ,
"tree set" ,
"treeset" ,
"tree-set" ,
"tree multiset" ,
"treemultiset" ,
"tree-multiset" ,
"tree map" ,
"treemap" ,
"tree-map" ,
"tree multimap" ,
"treemultimap" ,
"tree-multimap" ,
"binary indexed tree" ,
"binaryindexedtree" ,
"binary-indexed-tree" ,
"segment tree" ,
"segmenttree" ,
"segment-tree" ,
2023-11-21 03:02:10 +00:00
"sort" ,
"sorted" ,
"order" ,
"ordered" ,
"algorithm" ,
"morris" ,
"Morris" ,
"bellman ford" ,
2024-01-16 02:40:21 +00:00
"bellmanford" ,
2023-11-21 03:02:10 +00:00
"bellman-ford" ,
"dijkstra" ,
"Dijkstra" ,
"floyd warshall" ,
2024-01-16 02:40:21 +00:00
"floydwarshall" ,
2023-11-21 03:02:10 +00:00
"floyd-warshall" ,
"tarjan" ,
"tarjan's" ,
2023-09-18 14:04:39 +00:00
"dfs" ,
2023-09-20 02:43:27 +00:00
"depth first Search" ,
2024-01-16 02:40:21 +00:00
"depthfirstSearch" ,
2023-09-20 02:43:27 +00:00
"depth-first-Search" ,
2023-09-18 14:04:39 +00:00
"bfs" ,
2023-09-20 02:43:27 +00:00
"breadth first search" ,
2024-01-16 02:40:21 +00:00
"breadthfirstsearch" ,
2023-09-20 02:43:27 +00:00
"dfs iterative" ,
"recursive" ,
"iterative" ,
2023-09-18 14:04:39 +00:00
"directed graph" ,
2024-01-16 02:40:21 +00:00
"directedgraph" ,
2023-09-18 14:04:39 +00:00
"directed-graph" ,
"undirected graph" ,
2024-01-16 02:40:21 +00:00
"undirectedgraph" ,
2023-09-18 14:04:39 +00:00
"undirected-graph" ,
2024-01-16 02:40:21 +00:00
"min heap" ,
"minheap" ,
"min-heap" ,
"max heap" ,
"maxheap" ,
"max-heap" ,
"priority queue" ,
"priorityqueue" ,
"priority-queue" ,
"max priority queue" ,
"maxpriorityqueue" ,
"max-priority-queue" ,
"min priority queue" ,
"minpriorityqueue" ,
"min-priority-queue" ,
2023-09-20 02:43:27 +00:00
"hash" ,
2023-11-21 03:02:10 +00:00
"map" ,
2023-12-29 13:50:20 +00:00
"hash map" ,
2024-01-16 02:40:21 +00:00
"hashmap" ,
2023-11-21 03:02:10 +00:00
"hash-map" ,
2023-09-18 14:04:39 +00:00
"deque" ,
2024-01-16 02:40:21 +00:00
"linked list" ,
"linkedlist" ,
"linked-list" ,
"singly linked list" ,
"singlylinkedlist" ,
"singly-linked-list" ,
"doubly linked list" ,
"doublylinkedlist" ,
"doubly-linked-list" ,
2023-11-21 03:02:10 +00:00
"stack" ,
"CommonJS" ,
"ES6" ,
"UMD" ,
"ES Modules" ,
"ESModules" ,
"ESModule"
2023-10-25 03:26:30 +00:00
]
2023-06-15 16:34:28 +00:00
}