import { getDayOfYear } from "https://deno.land/x/date_fns@v2.0.0-beta.2/index.js";
Examples
// Which day of the year is 2 July 2014?
var result = getDayOfYear(new Date(2014, 6, 2))
//=> 183
// Which day of the year is 2 July 2014? var result = getDayOfYear(new Date(2014, 6, 2)) //=> 183