UNPKG

better-auth

Version:

The most comprehensive authentication framework for TypeScript.

8 lines (7 loc) 208 B
//#region src/utils/date.ts const getDate = (span, unit = "ms") => { return new Date(Date.now() + (unit === "sec" ? span * 1e3 : span)); }; //#endregion export { getDate }; //# sourceMappingURL=date.mjs.map