@arki/date
archivefor @arki/[email protected] · Tier 2: standalone libraries
Date and time utilities for ARKI — thin wrappers and re-exports over date-fns with project-aligned formatters.
Install
bun add @arki/[email protected]Other package managers
npm install @arki/[email protected]
pnpm add @arki/[email protected]
yarn add @arki/[email protected]Release health for @arki/[email protected]
Doc examples
No example report was recorded for this version.
Open gaps
6 release checks fail
- check
file-llms-txt - check
file-agents-md - check
file-agent-guide - check
readme-h2-order - check
pkg-engines - check
files-ship-dist-docs
Used by demos
No demo uses this package yet.
Runtimes
No engines field, so no runtime requirement is declared.
Benchmarks
No benchmarks are published for this version.
README
Date and time utilities for ARKI — thin wrappers and re-exports over date-fns with project-aligned formatters.
Installation
npm install @arki/date
# or
bun add @arki/date
# or
pnpm add @arki/dateUsage
Human-readable formatting
import { toHumanReadableDate } from '@arki/date/format';
toHumanReadableDate(new Date('2026-05-20'));
// 'May 20, 2026'Re-exported date-fns helpers
import { format } from '@arki/date/format';
import { parseISO } from '@arki/date/parseISO';
const d = parseISO('2026-05-20T10:00:00Z');
format(d, 'yyyy-MM-dd');
// '2026-05-20'The subpath layout (@arki/date/format, @arki/date/parseISO) lets bundlers tree-shake unused date-fns modules without pulling in the entire library.
API
@arki/date/formattoHumanReadableDate(date: Date): string— produce a localizedLLL dd, ystring.format— re-export ofdate-fns/format.
@arki/date/parseISOparseISO— re-export ofdate-fns/parseISO.
Documentation
@arki/date is framework-agnostic and works on its own. When you compose
it with the @arki/dot
application framework, see packages/dot/docs/ for plugin authoring,
lifecycle, and diagnostics.
License
MIT — see LICENSE.
Public imports
This version has no API index.