parsegraph-date
TypeScript icon, indicating that this package has built-in type declarations

1.6.9 • Public • Published

parsegraph-date

This module contains several utility methods for manipulating dates. It uses the builtin Date object as its primitive, so methods like nextDay, nextWeek, and previousDay will return new Date objects.

import { outputDate } from "parsegraph-date";

console.log(outputDate(new Date(), true, true, true));
// 'Today, Saturday, February 26, 2022 at 3:55 PM'

Readme

Keywords

none

Package Sidebar

Install

npm i parsegraph-date

Weekly Downloads

1

Version

1.6.9

License

MIT

Unpacked Size

22.3 kB

Total Files

10

Last publish

Collaborators

  • dafrito