UNPKG
otion
Version:
latest (0.6.2)
0.6.2
0.6.1
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.0
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.5
0.2.4
0.2.3
0.2.2
0.2.0
0.1.2
0.1.1
0.1.0
Atomic CSS-in-JS with a featherweight runtime
github.com/kripod/otion
kripod/otion
otion
/
src
/
env.ts
3 lines
(2 loc)
•
116 B
text/typescript
View Raw
1
2
3
export
const
isBrowser =
typeof
window
!==
"undefined"
;
export
const
isDev = process.
env
.
NODE_ENV
!==
"production"
;