1.0.2 • Published 4 months ago

@codinasion/stack v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

@codinasion/stack

Typescript implementation of a stack data structure.

NPM Version Downloads LICENSE

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

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

Sponsors & Backers

Sponsors

1.0.2

4 months ago

1.0.1

4 months ago

1.0.0

5 months ago