@foxkit/list
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

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.

Package Sidebar

Install

npm i @foxkit/list

Weekly Downloads

0

Version

1.2.0

License

MIT

Unpacked Size

64.4 kB

Total Files

14

Last publish

Collaborators

  • mitsunee