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
Returns new Date(). No more! Just to do unit testing right.
const newDate = require('get-new-date');
const now = newDate();
now instanceof Date; // true
$ npm install get-new-date --save
npm i get-new-date
1
1.0.0
MIT