Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 602 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 602 Bytes

Foxkit List

Foxkit List is a Doubly-linked List datastructure for JavaScript and TypeScript.

Installation

Install the package using the package manager used by your project:

npm install @foxkit/list
pnpm add @foxkit/list
yarn add @foxkit/list

Usage

Create a new list and use methods to add and interact with data:

import { List } from "@foxkit/list";

const list = new List(["foo", "bar"]);
list.push("baz");
list.forEach(val => console.log(val));
/* logs:
 * "foo
 * "bar"
 * "baz"
 */

See Documentation for further information.