@jeremiah_tenbrink/queue
v1.0.6
Published
Queue using a doubly linked list.
Downloads
10
Readme
Queue using a doubly linked list.
Install
With Npm
npm install @jeremiah_tenbrink/queue
With yarn
yarn add @jeremiah_tenbrink/queue
Usage
import {Queue} from "@jeremiah_tenbrink/queue";
const q = new Queue();
q.enqueue('some value')
q.enqueue('another value')
while (!q.isEmpty()){
const current = q.dequeue();
console.log(current)
}
Author
👤 Jeremiah Tenbrink
- Portfolio: http://tenbrink.dev
- GitHub: @jeremiahtenbrink
- LinkedIn: @jeremiahtenbrink
🤝 Contributing
Contributions, issues and feature requests are welcome!Feel free to check issues page.
Show your support
Give a ⭐️ if this project helped you!
📝 License
Copyright © 2020 Jeremiah Tenbrink. This project is MIT licensed.
This README was generated with ❤️ by readme-md-generator