Javascript implementation of a stack.
Read documentation here.npm install @jeremiah_tenbrink/stack
yarn install @jeremiah_tenbrink/stack
import {Stack} from "@jeremiah_tenbrink/stack";
const stack = new Stack();
stack.push("some item")
stack.push("some item2")
stack.push("some item3")
while (!stack.isEmpty()){
const current = stack.pop();
console.log(current)
}
npm run test
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!
Copyright © 2020 Jeremiah Tenbrink
This project is MIT licensed.
This README was generated with ❤️ by readme-md-generator