import { addSeconds } from "https://deno.land/x/date_fns@v2.12.0/index.js";
Examples
// Add 30 seconds to 10 July 2014 12:45:00:
var result = addSeconds(new Date(2014, 6, 10, 12, 45, 0), 30)
//=> Thu Jul 10 2014 12:45:30
// Add 30 seconds to 10 July 2014 12:45:00: var result = addSeconds(new Date(2014, 6, 10, 12, 45, 0), 30) //=> Thu Jul 10 2014 12:45:30