TypeScript date and time utility library. Inspired by the proposed Temporal API.
yarn add greenwich
Or
npm i greenwich
import { timeNow, timeSpanCreate, timeToISOString } from 'greenwich';
const t0 = timeNow();
const t1 = timeAdd(t0, timeSpanCreate({ days: 10 }));
console.log(timeToISOString(t1));