Skip to content

kumar-gaurav-mishra/js-stacks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 stack
stack.pop(); // Pop 1 from the stack
stack.size; // Gives you length of the stack

About

Javascript implementation of Stack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published