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.
- Host: GitHub
- URL: https://github.com/julkwel/is-valid-date
- Owner: julkwel
- License: mit
- Created: 2022-05-11T16:08:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-12T05:57:19.000Z (over 3 years ago)
- Last Synced: 2025-06-25T20:05:39.532Z (7 months ago)
- Topics: date, date-checker, datetime, datetime-format, javascript, javascript-library
- Language: JavaScript
- Homepage:
- Size: 58.6 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 !**