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 3.0.1 to 3.0.2

LICENSE

2

index.js

@@ -19,3 +19,3 @@ "use strict";

function clockTime(ms, seconds) {
if (seconds) {
if (Number.isInteger(seconds)) {
return ms + separator + padSeconds(seconds);

@@ -22,0 +22,0 @@ }

{
"name": "clock-time",
"version": "3.0.1",
"version": "3.0.2",
"description": "Formats milliseconds or minutes and seconds as clock time",

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

# Clock Time
[![Build Status](https://travis-ci.com/trevorblades/clock-time.svg?branch=master)](https://travis-ci.com/trevorblades/clock-time)
[![Build Status](https://github.com/trevorblades/clock-time/workflows/Node%20CI/badge.svg)](https://github.com/trevorblades/clock-time/actions)

@@ -15,3 +15,3 @@ Formats milliseconds or minutes and seconds as clock time

Import or require the package and pass milliseconds as a single argument to get nicely formatted clock time.
Import or `require` the package and pass milliseconds as a single argument to get nicely formatted clock time.

@@ -48,1 +48,5 @@ ```js

```
## License
[MIT](./LICENSE)

Sorry, the diff of this file is not supported yet

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