@zkochan/pnpm
Version:
Fast, disk space efficient package manager
125 lines (124 loc) • 8.33 kB
JSON
{
"_args": [
[
{
"raw": "diable@4.0.1",
"scope": null,
"escapedName": "diable",
"name": "diable",
"rawSpec": "4.0.1",
"spec": "4.0.1",
"type": "version"
},
"/home/zkochan/src/pnpm/packages/pnpm"
]
],
"_from": "diable@4.0.1",
"_id": "diable@4.0.1",
"_inCache": true,
"_location": "/diable",
"_nodeVersion": "8.6.0",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/diable-4.0.1.tgz_1516273187571_0.4209136441349983"
},
"_npmUser": {
"name": "ionicabizau",
"email": "bizauionica@gmail.com"
},
"_npmVersion": "5.3.0",
"_phantomChildren": {},
"_requested": {
"raw": "diable@4.0.1",
"scope": null,
"escapedName": "diable",
"name": "diable",
"rawSpec": "4.0.1",
"spec": "4.0.1",
"type": "version"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/diable/-/diable-4.0.1.tgz",
"_shasum": "4e8ef983777b3c6184369cc60161078136dd628a",
"_shrinkwrap": null,
"_spec": "diable@4.0.1",
"_where": "/home/zkochan/src/pnpm/packages/pnpm",
"author": {
"name": "Ionică Bizău",
"email": "bizauionica@gmail.com",
"url": "https://ionicabizau.net"
},
"bin": {
"diable": "./bin/diable"
},
"blah": {
"h_img": "http://i.imgur.com/i0aopxe.png"
},
"bugs": {
"url": "https://github.com/IonicaBizau/diable/issues"
},
"dependencies": {
"bug-killer": "^4.0.0",
"clp": "^3.0.0",
"spawno": "^2.0.1",
"typpy": "^2.1.0",
"ul": "^5.0.0"
},
"description": "Daemonize the things out.",
"devDependencies": {
"mocha": "^2.2.4"
},
"directories": {
"example": "example",
"test": "test"
},
"dist": {
"integrity": "sha512-hs5+ypobtDxR9LcPD4YLjsw3U5O6OwkGUTsGXX0RGKCUUGQYapyVzpaOccBfQepsv9UTfoYfPZaUf4NDR9aj+w==",
"shasum": "4e8ef983777b3c6184369cc60161078136dd628a",
"tarball": "https://registry.npmjs.org/diable/-/diable-4.0.1.tgz"
},
"files": [
"bin/",
"app/",
"lib/",
"dist/",
"src/",
"scripts/",
"resources/",
"menu/",
"cli.js",
"index.js",
"bloggify.js",
"bloggify.json",
"bloggify/"
],
"gitHead": "8b20ea3cf0a06b7c6e7794cb62d98f540517c845",
"homepage": "https://github.com/IonicaBizau/diable",
"keywords": [
"daemon",
"programs",
"process"
],
"license": "MIT",
"main": "lib/index.js",
"maintainers": [
{
"name": "ionicabizau",
"email": "bizauionica@gmail.com"
}
],
"name": "diable",
"optionalDependencies": {},
"readme": "<!-- Please do not edit this file. Edit the `blah` field in the `package.json` instead. If in doubt, open an issue. -->\n\n\n[](#)\n\n# `$ diable`\n\n [![Support me on Patreon][badge_patreon]][patreon] [![Buy me a book][badge_amazon]][amazon] [![PayPal][badge_paypal_donate]][paypal-donations] [](https://github.com/IonicaBizau/ama) [](https://travis-ci.org/IonicaBizau/diable/) [](https://www.npmjs.com/package/diable) [](https://www.npmjs.com/package/diable)\n\n> Daemonize the things out.\n\n## :cloud: Installation\n\nYou can install the package globally and use it as command line tool:\n\n\n```sh\n# Using npm\nnpm install --global diable\n\n# Using yarn\nyarn global add diable\n```\n\n\nThen, run `diable --help` and see what the CLI tool can do.\n\n\n```\n$ diable --help\nUsage: diable [options]\n\nOptions:\n -p, --path <path> The script path.\n -e, --exec <app> The executable app.\n -a, --args <args> The arguments to pass.\n -c, --cwd <path> The CWD where the daemonized process will run.\n -h, --help Displays this help.\n -v, --version Displays version information.\n\nExamples:\n diable -p path/to/script.js\n diable -p some-script.sh -e sh\n diable -p path/to/script.js -a '--some args'\n\nDocumentation can be found at https://github.com/IonicaBizau/diable\n```\n\n## :clipboard: Example\n\n\nHere is an example how to use this package as library. To install it locally, as library, you can do that using `npm` (or `yarn`):\n\n```sh\n# Using npm\nnpm install --save diable\n\n# Using yarn\nyarn add diable\n```\n\n\n\n```js\nconst Diable = require(\"diable\");\n\n// Check if we are already a daemon\nif (Diable.isDaemon()) {\n setTimeout(function () {\n console.log(\"I was alive for 10 seconds.\");\n }, 10000);\n} else {\n console.log(\"Daemonizing this process. I will be killed, but I have a child which will live 10 seconds. Do `ps aux | grep node` to see it.\");\n}\n\n// Daemonize this process (only the non-daemons)\nDiable();\n\nconsole.log(\"I am a daemon.\");\n```\n\n\n\n## :question: Get Help\n\nThere are few ways to get help:\n\n 1. Please [post questions on Stack Overflow](https://stackoverflow.com/questions/ask). You can open issues with questions, as long you add a link to your Stack Overflow question.\n 2. For bug reports and feature requests, open issues. :bug:\n\n 3. For direct and quick help, you can [use Codementor](https://www.codementor.io/johnnyb). :rocket:\n\n\n\n## :memo: Documentation\n\nFor full API reference, see the [DOCUMENTATION.md][docs] file.\n\n## :yum: How to contribute\nHave an idea? Found a bug? See [how to contribute][contributing].\n\n\n## :sparkling_heart: Support my projects\n\nI open-source almost everything I can, and I try to reply everyone needing help using these projects. Obviously,\nthis 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).\n\nHowever, 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:\n\n - Starring and sharing the projects you like :rocket:\n - [![Buy me a book][badge_amazon]][amazon]—I love books! I will remember you after years if you buy me one. :grin: :book:\n - [![PayPal][badge_paypal]][paypal-donations]—You can make one-time donations via PayPal. I'll probably buy a ~~coffee~~ tea. :tea:\n - [![Support me on Patreon][badge_patreon]][patreon]—Set up a recurring monthly donation and you will get interesting news about what I'm doing (things that I don't share with everyone).\n - **Bitcoin**—You can send me bitcoins at this address (or scanning the code below): `1P9BRsmazNQcuyTxEqveUsnf5CERdq35V6`\n\n \n\nThanks! :heart:\n\n\n## :dizzy: Where is this library used?\nIf you are using this library in one of your projects, add it in this list. :sparkles:\n\n\n - [`3abn`](https://github.com/IonicaBizau/3abn#readme)—A 3ABN radio client in the terminal.\n - [`gh-notifier`](https://bitbucket.org/IonicaBizau/gh-notifier#readme)—Receive desktop notifications from your GitHub dashboard.\n - [`web-term`](https://github.com/IonicaBizau/web-term)—A full screen terminal in your browser.\n - [`wrabbit`](https://github.com/jillix/wrabbit) (by jillix)—Wrap scripts by providing the wrapping function.\n\n## :scroll: License\n\n[MIT][license] © [Ionică Bizău][website]\n\n[badge_patreon]: http://ionicabizau.github.io/badges/patreon.svg\n[badge_amazon]: http://ionicabizau.github.io/badges/amazon.svg\n[badge_paypal]: http://ionicabizau.github.io/badges/paypal.svg\n[badge_paypal_donate]: http://ionicabizau.github.io/badges/paypal_donate.svg\n[patreon]: https://www.patreon.com/ionicabizau\n[amazon]: http://amzn.eu/hRo9sIZ\n[paypal-donations]: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RVXDDLKKLQRJW\n[donate-now]: http://i.imgur.com/6cMbHOC.png\n\n[license]: http://showalicense.com/?fullname=Ionic%C4%83%20Biz%C4%83u%20%3Cbizauionica%40gmail.com%3E%20(https%3A%2F%2Fionicabizau.net)&year=2015#license-mit\n[website]: https://ionicabizau.net\n[contributing]: /CONTRIBUTING.md\n[docs]: /DOCUMENTATION.md\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/IonicaBizau/diable.git"
},
"scripts": {
"test": "mocha test"
},
"version": "4.0.1"
}