1.0.0 • Published 4 years ago
seconds-to-human-time v1.0.0
#Seconds to Human Time Converts seconds to human readable time
import stht from "seconds-to-human-time";
console.log(stht(60)); // Output: 1 minute
console.log(stht(3660)); // Output: 1 hour and 1 minute
console.log(stht(90120)); // Output: 1 day, 1 hour and 2 minutes
1.0.0
4 years ago