1.0.0 • Published 5 years ago

@jeremiah_tenbrink/stack v1.0.0

Weekly downloads
1
License
-
Repository
github
Last release
5 years ago

Discription

Javascript implementation of a stack.

Documentation

Install

Npm

npm install @jeremiah_tenbrink/stack

Yarn

yarn install @jeremiah_tenbrink/stack

Usage

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)
}

Run tests

npm run test

Author

šŸ‘¤ Jeremiah Tenbrink

šŸ¤ 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