{"_id":"12to24-cvt","name":"12to24-cvt","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"12to24-cvt","version":"1.0.0","description":"npm package to convert time","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/boskomp/12to24-cvt.git"},"author":{"name":"boskomp"},"license":"ISC","bugs":{"url":"https://github.com/boskomp/12to24-cvt/issues"},"homepage":"https://github.com/boskomp/12to24-cvt#readme","dependencies":{"node-fetch":"^2.6.0","@faker-js/faker":"^8.4.1","bmi-calcu":"^1.0.0","factorial-calc":"^1.0.0"},"_id":"12to24-cvt@1.0.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-dYFhK70muadIWhaYCFIgcQq/BseRK/3piaijUVgpVyf943o4ldT8vPffNlTG/qzlVr2FM0kYdY9G/R7zY/7Jkw==","shasum":"9e121a3ce62c39ad5ad3b3430599e95327364f3e","tarball":"https://registry.npmjs.org/12to24-cvt/-/12to24-cvt-1.0.0.tgz","fileCount":3,"unpackedSize":1444,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDE/EWqJ/PX92cr+ZRkLYUwPEbKfepf3V2TVAXCug8u6AiBhR7vrxmXGRjvkpZ8HIIJHB1jx/L6wbRcc/G9ApK88+w=="}]},"_npmUser":{"name":"boskomp","email":"boskompi@gmail.com"},"directories":{},"maintainers":[{"name":"boskomp","email":"boskompi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/12to24-cvt_1.0.0_1710594465709_0.9684929565016491"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-16T13:07:45.709Z","1.0.0":"2024-03-16T13:07:45.866Z","modified":"2024-03-16T13:07:46.382Z"},"maintainers":[{"name":"boskomp","email":"boskompi@gmail.com"}],"description":"npm package to convert time","homepage":"https://github.com/boskomp/12to24-cvt#readme","repository":{"type":"git","url":"git+https://github.com/boskomp/12to24-cvt.git"},"author":{"name":"boskomp"},"bugs":{"url":"https://github.com/boskomp/12to24-cvt/issues"},"license":"ISC","readme":"## Installation\r\n\r\nYou can install this package via npm:\r\n\r\n```\r\nnpm install 12to24-cvt\r\n```\r\n\r\n## Usage\r\n\r\n```\r\nconst convert12To24 = require('12to24-cvt');\r\n\r\n// Example 1: Convert time from 12-hour format to 24-hour format\r\nconst time12_1 = '4:30 PM';\r\nconst time24_1 = convert12To24(time12_1);\r\nconsole.log(`Time in 24-hour format: ${time24_1}`);\r\n\r\n// Example 2: Convert another time\r\nconst time12_2 = '9:45 AM';\r\nconst time24_2 = convert12To24(time12_2);\r\nconsole.log(`Time in 24-hour format: ${time24_2}`);\r\n```\r\n","readmeFilename":"README.md"}