UNPKG

esm-env

Version:

Uses export conditions to return environment information in a way that works with major bundlers and runtimes.

2 lines (1 loc) 46 B
export default typeof window !== 'undefined';