2.1.0 • Published 2 years ago
@thekatiemcneil/magic-dates v2.1.0
Magic Dates
About The Project
This package is as an exploration of writing NPM packages. It is not necessarily meant to be useful or even used, but it can be if you'd like.
It leverages the date-fns
library and creates more opinionated versions of their existing functions.
Installation
npm install @thekatiemcneil/magic-dates
Example Usage
import { formatFormalDate } from "@thekatiemcneil/magic-dates"
const sampleDate = '2021-07-15';
const formalDate = formatFormalDate(sampleDate)
// formalDate returns July 15, 2021
License
Distributed under the MIT License. See LICENSE.txt
for more information.