# skiptimeline

> A library that provides the implementation of SkipList and SkipTimeline, which you can use to manage discrete time points in continuous time.

Latest version **1.0.1** (published 2020-09-07) · MIT license · 0 weekly downloads

## Install

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

## 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 | 2020-09-07 |
| First published | 2020-09-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 28.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Asuka109 |
| Maintainers | asuka109 |

## Links

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

## Recent versions

- 1.0.1 (latest) — 2020-09-07
- 1.0.0 — 2020-09-07

## README

# Introduction

A library that provides the implementation of SkipList and SkipTimeline, which you can use to manage discrete time points in continuous time.

# Getting Started

Install from npm:

```shell
yarn add skiptimeline
```

# Usage

```js
const { SkipTimeline } = require('skiptimeline')

const timeList = [0, 10, 235.9, 768.8, 1000]
const callback = () => console.log('callback')
const once = true
const points = timeList.map(time => ({
  time,
  callback,
  once
}))

const tl = new SkipTimeline(points)
tl.trigger(10, 768.8)
```

# License

Distributed under the MIT License.

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