0.1.4 • Published 2 years ago
@charliewilco/iterable-lists v0.1.4
Uses prettier, rollup, esbuild and vite for the example.
Install
yarn add @charliewilco/iterable-lists
Usage
import { Queue } from "@charliewilco/iterable-lists";
const q = new Queue();
q.add("1");
q.add("2");
q.head; // "2"
for (const value of q) {
console.log(value);
}
// "1"
// "2"