Search results
455 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Generate time ago string
Localized relative date/time formatting
Localized relative date/time formatting in React
Reports the approximate time ago in words from a specific past date
Get relative time (ago) like 5 seconds, 12 hours, 3 months
A convenient Intl.RelativeTimeFormat polyfill
A small, no dependencies, Typescript utility to describe time differences in a human readable format (for example, '1 minute ago')
Human readable relative times (eg. 4 minutes ago)
show seconds in a human-readable form
Localized relative date/time formatting in React
Convert Unix time to a relative time string e.g., "4 hours ago".
Svelte component and action to format a timestamp using day.js
Normalize slashes in a file path to be posix/unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes, unless disabled.
- absolute
- backslash
- delimiter
- file
- file-path
- filepath
- fix
- forward
- fp
- fs
- normalize
- path
- relative
- separator
- View more
Tests whether one path is inside another path
Minify URLs by converting them from absolute to relative.
Enhance ESLint with better support for large scale monorepos
Check if a URL is absolute
Extract the Node.js module details like name and base path given an abosulte path to a file inside the module
Formats JavaScript dates to relative time strings.
Damerau - Levenshtein distance by The Spanish Inquisition + relative distance