Usage
Some cases on the moment.js official website:
Import
import { moment } from "https://deno.land/x/deno_ts_moment/mod.ts";
Cases
// "2014-09-08T08:02:17-05:00" (ISO 8601)
moment().format();
// "Sunday, February 14th 2010, 3:25:50 pm"
moment().format("dddd, MMMM Do YYYY, h:mm:ss a");
// "Sun, 3PM"
moment().format("ddd, hA");
// "Invalid date"
moment("gibberish").format("YYYY MM DD");