# @bolkearn/stack.js

> Stack Container, close to C++ Stack

Latest version **1.0.3** (published 2022-02-08) · ISC license · 0 weekly downloads

## Install

```sh
npm install @bolkearn/stack.js
pnpm add @bolkearn/stack.js
yarn add @bolkearn/stack.js
bun add @bolkearn/stack.js
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2022-02-08 |
| First published | 2022-02-08 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Arnold Bolke |
| Maintainers | bolkearn |
| Keywords | stack, c++ |

## Links

- npm: https://www.npmjs.com/package/@bolkearn/stack.js
- Repository: https://github.com/BOLKEARN/stack.js
- Homepage: https://github.com/BOLKEARN/stack.js#readme
- Issues: https://github.com/BOLKEARN/stack.js/issues
- npm.io page: https://npm.io/package/@bolkearn/stack.js

## Alternatives

- [gamedig](https://npm.io/package/gamedig.md) — 29.3K weekly downloads
- [join-monster](https://npm.io/package/join-monster.md) — 12.8K weekly downloads
- [masked](https://npm.io/package/masked.md) — 5.5K weekly downloads
- [@comunica/actor-query-process-explain-logical](https://npm.io/package/@comunica/actor-query-process-explain-logical.md) — 4.7K weekly downloads
- [@veracity/vui](https://npm.io/package/@veracity/vui.md) — 4.6K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2022-02-08
- 1.0.2 — 2022-02-08
- 1.0.1 — 2022-02-08
- 1.0.0 — 2022-02-08

## README

��# stack.js

stack.js is an simple data structure

## Installation


```bash
npm i @bolkearn/stack.js
```

## Usage

```js
const Stack = require("@bolkearn/stack.js")

let stack = new Stack();

//returns true if stack is empty
stack.empty()

//returns value from stack
stack.top()

//add value to stack
stack.push(1);

//remove value from stack
stack.pop()

//return size of stack
stack.size()
```

## License
[ISC](https://choosealicense.com/licenses/isc/)

---
_Source: https://npm.io/package/@bolkearn/stack.js · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
