Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

clock-time

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clock-time - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

2

package.json
{
"name": "clock-time",
"version": "2.2.0",
"version": "2.2.1",
"description": "Formats milliseconds or minutes and seconds as clock time",

@@ -5,0 +5,0 @@ "author": "Trevor Blades <tdblades@gmail.com>",

# Clock time
[![CircleCI](https://circleci.com/gh/trevorblades/clock-time.svg?style=shield&circle-token=61b9155b46620cdaac0b9b712e5934cb041164f3)](https://circleci.com/gh/trevorblades/clock-time)
[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo)
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
[![CircleCI](https://circleci.com/gh/trevorblades/clock-time.svg?style=shield)](https://circleci.com/gh/trevorblades/clock-time)

@@ -23,4 +21,3 @@ Formats milliseconds or minutes and seconds as clock time

const text = clockTime(60 * 1000);
// 1:00
clockTime(60 * 1000); // 1:00
```

@@ -31,4 +28,3 @@

```js
const text = clockTime(4, 20);
// 4:20
clockTime(4, 20); // 4:20
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc