0.1.2 • Published 7 months ago
greenwich v0.1.2
Greenwich
TypeScript date and time utility library. Inspired by the proposed Temporal API.
Install
yarn add greenwich
Or
npm i greenwich
Usage
import { timeNow, timeSpanCreate, timeToISOString } from 'greenwich';
const t0 = timeNow();
const t1 = timeAdd(t0, timeSpanCreate({ days: 10 }));
console.log(timeToISOString(t1));