1.0.3 • Published 2 years ago

simpledatevalidator v1.0.3

Weekly downloads
1
License
ISC
Repository
-
Last release
2 years ago

Simple Date Validator Library

Build NPM Version NPM Downloads Github Repo Size LICENSE Contributors Commit

How to install?

NPM

How to use?

Pass date and date format to isValidDate function. Function will validate and return true or false.

// Create Instance of the DateValidator
const DateValidator = require('simpledatevalidator');

// This will return True
DateValidator.isValidDate("2017-09-27","YYYY-MM-DD");

// This will return False
DateValidator.isValidDate("27-09-27","YYYY-MM-DD");

Contributing Guidelines

Read the contributing guidelines here

1.0.3

2 years ago

1.0.2

5 years ago

1.0.1

6 years ago

1.0.0

6 years ago