New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

is-date

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-date

minimal utility to check if provided string is a date.

0.0.1
latest
npm
Version published
Maintainers
1
Created
Source

is-date

minimal utility to check if provided string is a date.

build status

Installation

npm install is-date --save

Usage

var isDate = require('is-date');

isDate('2-2-12'); // true
isDate('20-2-12'); // true
isDate('2/2/12'); // true
isDate(2); // false
isDate(2.2); // false
isDate('somestring') // false
isDate('stringwith123') //false

Credits

Umayr Shahid

FAQs

Package last updated on 28 Nov 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts