New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

wolf-stack

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wolf-stack

An implementation of a stack data structure

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

Wolf Stack

A lightweight implementation of a Stack data structure.

Methods AvailableMethod Descriptions
pushadds a value to the stack
popremoves and returns the value at the top of the stack
peekreturns the value at the top of the stack
isEmptyreturns a boolean indicating if the stack has any values
printlogs a string of the values stored in the stack
getMinimumreturns the minimum value in the stack

NOTE: getMinimum requires the stack to contain numeric values only clear | empties all values from the current stack

Properties AvailableProperty Descriptions
sizereturns the amount of values stored in the stack

FAQs

Package last updated on 06 Jan 2020

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