# flowtime

> An unpredictable time library for JavaScript

Latest version **2.0.0** (published 2025-02-24) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 40/100 (D)** — status: stable.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2025-02-24 |
| First published | 2018-07-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Lionel Ringenbach |
| Maintainers | ucodia |
| Keywords | flow, time, thought-experiment, art |

## Links

- npm: https://www.npmjs.com/package/flowtime
- Repository: https://github.com/ucodia/flowtime
- Homepage: http://ucodia.space/flowtime
- Issues: https://github.com/ucodia/flowtime/issues
- npm.io page: https://npm.io/package/flowtime

## Alternatives

- [d3-force-3d](https://npm.io/package/d3-force-3d.md) — 1.0M weekly downloads
- [ng2-charts](https://npm.io/package/ng2-charts.md) — 486.8K weekly downloads
- [@arcgis/core](https://npm.io/package/@arcgis/core.md) — 257.8K weekly downloads
- [react-sparklines](https://npm.io/package/react-sparklines.md) — 249.3K weekly downloads
- [react-native-gifted-charts](https://npm.io/package/react-native-gifted-charts.md) — 182.3K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2025-02-24
- 1.2.5 — 2023-09-23
- 1.2.4 — 2023-09-22
- 1.2.3 — 2022-02-11
- 1.2.2 — 2022-02-11
- 1.2.1 — 2019-08-03
- 1.2.0 — 2019-08-03
- 1.1.2 — 2018-07-22
- 1.1.1 — 2018-07-22

## README

![npm version](https://img.shields.io/npm/v/flowtime)
![bundle size](https://img.shields.io/bundlephobia/minzip/flowtime)

# flowtime for JavaScript

flowtime is an art project and thought experiment that challenges and reimagines our traditional understanding of time.

This package is a JavaScript implementation that contains the necessary functionality to convert the conventional time to flowtime.

Find more details on the [flowtime official page](1).

## Usage

Install the library from npm

```bash
npm i flowtime
```

Use the `fromDate` function to convert a JavaScript `Date` to a flowtime object

```js
import flowtime from 'flowtime'

const now = new Date()
console.log(now)
// Sat Jul 21 2018 09:28:42 GMT-0700 (Pacific Daylight Time)

const time = flowtime.fromDate(now)
console.log(time)
// {hour: 11, minute: 49, second: 42, date: Sat Jul 21 2018 11:49:42 GMT-0700 (Pacific Daylight Time)}
```

## License

This package is MIT licensed. See [LICENSE](LICENSE).

[1]: https://ucodia.space/flowtime

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