UNPKG
tinkerhub
Version:
latest (2.7.0)
2.7.0
2.6.0
2.5.0
2.4.2
2.4.1
2.4.0
2.3.0
2.2.0
2.1.0
2.0.3
2.0.2
2.0.1
2.0.0
1.0.0
0.2.0
0.1.1
0.1.0
0.0.3
0.0.2
0.0.1
Connect your things together and tinker with them
github.com/tinkerhub/tinkerhub
tinkerhub/tinkerhub
tinkerhub
/
lib
/
utils
/
id.js
7 lines
(5 loc)
•
140 B
JavaScript
View Raw
1
2
3
4
5
6
7
'use strict'
;
module
.
exports
=
function
(
) {
return
Date
.
now
().
toString
(
36
) +
Math
.
floor
((
1
+
Math
.
random
()) *
0x10000
).
toString
(
36
); };