Wondering what’s next for npm?Check out our public roadmap! »

12fromto24hours

1.1.0 • Public • Published

12 From To 24 Hours

Build Status    Coverage Status

Switch between 24 and 12 hours made easy ..

Installation


  • NPM :
$ npm install 12fromto24hours
  • YARN :
$ yarn add 12fromto24hours

Usage


The method of use is simple and very easy .. Just follow these steps :

const _12FromTo24Hours = require('12fromto24hours');

// From 12 to 24 .. 
_12FromTo24Hours('8:00 PM'); // 20:00

// From 24 to 12 .. 
_12FromTo24Hours('20:00'); // 8:00 PM

License


MIT

Install

npm i 12fromto24hours

DownloadsWeekly Downloads

4

Version

1.1.0

License

MIT

Unpacked Size

10.7 kB

Total Files

8

Last publish

Collaborators

  • avatar