
Company News
Socket Has Acquired Secure Annex
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.
is-iso-date
Advanced tools
is-iso-date is a simple utility to check if a string is an ISO-compliant date.
$ npm install is-iso-date
var isISODate = require( 'is-iso-date' );
console.log( isISODate( '2015-02-21T00:52:43.822Z' ) ); // true
console.log( isISODate( '2015-02-21T00:52:43.822' ) ); // false
console.log( isISODate( '2015-02-21T00:52:43Z' ) ); // true
console.log( isISODate( '2015-02-21T00:52:43' ) ); // false
console.log( isISODate( '2015-02-21T00:52Z' ) ); // true
console.log( isISODate( '2015-02-21T00:52' ) ); // false
console.log( isISODate( '2015-02-21T00Z' ) ); // false
This is basically just the regexp from this StackOverflow discussion wrapped in a tiny library with some tests: http://stackoverflow.com/questions/3143070/javascript-regex-iso-datetime
FAQs
A simple utility to check if a string is an ISO-compliant date.
The npm package is-iso-date receives a total of 4,811 weekly downloads. As such, is-iso-date popularity was classified as popular.
We found that is-iso-date demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Company News
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.

Research
/Security News
Socket is tracking cloned Open VSX extensions tied to GlassWorm, with several updated from benign-looking sleepers into malware delivery vehicles.

Product
Reachability analysis for PHP is now available in experimental, helping teams identify which vulnerabilities are actually exploitable.