spmjs

spm@3.x

Brand new static package manager for browser.

Getting Started 󰅴 Packages

process @0.5.2


process information for node.js and browsers

spm install process@0.5.2

Version: 0.5.2 ~ stable

Updated 9 years ago
Homepage https://github.com/shtylman/node-process
Repository git://github.com/shtylman/node-process.git
Main ./index.js
Tarfile process-0.5.2.tar.gz

process

require('process'); just like any other module.

Works in node.js and browsers via the browser.js shim provided with the module.

package manager notes

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.