An open API service indexing awesome lists of open source software.

https://github.com/julkwel/is-valid-date

Javascript library for checking if input is a valid date.
https://github.com/julkwel/is-valid-date

date date-checker datetime datetime-format javascript javascript-library

Last synced: 6 months ago
JSON representation

Javascript library for checking if input is a valid date.

Awesome Lists containing this project

README

          

# @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 !**