simpledatevalidator

1.0.3 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    1
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i simpledatevalidator

Weekly Downloads

1

Version

1.0.3

License

ISC

Unpacked Size

39.8 kB

Total Files

4

Last publish

Collaborators

  • arshadkazmi42