@codinasion/stack
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

@codinasion/stack

Typescript implementation of a stack data structure.

NPM Version Downloads LICENSE

rainbow hr

Installation

# if you're using pnpm
pnpm add @codinasion/stack

# or, if you're using npm
npm install @codinasion/stack

# or, if you're using yarn
yarn add @codinasion/stack
rainbow hr

Usage

import { Stack } from "@codinasion/stack";

const stack = new Stack();

stack.push(1);
stack.push(2);
stack.push(3);

stack.pop();

console.log(stack.isEmpty()); // false
rainbow hr

Sponsors & Backers

Sponsors

rainbow hr

Made with 💖 by Codinasion

rainbow hr

Dependencies (0)

    Dev Dependencies (8)

    Package Sidebar

    Install

    npm i @codinasion/stack

    Weekly Downloads

    0

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    6.02 kB

    Total Files

    5

    Last publish

    Collaborators

    • harshraj8843