|
|
%!s(int64=2) %!d(string=hai) anos | |
|---|---|---|
| .. | ||
| LICENSE | %!s(int64=2) %!d(string=hai) anos | |
| README.md | %!s(int64=2) %!d(string=hai) anos | |
| browser.js | %!s(int64=2) %!d(string=hai) anos | |
| index.js | %!s(int64=2) %!d(string=hai) anos | |
| package.json | %!s(int64=2) %!d(string=hai) anos | |
require('process'); just like any other module.
Works in node.js and browsers via the browser.js shim provided with the module.
If you are writing a bundler to package modules for client side use, make sure you use the browser field hint in package.json.
See https://gist.github.com/4339901 for details.
The browserify module will properly handle this field when bundling your files.