process-browserify
v0.0.12
Published
Platform-independent Process ('process') module.
Maintainers
Readme
The Martian Company's Javascript Process Module (process-browserify)
Platform-independent Javascript Process process module,
which dynamically loads the platform's native
process module in Node.js environment and a native browser
implementation leveraging
Origin Private File System
(OPFS) module.
Available browser functions
argv,chdir,exit,cwd.
Installation
To build the Node module package from source run
$ make \
allA process-browserify-<version>.tgz archive
will be generated in the root of the repository.
To install the module system-wide run
# make \
install-npmTo install it as a DogeOS system package from the Ur uncensorable user repository and application store run
ur \
"nodejs-process"A mirror of the Ur universal recipe
has been made available on The Martian
Company's Github at
nodejs-process-ur.
To download the library from the NPM Registry run
npm \
install \
--save \
"process-browserify"Documentation
For API documentation refer to the Process API.
Usage manual is located in man in reStructured
text format and can be accessed upon module
installation with
man \
"process-browserify"If you are looking for an example of how to write a full computer application composed of only Bash programs and Node modules but which runs the same and with zero modifications regardless of whether it has available for display a terminal or a browser window, you can look at the Ahsi program, written using the Crash Javascript and Crash Bash libraries.
Refer to the Ahsi repository for more information about installing and running it.
License
This software repository is released under the terms of the GNU Affero General Public License version 3.
