data-structure-typed 1.33.7 → 1.33.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,17 +2,27 @@
2
2
 
3
3
  Data Structures of Javascript & TypeScript.
4
4
 
5
- Do you envy languages like C++ with [std](), Python with [collections](), and Java with [java.util]() ? Well, no need to envy anymore! JavaScript and TypeScript now have [data-structure-typed]().
5
+ Do you envy C++ with [std](), Python with [collections](), and Java with [java.util]() ? Well, no need to envy anymore! JavaScript and TypeScript now have [data-structure-typed]().
6
6
 
7
7
  Now you can use this library in Node.js and browser environments in CommonJS(require export.modules = ), ESModule(import export), Typescript(import export), UMD(var Queue = dataStructureTyped.Queue)
8
8
 
9
+ The size after packaging is 69 kB.
10
+
9
11
  ![License](https://img.shields.io/badge/License-MIT-blue.svg)
10
12
  ![Language](https://img.shields.io/github/languages/top/zrwusa/data-structure-typed)
11
13
  ![GitHub release (latest by date)](https://img.shields.io/github/v/release/zrwusa/data-structure-typed)
12
- ![Branches](https://img.shields.io/badge/branches-97.54%25-brightgreen.svg?style=flat)
13
14
  ![npm](https://aleen42.github.io/badges/src/npm.svg)
14
15
  ![eslint](https://aleen42.github.io/badges/src/eslint.svg)
15
16
 
17
+ [//]: # (![Branches](https://img.shields.io/badge/branches-55.47%25-red.svg?style=flat))
18
+
19
+ [//]: # (![Statements](https://img.shields.io/badge/statements-67%25-red.svg?style=flat))
20
+
21
+ [//]: # (![Functions](https://img.shields.io/badge/functions-66.38%25-red.svg?style=flat))
22
+
23
+ [//]: # (![Lines](https://img.shields.io/badge/lines-68.6%25-red.svg?style=flat))
24
+
25
+
16
26
  ## Built-in classic algorithms
17
27
 
18
28
  DFS(Depth-First Search), DFSIterative, BFS(Breadth-First Search), morris, Bellman-Ford Algorithm, Dijkstra's Algorithm,
@@ -23,7 +33,7 @@ Floyd-Warshall Algorithm, Tarjan's Algorithm.
23
33
  ### npm
24
34
 
25
35
  ```bash
26
- npm i data-structure-typed --save
36
+ npm i data-structure-typed
27
37
  ```
28
38
 
29
39
  ### yarn
@@ -32,6 +42,14 @@ npm i data-structure-typed --save
32
42
  yarn add data-structure-typed
33
43
  ```
34
44
 
45
+ ```js
46
+ import {
47
+ BinaryTree, Graph, Queue, Stack, PriorityQueue, BST, Trie, DoublyLinkedList,
48
+ AVLTree, MinHeap, SinglyLinkedList, DirectedGraph, TreeMultiset,
49
+ DirectedVertex, AVLTreeNode
50
+ } from 'data-structure-typed';
51
+ ```
52
+
35
53
  ### CDN
36
54
 
37
55
  ```html
@@ -40,18 +58,11 @@ yarn add data-structure-typed
40
58
  ```
41
59
 
42
60
  ```js
43
- const {AVLTree} = dataStructureTyped;
61
+ const {Heap} = dataStructureTyped;
44
62
  const {
45
- Heap,
46
- MinHeap,
47
- SinglyLinkedList,
48
- Stack,
49
- AVLTreeNode,
50
- BST,
51
- Trie,
52
- DirectedGraph,
53
- DirectedVertex,
54
- TreeMultiset
63
+ BinaryTree, Graph, Queue, Stack, PriorityQueue, BST, Trie, DoublyLinkedList,
64
+ AVLTree, MinHeap, SinglyLinkedList, DirectedGraph, TreeMultiset,
65
+ DirectedVertex, AVLTreeNode
55
66
  } = dataStructureTyped;
56
67
  ```
57
68