is-date-format
Validate date string with user defined format. Origin source come from Best way to validate date string format via jQuery - Stack Overflow
Install
$ npm install --save is-date-format
Usage
const isDateFormat = ; ;
API
isDateFormat(date, [format])
date
Type: string
String of date
format
Type: string
Date format. ex) yyyy-mm-dd
License
MIT © ragingwind