Lightweight date/time formatting library (~1.3KB min+gzip) using PHP-like template syntax with '#{token}' placeholders. v2.0.0 is current stable release with infrequent updates. Supports browser and Node.js via ES modules, CommonJS, and UMD. Key differentiator vs moment/luxon is tiny size and simple string templates, but lacks timezone support, relative time, and advanced date math.
npm install timeUtilsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic usage of formatDate with day, month, date, year, time, and AM/PM tokens.
Always wrap tokens in #{ } like formatDate(date, "#{Y}-#{m}-#{d}")Refer to the token table and use correct casing.
Use named imports: `import { formatDate } from 'timeUtils'`Change to named import: `import { formatDate } from 'timeUtils'`Ensure package is installed: `npm install timeUtils`
Run `npm install timeUtils` and check import path.
Ensure template is a string with `#{...}` syntax inside quotes.No dependency data recorded yet.