UNPKG

ts-postgres

Version:
10 lines 289 B
import { createHash } from 'node:crypto'; export function sum(...nums) { return nums.reduce((a, b) => a + b, 0); } export function md5(...data) { return data .reduce((hash, d) => hash.update(d), createHash('md5')) .digest('hex'); } //# sourceMappingURL=utils.js.map