# time-line

> another generic timeline module

Latest version **1.0.1** (published 2014-10-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install time-line
pnpm add time-line
yarn add time-line
bun add time-line
```

## 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.1 |
| Published | 2014-10-26 |
| First published | 2014-10-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Simon Kusterer |
| Maintainers | xat |
| Keywords | timeline, time |

## Links

- npm: https://www.npmjs.com/package/time-line
- Repository: git@github.com:xat/timeline
- Homepage: https://github.com/xat/timeline
- Issues: https://github.com/xat/timeline/issues
- npm.io page: https://npm.io/package/time-line

## Alternatives

- [@js-joda/timezone](https://npm.io/package/@js-joda/timezone.md) — 383.4K weekly downloads
- [chartjs-adapter-moment](https://npm.io/package/chartjs-adapter-moment.md) — 210.8K weekly downloads
- [strftime](https://npm.io/package/strftime.md) — 171.2K weekly downloads
- [vue-flatpickr-component](https://npm.io/package/vue-flatpickr-component.md) — 115.8K weekly downloads
- [timepicker](https://npm.io/package/timepicker.md) — 51.0K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2014-10-26
- 1.0.0 — 2014-10-25

## README

# timeline

yet another generic timeline node module.

### usage

```javascript

var timeline = require('time-line');

// create new timeline with a length
// of 10 secs
var tl = timeline(10000);

// start playback
tl.play();

// receive position updates
tl.on('position', function(pos) {
  console.log('current position', pos.position);
});

// get the current position
console.log('current position', tl.getPosition());

// jump to a specific position
tl.jumpTo(5000);

// catch ended event
tl.on('ended', function() {
  console.log('playback ended');
});


```

### Installation

`npm install time-line`

## License
Copyright (c) 2014 Simon Kusterer
Licensed under the MIT license.

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