File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 11# daemonize-process
2- [ ![ ] ( https://img.shields.io/npm/v/daemonize-process.svg?style=flat )] ( https://www.npmjs.org/package/daemonize-process ) [ ![ ] ( https://img.shields.io/npm/dm/daemonize-process.svg )] ( https://www.npmjs.org/package/daemonize-process ) [ ![ ] ( https://api.travis-ci.org/silverwind/daemonize-process.svg?style=flat )] ( https://travis-ci.org/silverwind/daemonize-process )
2+ [ ![ ] ( https://img.shields.io/npm/v/daemonize-process.svg?style=flat )] ( https://www.npmjs.org/package/daemonize-process ) [ ![ ] ( https://img.shields.io/npm/dm/daemonize-process.svg )] ( https://www.npmjs.org/package/daemonize-process )
33
44> Daemonize the current Node.js process
55
@@ -9,22 +9,18 @@ Differences to the popular `daemon` module include:
99
1010- Exposes all options of ` child_process.spawn ` .
1111- Cleans up ` process.env ` after itself.
12- - Works on Node.js >= 8 .
12+ - Works on Node.js >= 10 .
1313
1414## Install
1515
1616``` console
17- $ npm install daemonize-process
17+ $ npm i daemonize-process
1818```
1919
2020## Examples
2121
2222``` js
23- require (' daemonize-process' )();
24- ```
25-
26- ``` js
27- import daemonizeProcess from ' daemonize-process' ;
23+ const daemonizeProcess = require (' daemonize-process' );
2824daemonizeProcess ();
2925```
3026
You can’t perform that action at this time.
0 commit comments