0.1.1 • Published 1 year ago

@sqrls/mindate v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

mindate

Super minimal Date library, inspired by date-fns.

Use

Import individual functions, or use default import. Example (TypeScript):

import { addDays, unix } from "@sqrls/mindate"

const twentyDaysFromNow = addDays(new Date(), 20);
const secondsSinceEpoch = unix(new Date());
0.1.1

1 year ago

0.1.0

1 year ago