New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

flowtime

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flowtime

An unpredictable time library for JavaScript

latest
Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
1
Maintainers
0
Weekly downloads
 
Created
Source

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.

Keywords

flow

FAQs

Package last updated on 24 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts