UNPKG

itty-time

Version:

Ultra-small (~390 bytes) library for TTL date math and converting ms durations to and from strings.

2 lines (1 loc) 81 B
export declare const datePlus: (duration: string | number, from?: Date) => Date;