2.0.0 • Published 10 months ago

flowtime v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

npm version bundle size

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.

Usage

Install the library from npm

npm i flowtime

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

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.

2.0.0

10 months ago

1.2.5

2 years ago

1.2.4

2 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.2

7 years ago

1.1.1

7 years ago