Skip to content

tuxsudo/is-in-browser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Is In Browser?

import isBrowser from 'is-in-browser';

if(isBrowser) { //... }

CommonJS

For those not using Babel / ES6 Modules

var isBrowser = require('is-in-browser').default;

if(isBrowser) { //... }

About

Detect if the current env is the browser

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5