Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@datastructures-js/stack

datastructures-js14.9kMIT3.1.6TypeScript support: included

stack implementation in javascript

stack, stack es6, stack js

readme

changelog

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

[3.1.6] - 2025-09-08

Fixed

  • return null in type definition for peek & pop functions.

[3.1.5] - 2025-08-26

Fixed

  • README

[3.1.4] - 2022-08-15

Fixed

  • add types to package.json

[3.1.3] - 2022-05-15

Fixed

  • README

[3.1.2] - 2021-06-20

Fixed

  • index.d.ts

[3.1.1] - 2021-06-14

Fixed

  • README

[3.1.0] - 2021-06-13

Added

  • typescript.

[3.0.0] - 2021-01-02

Changed

  • .push can now chain other stack methods.
  • named export for stack class.

Fixed

  • readme

[2.0.4] - 2020-12-26

Fixed

  • jsdoc
  • readme

[2.0.3] - 2020-04-03

Fixed

  • .npmignore

[2.0.2] - 2020-04-02

Fixed

  • README & jsdoc.

[2.0.1] - 2020-03-12

Fixed

  • Readme.

[2.0.0] - 2020-03-12

Changed

  • initial new release.