Browse Source

Update readme usage to show register sub-module

pull/79/head
Luke Childs 6 years ago
committed by GitHub
parent
commit
074fecea98
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      README.md

2
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:

Loading…
Cancel
Save