Package Exports
- vali-date
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vali-date) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
vali-date 
Validate a date.
Install
$ npm install --save vali-dateUsage
const validate = require('vali-date');
validate('foo');
//=> false
validate('2015-12-15T12:00:00Z');
//=> true
validate('2015-12-15T12:00:00+01:00');
//=> trueAPI
validate(date)
Returns a boolean indicating if the date provided is valid or not.
date
Type: string
The date that should be validated.
License
MIT © Sam Verschueren