jesobreira / queued.js

Queue stack for Node and the browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

queued.js

Queue implementation in TypeScript for Node and the browser, based on Stacked.js.

Queued are data containers that can be read from bottom, but written at the top. This library allows you to use and manage queues, limited or not, persistent or not.

Install

npm i queued.js

Usage

Everything works much like Stacked.js. You can follow the docs, with just a change:

  • The .pop() method is not available
  • Use .first() instead, to access the first item

License

MIT

About

Queue stack for Node and the browser


Languages

Language:JavaScript 73.1%Language:TypeScript 26.9%