structures-ts
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

structures-ts

Overview

This lib is a helper to construct complex estructures using typescript

Current Structures:

  • Watched List
  • Stack
  • Queue

Get Started

npm install structures-ts

Import on project:

import { WatchedList } from "structures-ts";

and use

const playlist = WatchedList<Music>({
  initialItems: [music1, music2],
  compareItems: (a, b) => a.name === b.name,
});

Links:

/structures-ts/

    Package Sidebar

    Install

    npm i structures-ts

    Weekly Downloads

    0

    Version

    2.0.1

    License

    none

    Unpacked Size

    972 B

    Total Files

    2

    Last publish

    Collaborators

    • viniciusdev26