# histable

> Maintains history of state changes

Latest version **1.1.0** (published 2016-04-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install histable
pnpm add histable
yarn add histable
bun add histable
```

## 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.1.0 |
| Published | 2016-04-05 |
| First published | 2016-04-05 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Tushar Mathur |
| Maintainers | tusharmathur |
| Keywords | history, immutable, forward, backward, redo, undo |

## Links

- npm: https://www.npmjs.com/package/histable
- Repository: https://github.com/tusharmath/histable
- Homepage: https://github.com/tusharmath/histable#readme
- Issues: https://github.com/tusharmath/histable/issues
- npm.io page: https://npm.io/package/histable

## Dependencies (2)

- [nyc](https://npm.io/package/nyc.md) ^6.1.1
- [coveralls](https://npm.io/package/coveralls.md) ^2.11.9

## Alternatives

- [@lexical/table](https://npm.io/package/@lexical/table.md) — 3.0M weekly downloads
- [mantine-datatable](https://npm.io/package/mantine-datatable.md) — 98.2K weekly downloads
- [react-native-collapsible-tab-view](https://npm.io/package/react-native-collapsible-tab-view.md) — 70.6K weekly downloads
- [@handsontable/vue3](https://npm.io/package/@handsontable/vue3.md) — 16.1K weekly downloads
- [vuewordcloud](https://npm.io/package/vuewordcloud.md) — 7.2K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2016-04-05
- 1.0.3 — 2016-04-05
- 1.0.2 — 2016-04-05
- 1.0.1 — 2016-04-05
- 1.0.0 — 2016-04-05

## README

# Histable

[![Build Status][travis-svg]][travis]
[![npm][npm-svg]][npm]
[![Coverage Status][coveralls-svg]][coveralls]


[travis-svg]: https://travis-ci.org/tusharmath/histable.svg?branch=master
[travis]: https://travis-ci.org/tusharmath/histable
[npm-svg]: https://img.shields.io/npm/v/histable.svg
[npm]: https://www.npmjs.com/package/histable
[coveralls]: https://coveralls.io/github/tusharmath/histable?branch=master
[coveralls-svg]: https://coveralls.io/repos/github/tusharmath/histable/badge.svg?branch=master

A no external dependency module that maintains the history of state changes.

### Installation

```bash
npm i histable --save
```

### Usage

```javascript
const histable = require('histable')
const history = histable.create()
history.push(1)
history.push(2)
history.push(3)
history.undo() // 2
history.undo() // 1
history.undo() // undefined
```

### [API DOCUMENTATION](DOCS.md)

---
Why this name?

**History + Immutable = Histable** — so couldn't think of anything better.

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