UNPKG
ice.fo.utils
Version:
latest (0.0.8)
0.0.8
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
ice.fo.utils
/
random
/
randomId.js
9 lines
(7 loc)
•
237 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
/** * This return a random id string. The algorithm used may be changed so don't rely on it for sensitive data. */
const
randomObjectId =
require
(
'./randomObjectId'
)
module
.
exports
=
function
randomId
(
) {
return
randomObjectId
() }