This lib is a helper to construct complex estructures using typescript
Current Structures:
- Watched List
- Stack
- Queue
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,
});