🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

js-stacks

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-stacks

Javascript Implementation of Stack

1.2.1
latest
Source
npm
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

Javascript

FAQs

Package last updated on 18 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts