Skip to content

Commit

Permalink
hotfix: 🩹 Hotfix patch release (#16)
Browse files Browse the repository at this point in the history
For missing updates on mod.ts file
  • Loading branch information
mandy8055 authored Oct 24, 2024
1 parent 1cf339f commit d6fb45c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mskr/data-structures",
"version": "0.2.0",
"version": "0.2.1",
"exports": "./src/mod.ts",
"license": "MIT",
"publish": {
Expand Down
25 changes: 21 additions & 4 deletions src/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,35 @@
*
* Basic usage:
* ```ts
* import { LinkedList, Queue, MinHeap } from "jsr:@msk/data-structures";
* import { LinkedList, DoublyLinkedList, Deque } from "jsr:@msk/data-structures";
*
* const list = new LinkedList<number>();
* list.append(1);
*
* const dll = new DoublyLinkedList<number>();
* // Add elements
* dll.append(1);
* dll.append(2);
* dll.append(3);
*
* // Forward traversal
* console.log('Forward:', [...dll]); // [1, 2, 3]
*
* // Reverse traversal
* console.log('Reverse:', [...dll.reverseIterator()]); // [3, 2, 1]
*
* const deque = new Deque<number>();
* deque.addFirst(1); // [1]
* deque.addLast(2); // [1, 2]
* deque.addFirst(0); // [0, 1, 2]
* console.log([...deque]); // [0, 1, 2]
* ```
*/

// Core data structures
export { LinkedList } from './core/linked-list.ts';
// export { DoublyLinkedList } from "./doubly_linked_list.ts";
// export { Queue } from "./queue.ts";
// export { Deque } from "./deque.ts";
export { DoublyLinkedList } from './core/doubly-linked-list.ts';
export { Deque } from './core/deque.ts';
// export { PriorityQueue } from "./priority_queue.ts";

// Heap implementations
Expand Down

0 comments on commit d6fb45c

Please sign in to comment.