# timelane

> Tiny helper to track timeline of events and processes

Latest version **0.0.5** (published 2016-06-29) · ISC license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2016-06-29 |
| First published | 2016-03-01 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Boris Okunskiy |
| Maintainers | inca |
| Keywords | timeline |

## Links

- npm: https://www.npmjs.com/package/timelane
- Repository: https://github.com/inca/timelane
- Issues: https://github.com/inca/timelane/issues
- npm.io page: https://npm.io/package/timelane

## Recent versions

- 0.0.5 (latest) — 2016-06-29
- 0.0.4 — 2016-03-01
- 0.0.3 — 2016-03-01
- 0.0.2 — 2016-03-01
- 0.0.1 — 2016-03-01
- 0.0.0 — 2016-03-01

## README

Use it to track time of asynchronous events using explicit `start`, `finish`
and `timeout` markers.

## Usage

```es6
import createTimeline from 'timelane';

const timelines = {
    sleep: createTimeline(),
    awake: createTimeline()
};

Promise.resolve()
    .then(() => timelines.sleep.start())
    .then(() => ...)
    .then(() => timelines.sleep.finish({ metadata: 'moon was full' }))
    .then(() => timelines.awake.start())
    ...
    .then(() => timelines.awake.finish());
```

Each timeline will contain `startedAt`, `finishedAt`, `timeoutAt` and
auto-evaluated `duration`.

That's it :)

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