to12Hours Convert 24 hour format to 12 hours. Install $ npm install to12hours Usage const to12Hours = require('to12hours'); to12Hours('15:35'); //=> '3:35PM' API to12Hours(input, options?) input Type: string The time in the 24-hour format.