Skip to content

Javascript library for checking if input is a valid date.

License

Notifications You must be signed in to change notification settings

julkwel/is-valid-date

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@julkwel/is-valid-date

Installation

npm install @julkwel/is-valid-date

Usage :

const isValidDate = require("@julkwel/is-valid-date");

isValidDate("2022-05-15"); // output true
isValidDate("22"); // output false

Testing :

npm test or yarn test

Feel free to all contribution or PR !