Search results
74 packages found
Convert millisecond durations to English and many other languages.
Humanizer is a library for humanizing data in a human-readable form.
- visulima
- humanizer
- humanize
- human-readable
- human
- time
- ms
- bytes
- filesize
- filesize-humanizer
- time-humanizer
- ms-humanizer
- bytes-humanizer
- millisecond
- View more
A collection of useful utility functions with associated TypeScript types. All functions have been unit tested.
- TypeScript
- isNullOrUndefined
- isEmpty
- isEqual
- isNumber
- randomNumberBetweenRange
- random number between range
- asyncForEach
- async for each
- delay
- convertTimeUnits
- convert time units
- getToday
- setEndOfDay
- View more
Ultra-small (~390 bytes) library for TTL date math and converting ms durations to and from strings.
Date iterators.
Number of months in a year.
A list of month names (English).
Generates a date in a programmer-friendly format
- date
- day
- days
- dependency-free
- devops
- format
- formatting
- hour
- hours
- log
- logging
- millisecond
- milliseconds
- minute
- View more
A list of month names (English).
Convert millisecond durations to English and many other languages.
Functions for working with durations.
[![npm version](https://badge.fury.io/js/month-name-abbreviator.svg)](https://www.npmjs.com/package/month-name-abbreviator)
Format dates with date.js and moment.js. Uses date.js to parse human readable date phrases, and moment to format the rendered output. Should work with any Handlebars, Lo-Dash, underscore, or any template engine that allows helper functions to be registere
Get the number of seconds/milliseconds in a day.
a small utility for converting between duration units.
- duration
- period
- time
- humanize
- hours
- minutes
- seconds
- days
- years
- months
- decades
- milleniums
- milliseconds
- nanoseconds
Get current week number of the current year,given Date format string or Date object.
Get day number of the current date/year or given valid `Date` string format
Get the number of seconds/milliseconds in a week.
Get the number of seconds/milliseconds in leap/noleap year.