@ali-fathi77/stackv1

1.1.0 • Public • Published

My first stack module

In this version of this module you can push and pop your data on stack. You can also know how many array houses are occupied.

N|Solid Photo copied from the https://www.javatpoint.com/ds-stack-vs-queue

Features of this version

Pushing data Popping data Information about array houses

Installation

My stack module requires Node.js v16+ to run.

Install the dependencies and devDependencies and start the server.

npm install stackv1

For production environments...

npm install stackv1 --production

Usage

This is sample usage of this module:

const newStack = new stack()
newStack.push(your data)
newStack.pop()

You can also know how many array houses are occupied.

newStack.length()

Readme

Keywords

Package Sidebar

Install

npm i @ali-fathi77/stackv1

Weekly Downloads

0

Version

1.1.0

License

ISC

Unpacked Size

2.76 kB

Total Files

5

Last publish

Collaborators

  • ali-fathi77