process

WebJar for process

License

License

MIT
GroupId

GroupId

org.webjars.bowergithub.defunctzombie
ArtifactId

ArtifactId

node-process
Last Version

Last Version

0.5.2
Release Date

Release Date

Type

Type

jar
Description

Description

process
WebJar for process
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/defunctzombie/node-process

Download node-process

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bowergithub.defunctzombie/node-process/ -->
<dependency>
    <groupId>org.webjars.bowergithub.defunctzombie</groupId>
    <artifactId>node-process</artifactId>
    <version>0.5.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bowergithub.defunctzombie/node-process/
implementation 'org.webjars.bowergithub.defunctzombie:node-process:0.5.2'
// https://jarcasting.com/artifacts/org.webjars.bowergithub.defunctzombie/node-process/
implementation ("org.webjars.bowergithub.defunctzombie:node-process:0.5.2")
'org.webjars.bowergithub.defunctzombie:node-process:jar:0.5.2'
<dependency org="org.webjars.bowergithub.defunctzombie" name="node-process" rev="0.5.2">
  <artifact name="node-process" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bowergithub.defunctzombie', module='node-process', version='0.5.2')
)
libraryDependencies += "org.webjars.bowergithub.defunctzombie" % "node-process" % "0.5.2"
[org.webjars.bowergithub.defunctzombie/node-process "0.5.2"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

process

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

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

browser implementation

The goal of this module is not to be a full-fledged alternative to the builtin process module. This module mostly exists to provide the nextTick functionality and little more. We keep this module lean because it will often be included by default by tools like browserify when it detects a module has used the process global.

It also exposes a "browser" member (i.e. process.browser) which is true in this implementation but undefined in node. This can be used in isomorphic code that adjusts it's behavior depending on which environment it's running in.

If you are looking to provide other process methods, I suggest you monkey patch them onto the process global in your app. A list of user created patches is below.

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.

Versions

Version
0.5.2