diable4.0.2 • Public • Published
Daemonize the things out.
You can install the package globally and use it as command line tool:
# Using npmnpm install --global diable# Using yarnyarn global add diable
diable --help and see what the CLI tool can do.
$ diable --help Usage: diable [options] Options: -p, --path <path> The script path. -e, --exec <app> The executable app. -a, --args <args> The arguments to pass. -c, --cwd <path> The CWD where the daemonized process will run. -h, --help Displays this help. -v, --version Displays version information. Examples: diable -p path/to/script.js diable -p some-script.sh -e sh diable -p path/to/script.js -a '--some args' Documentation can be found at https://github.com/IonicaBizau/diable
Here is an example how to use this package as library. To install it locally, as library, you can do that using
# Using npmnpm install --save diable# Using yarnyarn add diable
const Diable = ;// Check if we are already a daemonif Diable;elseconsole;// Daemonize this process (only the non-daemons);console;
❓ Get Help
There are few ways to get help:
Please post questions on Stack Overflow. You can open issues with questions, as long you add a link to your Stack Overflow question.
For bug reports and feature requests, open issues. 🐛
For direct and quick help, you can use Codementor. 🚀
For full API reference, see the DOCUMENTATION.md file.
😋 How to contribute
Have an idea? Found a bug? See how to contribute.
💖 Support my projects
I open-source almost everything I can, and I try to reply to everyone needing help using these projects. Obviously, this takes time. You can integrate and use these projects in your applications for free! You can even change the source code and redistribute (even resell it).
However, if you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it:
Starring and sharing the projects you like 🚀
Bitcoin—You can send me bitcoins at this address (or scanning the code below):
💫 Where is this library used?
If you are using this library in one of your projects, add it in this list. ✨
3abn—A 3ABN radio client in the terminal.
gh-notifier—Receive desktop notifications from your GitHub dashboard.
pnpm-vjpr(by Zoltan Kochan)—Fast, disk space efficient package manager
web-term—A full screen terminal in your browser.
wrabbit(by jillix)—Wrap scripts by providing the wrapping function.