UNPKG
@feugene/mu
Version:
latest (5.0.2)
5.0.2
5.0.1
5.0.0
5.0.0-rc1
5.0.0-alpha
4.7.2
4.7.1
4.7.0
4.6.1
4.6.0
4.5.1
4.5.0
4.3.0
4.2.2
4.2.1
4.2.0
4.1.8
4.1.7
4.1.6
4.1.5
4.1.4
4.1.3
4.1.2
4.1.1
4.1.0
4.0.7
4.0.6
4.0.5
4.0.4
4.0.3
4.0.2
4.0.1
4.0.0
3.2.3
3.2.2
3.2.1
3.2.0
3.1.1
3.1.0
3.0.0
2.24.0
2.23.0
2.22.1
2.22.0
2.21.2
2.21.1
2.21.0
2.20.4
2.20.3
2.20.2
2.20.1
2.20.0
2.19.1
2.19.0
2.18.0
2.17.3
2.17.0
2.16.1
2.16.0
2.15.0
2.14.3
2.14.0
2.13.0
2.12.0
2.11.0
2.10.0
2.9.4
2.9.0
2.8.1
2.7.1
2.7.0
2.6.0
2.5.5
2.5.4
2.3.0
2.2.5
2.2.4
2.2.3
2.2.2
2.2.1
2.2.0
2.1.3
2.1.2
2.0.0
Helpful TS utilities without dependencies
github.com/efureev/mu
efureev/mu
@feugene/mu
/
dist
/
cjs
/
date
/
now.js
11 lines
•
267 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
default
= now;
const
nowFn =
Date
.
now
|| (
() =>
new
Date
().
getTime
());
/** * This function return Date now */
function
now
(
) {
return
nowFn
(); }
//# sourceMappingURL=now.js.map