Browse Source
Update readme usage to show register sub-module
pull/79/head
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
README.md
|
|
@ -32,6 +32,8 @@ npm install --save-dev browser-env |
|
|
|
```js |
|
|
|
// Init |
|
|
|
require('browser-env')(); |
|
|
|
// or |
|
|
|
require('browser-env/register'); |
|
|
|
|
|
|
|
// Now you have access to a browser like environment in Node.js: |
|
|
|
|
|
|
|