Catalog npm
PACKAGE EXPLORERView in registry

12to24-cvt

npm

npm package to convert time

Versions collected1
Direct dependencies4From release 1.0.0
Last observed20 Oct, 18:12 UTC

README

Current package documentation

Installation

You can install this package via npm:

npm install 12to24-cvt

Usage

const convert12To24 = require('12to24-cvt');

// Example 1: Convert time from 12-hour format to 24-hour format
const time12_1 = '4:30 PM';
const time24_1 = convert12To24(time12_1);
console.log(`Time in 24-hour format: ${time24_1}`);

// Example 2: Convert another time
const time12_2 = '9:45 AM';
const time24_2 = convert12To24(time12_2);
console.log(`Time in 24-hour format: ${time24_2}`);

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.0Registry latest16 Mar 20244

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
boskomp/12to24-cvt

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:12 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:b1e244de002e089e18c06ddc484ac99be5c01b8951c37cc03f6d6c9f40e44310