1.0.0 • Published 8 years ago
get-new-date v1.0.0
get-new-date
Returns new Date(). No more! Just to do unit testing right.
const newDate = require('get-new-date');
const now = newDate();
now instanceof Date; // true
Installation
$ npm install get-new-date --save
1.0.0
8 years ago