Security upgrades
This commit is contained in:
19
node_modules/is-in-browser/readme.md
generated
vendored
Normal file
19
node_modules/is-in-browser/readme.md
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
# 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) { //... }
|
||||
```
|
||||
Reference in New Issue
Block a user