is-now
v1.0.0
Published
My delightful module
Downloads
3
Readme
is-now
compare times with the current time
Install
$ npm install --save is-now
Usage
var isNow = require('is-now');
isNow(new Date());
// true
API
isNow(time)
input
Required
Type: Date
, moment
, number
The time to compare to the current time, if it's a number it must be a unix timestamp.
License
MIT © Thomas Sileghem