Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/caspervonb/node-browser_process
Cross platform browser process creation
https://github.com/caspervonb/node-browser_process
Last synced: about 2 months ago
JSON representation
Cross platform browser process creation
- Host: GitHub
- URL: https://github.com/caspervonb/node-browser_process
- Owner: caspervonb
- License: other
- Created: 2015-05-21T16:55:32.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-12T08:05:38.000Z (about 9 years ago)
- Last Synced: 2024-05-01T13:00:21.125Z (9 months ago)
- Language: JavaScript
- Homepage: https://node-browser_process.js.org
- Size: 88.9 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
- License: license.md
Awesome Lists containing this project
README
# node-browser_process
![Image](https://cloud.githubusercontent.com/assets/157787/7900340/4ee6bb84-0783-11e5-9721-3139492ceba5.png)
Cross platform and uniform browser detection, command line arguments handling
and process launching of chrome, chromium, electron and firefox for node.js.## INSTALLATION
```sh
npm install [--save] browser_process
```## USAGE
```js
const browser = require('browser_process');const args = browser.options('chrome', {
url: 'about:blank',
});browser.spawn('chrome', args, (error, ps) => {
if (error) {
return console.error('Unable to launch chrome (%s)', error);
}console.log('Launched chrome (%s)', ps.spawnfile);
});
```## DOCUMENTATION
[See the documentation](doc/readme.md)
## SUPPORT
* If you need help, ask in the [chat](http://gitter.im/caspervonb/node-browser_process).
* If you found a bug, submit an [issue](https://github.com/caspervonb/node-browser_process/issues).
* If you have an idea, submit an [issue](https://github.com/caspervonb/node-browser_process/issues).
* If you’d like to ask a general question, [issue](https://github.com/caspervonb/node-browser_process/issues).
* If you want to contribute, submit a [pull request](https://github.com/caspervonb/node-browser_process/pulls).## RELEASES
[See the changelog](changelog.md).
## LICENSE
The project is licensed under the [MIT License](license.md).