A high-performance JavaScript and TypeScript library offering a comprehensive set of efficient data structures. Simplify your algorithm implementation and data manipulation with optimized, easy-to-use tools.
<script type="module">
import { LinkedList } from "https://cdn.jsdelivr.net/npm/[email protected]/+esm";
const linkedList = new LinkedList();
linkedList.add(1);
linkedList.add(2);
linkedList.add(3);
console.log(linkedList.toArray());
</script>
npm install dsacjs
yarn add dsacjs
pnpm add dsacjs
bun add dsacjs
import { LinkedList } from "dsacjs";
const list = new LinkedList();
list.add(1);
list.add(2);
list.add(3);
console.log(list.toArray()); // [1, 2, 3]
-
Data Structures: A comprehensive set of data structures including linked lists, stacks, queues, trees, graphs, and more.
-
Algorithms: A collection of algorithms for sorting, searching, and other common tasks.
-
Toolkit: A set of utility functions for working with data structures and algorithms.
-
Performance: High-performance implementations with optimized algorithms and data structures.
-
Ease of Use: Simplify your algorithm implementation and data manipulation with easy-to-use tools.
-
Comprehensive: A comprehensive set of data structures, algorithms, and utility functions for all your needs.
Contributions are welcome! For feature requests and bug reports, please submit an issue. For code contributions, please follow the contribution guidelines.
DsacJs is MIT licensed.
Thank you for considering contributing to DsacJs! We welcome all contributions, including bug reports, feature requests, and code contributions.
This project and everyone participating in it is governed by the DsacJs Code of Conduct. By participating, you are expected to uphold this code.