Stack
Javascript Implementation of Stack
Installation & Usage :
npm install js-stacks
const Stack = require('js-stacks'); let stack = new Stack(); stack.push(1); // Push 1 to the stackstack.pop(); // Pop 1 from the stackstack.size; // Gives you length of the stack