Skip to content

Commit

Permalink
[pkg] v1.33.8 published
Browse files Browse the repository at this point in the history
  • Loading branch information
zrwusa committed Oct 5, 2023
1 parent 4d9e08a commit 092ac73
Show file tree
Hide file tree
Showing 4 changed files with 207 additions and 188 deletions.
39 changes: 25 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,27 @@

Data Structures of Javascript & TypeScript.

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]().
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]().

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)

The size after packaging is 69 kB.

![License](https://img.shields.io/badge/License-MIT-blue.svg)
![Language](https://img.shields.io/github/languages/top/zrwusa/data-structure-typed)
![GitHub release (latest by date)](https://img.shields.io/github/v/release/zrwusa/data-structure-typed)
![Branches](https://img.shields.io/badge/branches-97.54%25-brightgreen.svg?style=flat)
![npm](https://aleen42.github.io/badges/src/npm.svg)
![eslint](https://aleen42.github.io/badges/src/eslint.svg)

[//]: # (![Branches](https://img.shields.io/badge/branches-55.47%25-red.svg?style=flat))

[//]: # (![Statements](https://img.shields.io/badge/statements-67%25-red.svg?style=flat))

[//]: # (![Functions](https://img.shields.io/badge/functions-66.38%25-red.svg?style=flat))

[//]: # (![Lines](https://img.shields.io/badge/lines-68.6%25-red.svg?style=flat))


## Built-in classic algorithms

DFS(Depth-First Search), DFSIterative, BFS(Breadth-First Search), morris, Bellman-Ford Algorithm, Dijkstra's Algorithm,
Expand All @@ -23,7 +33,7 @@ Floyd-Warshall Algorithm, Tarjan's Algorithm.
### npm

```bash
npm i data-structure-typed --save
npm i data-structure-typed
```

### yarn
Expand All @@ -32,6 +42,14 @@ npm i data-structure-typed --save
yarn add data-structure-typed
```

```js
import {
BinaryTree, Graph, Queue, Stack, PriorityQueue, BST, Trie, DoublyLinkedList,
AVLTree, MinHeap, SinglyLinkedList, DirectedGraph, TreeMultiset,
DirectedVertex, AVLTreeNode
} from 'data-structure-typed';
```

### CDN

```html
Expand All @@ -40,18 +58,11 @@ yarn add data-structure-typed
```

```js
const {AVLTree} = dataStructureTyped;
const {Heap} = dataStructureTyped;
const {
Heap,
MinHeap,
SinglyLinkedList,
Stack,
AVLTreeNode,
BST,
Trie,
DirectedGraph,
DirectedVertex,
TreeMultiset
BinaryTree, Graph, Queue, Stack, PriorityQueue, BST, Trie, DoublyLinkedList,
AVLTree, MinHeap, SinglyLinkedList, DirectedGraph, TreeMultiset,
DirectedVertex, AVLTreeNode
} = dataStructureTyped;
```

Expand Down
Loading

0 comments on commit 092ac73

Please sign in to comment.