UNPKG
telegram-updated
Version:
browser (2.26.47)
latest (2.26.48)
2.26.48
2.26.47
2.26.46
2.26.45
2.26.43
2.26.39
2.26.38
2.26.37
2.26.36
2.26.34
2.26.32
2.26.31
2.26.29
2.26.27
2.26.25
2.26.23
NodeJS/Browser MTProto API Telegram client library,
github.com/red1ng/gramjs
red1ng/gramjs
telegram-updated
/
platform.js
7 lines
(6 loc)
•
285 B
JavaScript
View Raw
1
2
3
4
5
6
7
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
isNode
=
exports
.
isBrowser
=
exports
.
isDeno
=
void
0
;
exports
.
isDeno
=
"Deno"
in
globalThis;
exports
.
isBrowser
= !
exports
.
isDeno
&&
typeof
window
!==
"undefined"
;
exports
.
isNode
= !
exports
.
isBrowser
;