33 packages found
Functions for working with durations.
Get current week number of the current year,given Date format string or Date object.
Get the number of seconds/milliseconds in a week.
Get day number of the current date/year or given valid `Date` string format
Get the number of seconds/milliseconds in leap/noleap year.
Get the number of seconds/milliseconds in a day.
Get the number of hours in a week.
Get the number of weeks in year - leap or not.
Get unique and sequential current week identifier for given valid `Date` string format or Date object.
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
Get milliseconds from weeks
Small library to handle durations parsing and displaying.
Activities of a github user.
Parse a comma separated list of ranges and numbers into an array of all numbers covered
Returns the time given to milliseconds, and is an integer that does not exceed the JavaScript MAXIMUM_SAFE_INTEGER.
Determine the number of ISO weeks in a year according to the Gregorian calendar.
A simple js library to manipulate dates
Convert seconds/minutes/hours/days/weeks/months/years to milliseconds with a simple line! Transform milliseconds to date with an only line of code! # Installation ``` npm i mseasy ``` # Example ```js const mseasy = require('mseasy');
Get the current week number.