1.1.0 • Published 8 years ago

histable v1.1.0

Weekly downloads
2
License
ISC
Repository
github
Last release
8 years ago

Histable

Build Status npm Coverage Status

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

Installation

npm i histable --save

Usage

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


Why this name?

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

1.1.0

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago