{"_id":"nappd","_rev":"56-479824a1d82ab6c3f22241cd40c098c1","name":"nappd","description":"Allows daemon-like starting and stopping of local nodejs apps","dist-tags":{"latest":"1.0.6"},"versions":{"0.0.1":{"name":"nappd","version":"0.0.1","description":"Allows daemon-like starting and stopping of local nodejs apps","main":"bin/napp","scripts":{"start":"node bin/napp","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/remolueoend/napp.git"},"keywords":["nodejs","daemon"],"author":{"name":"Remo Lueoend","email":"remo.zumsteg@outlook.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/remolueoend/napp/issues"},"dependencies":{"daemonize2":"~0.4.2"},"_id":"nappd@0.0.1","dist":{"shasum":"665da0103ef3aedf8e944ad837eefeb270ff8a27","tarball":"https://registry.npmjs.org/nappd/-/nappd-0.0.1.tgz","integrity":"sha512-J5Frzdh/Jzn0spGNZwtrAQFWRBl56SXAVAvjBnQslXKy/o2T6D84lCWydjnqGwZvXszC+e9e2vBb96zqp4Wzdg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDniOmYcnzO0kwh0j7fIEG403QktoXKiNeAHNVzkvNkPgIhAIYmF0OLEr0iAxzkvlmC/fmoKQDHDNPnvj/BPuHYBN/T"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"remolueoend","email":"remo.zumsteg@outlook.com"},"maintainers":[{"name":"remolueoend","email":"remo.zumsteg@outlook.com"}]},"0.0.2":{"name":"nappd","version":"0.0.2","description":"Allows daemon-like starting and stopping of local nodejs apps","main":"./bin/napp","bin":{"nappd":"./bin/nappd"},"scripts":{"start":"node ./bin/napp","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/remolueoend/napp.git"},"keywords":["nodejs","daemon"],"author":{"name":"Remo Lueoend","email":"remo.zumsteg@outlook.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/remolueoend/napp/issues"},"dependencies":{"daemonize2":"~0.4.2"},"_id":"nappd@0.0.2","dist":{"shasum":"d9f5a71a48bf04de0b1086374c8cc5e86256b3e6","tarball":"https://registry.npmjs.org/nappd/-/nappd-0.0.2.tgz","integrity":"sha512-TNyzYcCq6vFuLpBQoBmsZHTYGmsJirgr8/DepS4uTRMxrjBmvNHdTF8mJlh3YJcoUSNT3GY/P82P8rdEtE1PQg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCB/DPHPEG5pGIs4Q7vqiHicrPq55AIPeQSxW1RH2+cCAIhANi6N9gcdtNv04ZtlhTioOUgojMuGlNGl5Nk2BrLNBHm"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"remolueoend","email":"remo.zumsteg@outlook.com"},"maintainers":[{"name":"remolueoend","email":"remo.zumsteg@outlook.com"}]},"0.0.3":{"name":"nappd","version":"0.0.3","description":"Allows daemon-like starting and stopping of local nodejs apps","main":"./bin/napp","bin":{"nappd":"./bin/nappd"},"scripts":{"start":"node ./bin/napp","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/remolueoend/napp.git"},"keywords":["nodejs","daemon"],"author":{"name":"Remo Lueoend","email":"remo.zumsteg@outlook.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/remolueoend/napp/issues"},"dependencies":{"daemonize2":"~0.4.2"},"_id":"nappd@0.0.3","dist":{"shasum":"4688f9ec9da1d651b660d35689fbb80768581163","tarball":"https://registry.npmjs.org/nappd/-/nappd-0.0.3.tgz","integrity":"sha512-cuj1qO+XmNXbb/pFo30z0T7Z95ndi0J+6rbuWh6TCMWaUW3OiYDHYD0KKZw3G7+xKswK3/YVCgze8KmXqRpASA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICIIgeEeOaQBq7IdBxfnqy/VY1GLjhJ/s4YUzJ/8S2mSAiAlSCnfjRqPHl0IeyPQTlx/XsN+p0Xdw3EDwfB8rE5iiQ=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"remolueoend","email":"remo.zumsteg@outlook.com"},"maintainers":[{"name":"remolueoend","email":"remo.zumsteg@outlook.com"}]},"0.0.4":{"name":"nappd","version":"0.0.4","description":"Allows daemon-like starting and stopping of local nodejs apps","main":"./bin/napp","bin":{"nappd":"./bin/nappd"},"scripts":{"start":"node ./bin/napp","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":"*"},"repository":{"type":"git","url":"https://github.com/remolueoend/napp.git"},"keywords":["nodejs","daemon"],"author":{"name":"Remo Lueoend","email":"remo.zumsteg@outlook.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/remolueoend/napp/issues"},"dependencies":{"daemonize2":"~0.4.2"},"_id":"nappd@0.0.4","dist":{"shasum":"a3c12f53c201f4093d0edecb9865a57ee062dbbf","tarball":"https://registry.npmjs.org/nappd/-/nappd-0.0.4.tgz","integrity":"sha512-TZ4hhIJDKupSG3UFCyjZ25vGo6OoucoNV1BLFNpKtuTa5Nu9uvcmmPYd2EDS2ESa2XXetFp1Pl7MSPAZUXk2AQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGur3HXHtWce8MM8QpCwmfUC4hfuhuEqWpRquBNmr7gPAiARWvxplHP7KWU3plxOb3DFmMY6vH4BWKVGGMx2zmn+Dw=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"remolueoend","email":"remo.zumsteg@outlook.com"},"maintainers":[{"name":"remolueoend","email":"remo.zumsteg@outlook.com"}]},"0.0.5":{"name":"nappd","version":"0.0.5","description":"Allows daemon-like starting and stopping of local nodejs apps","main":"./bin/nappd","bin":{"nappd":"./bin/nappd"},"scripts":{"start":"node ./bin/nappd","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":"*"},"repository":{"type":"git","url":"https://github.com/remolueoend/napp.git"},"keywords":["nodejs","daemon"],"author":{"name":"Remo Lueoend","email":"remo.zumsteg@outlook.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/remolueoend/napp/issues"},"dependencies":{"daemonize2":"~0.4.2"},"_id":"nappd@0.0.5","dist":{"shasum":"5937507eaf600516dc094189a94d9ad326cd32e8","tarball":"https://registry.npmjs.org/nappd/-/nappd-0.0.5.tgz","integrity":"sha512-bmjmwPxVrSzkf/rBtV4n9zlbnHTp4k6cCPfuERqxHsvkhRiRYtrsTRnYF3F1cRRIcXCJZi2/kWgmKVEo7MkMgw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTSK2pC24ADGNxalPAyFhSrIK6gk5nxf6pkIYZXDxt+gIhAI4oZhZcMcVhvRov6r8eZqGQkEUcKDze4b8XhqScX7LW"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"remolueoend","email":"remo.zumsteg@outlook.com"},"maintainers":[{"name":"remolueoend","email":"remo.zumsteg@outlook.com"}]},"0.0.6":{"name":"nappd","version":"0.0.6","description":"Allows daemon-like starting and stopping of local nodejs apps","main":"bin/nappd","bin":{"nappd":"bin/nappd"},"scripts":{"start":"node bin/nappd","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":"*"},"repository":{"type":"git","url":"https://github.com/remolueoend/napp.git"},"keywords":["nodejs","daemon"],"author":{"name":"Remo Lueoend","email":"remo.zumsteg@outlook.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/remolueoend/napp/issues"},"dependencies":{"daemonize2":"~0.4.2"},"gitHead":"a73389137ff4f359ffe0b49f1742a7dcfea483f7","homepage":"https://github.com/remolueoend/napp","_id":"nappd@0.0.6","_shasum":"954076c55b5f00d6678d752f9be3a3432a6e32e5","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"remolueoend","email":"remo.zumsteg@outlook.com"},"maintainers":[{"name":"remolueoend","email":"remo.zumsteg@outlook.com"}],"dist":{"shasum":"954076c55b5f00d6678d752f9be3a3432a6e32e5","tarball":"https://registry.npmjs.org/nappd/-/nappd-0.0.6.tgz","integrity":"sha512-XkIQAjK/JFSozhIy/q0YeU12lV0AGiBsrVRVvEK7vqvTjXENPrdeU0HN2aiN4MZCI4qwvO5FwA8BlYubAiXXAw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHY2l6ywdIeAQ3U39NKZuT2LejewS35n0UTZ3z7VIn6DAiEAjKGFPChxQ4DXP+avWIpSUUu7CMl3nVqjtx5rLDzLGZs="}]}},"0.0.7":{"name":"nappd","version":"0.0.7","description":"Allows daemon-like starting and stopping of local nodejs apps","main":"bin/nappd","scripts":{"start":"node bin/nappd","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":"*"},"repository":{"type":"git","url":"https://github.com/remolueoend/napp.git"},"keywords":["nodejs","daemon"],"author":{"name":"Remo Lueoend","email":"remo.zumsteg@outlook.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/remolueoend/napp/issues"},"dependencies":{"commander":"^2.6.0","daemonize2":"~0.4.2"},"gitHead":"8e622fc5581e0888cc9e698bce953da205260773","homepage":"https://github.com/remolueoend/napp","_id":"nappd@0.0.7","_shasum":"c267cd3cc006e161b75132bf189a0e6c55243d14","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"remolueoend","email":"remo.zumsteg@outlook.com"},"maintainers":[{"name":"remolueoend","email":"remo.zumsteg@outlook.com"}],"dist":{"shasum":"c267cd3cc006e161b75132bf189a0e6c55243d14","tarball":"https://registry.npmjs.org/nappd/-/nappd-0.0.7.tgz","integrity":"sha512-RCaqIWjQe6WvVOZ1ud1bc8SElr8v3WjLhlDMRsHj1ArPvd5/lsFtGA56nJQuWx5vhuwepu4zc35K/KyqNDAqDA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDwzgHlNASQPME6eevLj0siHwBwlmUtPdNOVqQkQPPLvAiEArnJMWQs9KT9rbvEpBgcxSBP7CcwmYQ0VkeH/Jeu2cBI="}]}},"0.0.8":{"name":"nappd","version":"0.0.8","description":"Allows daemon-like starting and stopping of local nodejs apps","main":"bin/nappd","scripts":{"start":"node bin/nappd","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":"*"},"repository":{"type":"git","url":"https://github.com/remolueoend/napp.git"},"keywords":["nodejs","daemon"],"author":{"name":"Remo Lueoend","email":"remo.zumsteg@outlook.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/remolueoend/napp/issues"},"dependencies":{"daemonize2":"~0.4.2","deferred":"^0.7.2"},"gitHead":"88b07f36c907ff618ed88af746ce5f2f8f5bc052","homepage":"https://github.com/remolueoend/napp","_id":"nappd@0.0.8","_shasum":"57c8c606182142ea8048bc76027d5483fbd9ca9a","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"remolueoend","email":"remo.zumsteg@outlook.com"},"maintainers":[{"name":"remolueoend","email":"remo.zumsteg@outlook.com"}],"dist":{"shasum":"57c8c606182142ea8048bc76027d5483fbd9ca9a","tarball":"https://registry.npmjs.org/nappd/-/nappd-0.0.8.tgz","integrity":"sha512-uRugDCSAlVZGSguVtahXLezVyV0CmIvf4yvS6C8l6UyU/PdmA5uzu0GiOJuNVp6yNivSI5oMqawuE7O/NeHxaA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICa3fnhLaAHbUYRBHrkajcRw3606BBFSvrGD4E+9k5AJAiEAo16gb+a1BTBEmnLgJFxIHIIv8cLHr3qLhXR3C/i5/sU="}]}},"0.0.9":{"name":"nappd","version":"0.0.9","description":"Allows daemon-like starting and stopping of local nodejs apps","main":"bin/nappd","scripts":{"start":"node bin/nappd","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":"*"},"repository":{"type":"git","url":"https://github.com/remolueoend/napp.git"},"keywords":["nodejs","daemon"],"author":{"name":"Remo Lueoend","email":"remo.zumsteg@outlook.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/remolueoend/napp/issues"},"dependencies":{"daemonize2":"~0.4.2","deferred":"^0.7.2"},"gitHead":"88b07f36c907ff618ed88af746ce5f2f8f5bc052","homepage":"https://github.com/remolueoend/napp","_id":"nappd@0.0.9","_shasum":"4fb0a26affa9c4d31ddae0d72fd3d7498b6867ae","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"remolueoend","email":"remo.zumsteg@outlook.com"},"maintainers":[{"name":"remolueoend","email":"remo.zumsteg@outlook.com"}],"dist":{"shasum":"4fb0a26affa9c4d31ddae0d72fd3d7498b6867ae","tarball":"https://registry.npmjs.org/nappd/-/nappd-0.0.9.tgz","integrity":"sha512-vlynhtgPABa1tHV+5MAYtsSM2V7jkZPOBNWmeFhzTC9o1fDZRabSa2ZZRZeioIkeAKDW8Svy0IhmY7K7dRsiFA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGnVlWLkMBHNh7TUncC4ptedpn3HNmfn3Or5orNorAqJAiBXlTlX+Eg6uJSqIgfldywhsLzc85H2gYSFHH/9LltSCw=="}]}},"0.0.11":{"name":"nappd","version":"0.0.11","description":"Allows daemon-like starting and stopping of local nodejs apps","main":"bin/nappd","scripts":{"start":"node bin/nappd","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":"*"},"repository":{"type":"git","url":"https://github.com/remolueoend/napp.git"},"keywords":["nodejs","daemon"],"author":{"name":"Remo Lueoend","email":"remo.zumsteg@outlook.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/remolueoend/napp/issues"},"dependencies":{"daemonize2":"~0.4.2","deferred":"^0.7.2"},"gitHead":"88b07f36c907ff618ed88af746ce5f2f8f5bc052","homepage":"https://github.com/remolueoend/napp","_id":"nappd@0.0.11","_shasum":"bbe633cd448484c362d722f97823fb339f032a4e","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"remolueoend","email":"remo.zumsteg@outlook.com"},"maintainers":[{"name":"remolueoend","email":"remo.zumsteg@outlook.com"}],"dist":{"shasum":"bbe633cd448484c362d722f97823fb339f032a4e","tarball":"https://registry.npmjs.org/nappd/-/nappd-0.0.11.tgz","integrity":"sha512-QnsP/bs8bYrFcoUa0iBpWszoZv0PxYX1jiz7DByIfDcmD4cocue71l31NrgrbTzBwtlAJMXjrrsqv1NHHrDbiA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHoK0qMKtQ1qOZ+BlFqeYXjhF97Pi7oOltItPW1EkV1OAiEA/w3F/KHy/XPGY4enQRk/45nDPE/BEYjffFlFjTtU4FY="}]}},"0.0.12":{"name":"nappd","version":"0.0.12","description":"Allows daemon-like starting and stopping of local nodejs apps","main":"bin/nappd","scripts":{"start":"node bin/nappd","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":"*"},"repository":{"type":"git","url":"https://github.com/remolueoend/napp.git"},"keywords":["nodejs","daemon"],"author":{"name":"Remo Lueoend","email":"remo.zumsteg@outlook.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/remolueoend/napp/issues"},"dependencies":{"daemonize2":"~0.4.2","deferred":"^0.7.2"},"gitHead":"88b07f36c907ff618ed88af746ce5f2f8f5bc052","homepage":"https://github.com/remolueoend/napp","_id":"nappd@0.0.12","_shasum":"7f5ebaef54a8c72fd2181fc49dc7f06a6c4242b5","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"remolueoend","email":"remo.zumsteg@outlook.com"},"maintainers":[{"name":"remolueoend","email":"remo.zumsteg@outlook.com"}],"dist":{"shasum":"7f5ebaef54a8c72fd2181fc49dc7f06a6c4242b5","tarball":"https://registry.npmjs.org/nappd/-/nappd-0.0.12.tgz","integrity":"sha512-HbZUadWhqP85MRSPWXMqxTo4Hfmg3XTuBE71A8xde3fVvRywpB2dfbAfqbF1D77RVhJgqXfukf2818I44tNuLQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDE7Kl//S5y9vacCooMRG48v7R+WUl67w+jluz/mOhztwIgaSujS9tXOfeew/8ZAX7dpq2i/+SALZAEzCpv4XIMI4w="}]}},"0.0.13":{"name":"nappd","version":"0.0.13","description":"Allows daemon-like starting and stopping of local nodejs apps","main":"bin/nappd","scripts":{"start":"node bin/nappd","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":"*"},"repository":{"type":"git","url":"https://github.com/remolueoend/napp.git"},"keywords":["nodejs","daemon"],"author":{"name":"Remo Lueoend","email":"remo.zumsteg@outlook.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/remolueoend/napp/issues"},"dependencies":{"daemonize2":"~0.4.2","deferred":"^0.7.2"},"gitHead":"88b07f36c907ff618ed88af746ce5f2f8f5bc052","homepage":"https://github.com/remolueoend/napp","_id":"nappd@0.0.13","_shasum":"4449b0ec7e4f0d40f1cdf397846e6408d3420bbe","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"remolueoend","email":"remo.zumsteg@outlook.com"},"maintainers":[{"name":"remolueoend","email":"remo.zumsteg@outlook.com"}],"dist":{"shasum":"4449b0ec7e4f0d40f1cdf397846e6408d3420bbe","tarball":"https://registry.npmjs.org/nappd/-/nappd-0.0.13.tgz","integrity":"sha512-n0Ku6wiVYdD752jbyfa5+8qK4MVxbGZkevpz6wm2epHIT5aTnNxtrgWCfi77j5RfO/wOoLIpfyUOQ2SUpHKidg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2b3ZO0SaT1AYfIymXpZNsNeOinbaxEPhtafsVpa6tLAIhAKg9mKB5yPUEmkF8mqkgxpipKV9apC/EK9n67zUHqYoj"}]}},"0.0.14":{"name":"nappd","version":"0.0.14","description":"Allows daemon-like starting and stopping of local nodejs apps","main":"bin/nappd","scripts":{"start":"node bin/nappd","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":"*"},"repository":{"type":"git","url":"https://github.com/remolueoend/napp.git"},"keywords":["nodejs","daemon"],"author":{"name":"Remo Lueoend","email":"remo.zumsteg@outlook.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/remolueoend/napp/issues"},"dependencies":{"daemonize2":"~0.4.2","deferred":"^0.7.2"},"gitHead":"88b07f36c907ff618ed88af746ce5f2f8f5bc052","homepage":"https://github.com/remolueoend/napp","_id":"nappd@0.0.14","_shasum":"fb370e30dbb01d225464d73e27fbb4f4b2aa078a","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"remolueoend","email":"remo.zumsteg@outlook.com"},"maintainers":[{"name":"remolueoend","email":"remo.zumsteg@outlook.com"}],"dist":{"shasum":"fb370e30dbb01d225464d73e27fbb4f4b2aa078a","tarball":"https://registry.npmjs.org/nappd/-/nappd-0.0.14.tgz","integrity":"sha512-0411AX75tYf8tPoyvX2qMW1saxW4RqpR55VcGkVrdQiX97T5SLgk2rSdMBaZ1qD9tEA5dgkN76kQd6omvUdrMQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDQmPTU+LWG2w+RzhArhhhQBxJnRz9FJwuO8+Pu6vvEwAiEA3dwSX6c8AcFTe/BRneoXUFM0aCngtraww0kxX+6fo3I="}]}},"0.0.15":{"name":"nappd","version":"0.0.15","description":"Allows daemon-like starting and stopping of local nodejs apps","main":"bin/nappd","scripts":{"start":"node bin/nappd","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":"*"},"repository":{"type":"git","url":"https://github.com/remolueoend/napp.git"},"keywords":["nodejs","daemon"],"author":{"name":"Remo Lueoend","email":"remo.zumsteg@outlook.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/remolueoend/napp/issues"},"dependencies":{"daemonize2":"~0.4.2","deferred":"^0.7.2"},"gitHead":"88b07f36c907ff618ed88af746ce5f2f8f5bc052","homepage":"https://github.com/remolueoend/napp","_id":"nappd@0.0.15","_shasum":"1bf358eb85834df072c23061e6ef30670c9bbbf6","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"remolueoend","email":"remo.zumsteg@outlook.com"},"maintainers":[{"name":"remolueoend","email":"remo.zumsteg@outlook.com"}],"dist":{"shasum":"1bf358eb85834df072c23061e6ef30670c9bbbf6","tarball":"https://registry.npmjs.org/nappd/-/nappd-0.0.15.tgz","integrity":"sha512-VPInpO3r81bYeIlJqLbXekEZI4aKXww/4WnByzNu3YlxmeCnGwB3jqmquPLUMixonx5l7SjT9yF2ls1tGv8VNw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWBc6gdrVMTRrECRDcrkeOmV7iddebI066aMo4foe64gIgN9GP+Csj2KoUZiTkxZg2rLc0hWrekYIZliSwVXxDG6E="}]}},"0.0.16":{"name":"nappd","version":"0.0.16","description":"Allows daemon-like starting and stopping of local nodejs apps","main":"bin/nappd","scripts":{"start":"node bin/nappd","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":"*"},"repository":{"type":"git","url":"https://github.com/remolueoend/napp.git"},"keywords":["nodejs","daemon"],"author":{"name":"Remo Lueoend","email":"remo.zumsteg@outlook.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/remolueoend/napp/issues"},"dependencies":{"daemonize2":"~0.4.2","deferred":"^0.7.2"},"gitHead":"88b07f36c907ff618ed88af746ce5f2f8f5bc052","homepage":"https://github.com/remolueoend/napp","_id":"nappd@0.0.16","_shasum":"c7bf1a4fb52fcbd7fd08cdee555dd6ffbb33fb3e","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"remolueoend","email":"remo.zumsteg@outlook.com"},"maintainers":[{"name":"remolueoend","email":"remo.zumsteg@outlook.com"}],"dist":{"shasum":"c7bf1a4fb52fcbd7fd08cdee555dd6ffbb33fb3e","tarball":"https://registry.npmjs.org/nappd/-/nappd-0.0.16.tgz","integrity":"sha512-Zw7jamI6Rm5CMGdjbAMqx2Oz0ZAKU9IJmqP1qd/6xgj3bwK7olKhGkmiDfOCa8A4xFp6YQkztk7Em9GoqHDJvA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEJZBVBnXyphVyNVbYXzfZMOdlg8rQrpbTFiuWVxvWTiAiBvgID0HLuwJSnHgeI0Cmd7WgeronnjQU/O7I1LGLVqgQ=="}]}},"0.0.17":{"name":"nappd","version":"0.0.17","description":"Allows daemon-like starting and stopping of local nodejs apps","main":"bin/nappd","scripts":{"start":"node bin/nappd","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":"*"},"repository":{"type":"git","url":"https://github.com/remolueoend/napp.git"},"keywords":["nodejs","daemon"],"author":{"name":"Remo Lueoend","email":"remo.zumsteg@outlook.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/remolueoend/napp/issues"},"dependencies":{"daemonize2":"~0.4.2","deferred":"^0.7.2"},"gitHead":"88b07f36c907ff618ed88af746ce5f2f8f5bc052","homepage":"https://github.com/remolueoend/napp","_id":"nappd@0.0.17","_shasum":"65819539e2c609d7aa2e953379f628b96f646292","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"remolueoend","email":"remo.zumsteg@outlook.com"},"maintainers":[{"name":"remolueoend","email":"remo.zumsteg@outlook.com"}],"dist":{"shasum":"65819539e2c609d7aa2e953379f628b96f646292","tarball":"https://registry.npmjs.org/nappd/-/nappd-0.0.17.tgz","integrity":"sha512-88G4r0r8duhL5+S1ygQmKY/YCJajuQhB4/KEz0aS79fjUEZeFOeFOU2H//zUihbPzI/cm6vGf3XLxtN7Rfajhg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHOh4eovG3yHeY7E3GnSflmG2hLB1elefv7BYnwzEpLnAiEAj97yNn4KNDghZsQFTesg+t+m5XAuMwfjGbAoScp0t3o="}]}},"0.0.18":{"name":"nappd","version":"0.0.18","description":"Allows daemon-like starting and stopping of local nodejs apps","main":"bin/nappd","scripts":{"start":"node bin/nappd","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":"*"},"repository":{"type":"git","url":"https://github.com/remolueoend/napp.git"},"keywords":["nodejs","daemon"],"author":{"name":"Remo Lueoend","email":"remo.zumsteg@outlook.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/remolueoend/napp/issues"},"dependencies":{"daemonize2":"~0.4.2","deferred":"^0.7.2","mkdirp":"^0.5.0"},"gitHead":"88b07f36c907ff618ed88af746ce5f2f8f5bc052","homepage":"https://github.com/remolueoend/napp","_id":"nappd@0.0.18","_shasum":"7b4fddb260f2b2e2c8f2064522e4b166b2339a78","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"remolueoend","email":"remo.zumsteg@outlook.com"},"maintainers":[{"name":"remolueoend","email":"remo.zumsteg@outlook.com"}],"dist":{"shasum":"7b4fddb260f2b2e2c8f2064522e4b166b2339a78","tarball":"https://registry.npmjs.org/nappd/-/nappd-0.0.18.tgz","integrity":"sha512-GI9wSLH/TjZme7M1N4DgfTlLqxp9tapJXWYs7RnCNm/XxqbQ6qfueBp04MGXRuUcTRSxpPv/jR1EpU65mg3IRw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/VgWsV2nUkGPPRDaWOg3hJoLSWFO64Q6JjVZtkOmURwIhANBM6y30BUhGkYBkfdEYEg6X2aOHlb3fDl7mNShQ3T0x"}]}},"0.0.19":{"name":"nappd","version":"0.0.19","description":"Allows daemon-like starting and stopping of local nodejs apps","main":"bin/nappd","scripts":{"start":"node bin/nappd","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":"*"},"repository":{"type":"git","url":"https://github.com/remolueoend/napp.git"},"keywords":["nodejs","daemon"],"author":{"name":"Remo Lueoend","email":"remo.zumsteg@outlook.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/remolueoend/napp/issues"},"dependencies":{"daemonize2":"~0.4.2","deferred":"^0.7.2","mkdirp":"^0.5.0"},"gitHead":"88b07f36c907ff618ed88af746ce5f2f8f5bc052","homepage":"https://github.com/remolueoend/napp","_id":"nappd@0.0.19","_shasum":"bd3ab3a1d3f76e2ddfc6880b4a2e98350fe9a781","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"remolueoend","email":"remo.zumsteg@outlook.com"},"maintainers":[{"name":"remolueoend","email":"remo.zumsteg@outlook.com"}],"dist":{"shasum":"bd3ab3a1d3f76e2ddfc6880b4a2e98350fe9a781","tarball":"https://registry.npmjs.org/nappd/-/nappd-0.0.19.tgz","integrity":"sha512-Q9maaRJEBq5YdCqPW6ggameEDwGkiPvYG/3y6kH7SQNIjni6HMcsoTU4DFMeSCWTgDfq6JvArdkHFnc7e0jOFA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOocOFRyXhAqC+7gCL40G6UwPK8GqzjbIX90hF3wwYvwIhAM6VbgG4mahxEffzjsAICwuRx10PGleGTomE1qGxBiWT"}]}},"1.0.1":{"name":"nappd","version":"1.0.1","description":"Allows daemon-like starting and stopping of local nodejs apps","main":"bin/nappd","scripts":{"start":"node bin/nappd","test":"mocha"},"engines":{"node":"*"},"repository":{"type":"git","url":"https://github.com/remolueoend/napp.git"},"keywords":["nodejs","daemon"],"author":{"name":"Remo Lueoend","email":"remo.zumsteg@outlook.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/remolueoend/napp/issues"},"dependencies":{"daemonize2":"git+https://github.com/remolueoend/node-daemonize2.git","deferred":"^0.7.2","mkdirp":"^0.5.0","tail":"^0.4.0"},"devDependencies":{"should":"^5.0.0"},"gitHead":"05820efc950a87dfa026957a8e806e5d01496052","homepage":"https://github.com/remolueoend/napp","_id":"nappd@1.0.1","_shasum":"5a6075d8dd682b3920fa2f815172aa097eedeb1c","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"remolueoend","email":"remo.zumsteg@outlook.com"},"maintainers":[{"name":"remolueoend","email":"remo.zumsteg@outlook.com"}],"dist":{"shasum":"5a6075d8dd682b3920fa2f815172aa097eedeb1c","tarball":"https://registry.npmjs.org/nappd/-/nappd-1.0.1.tgz","integrity":"sha512-Ucoosjd5DOjcs2H7GIO37BiCn6s5OztllFyvcKDc31gFJJWC3D6ZK4yCS2kmAPXqjXzf4YgnoGfq+GSmnREmDw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxBnwKIdDJ9ONRp0q9N/a8xsAxf0ntbfDnbosGvEPqDAIgXmvokjo86AHRsiTd9tsQQw37y0FquGL5RaHv3wRN2sU="}]}},"1.0.2":{"name":"nappd","version":"1.0.2","description":"Allows daemon-like starting and stopping of local nodejs apps","main":"bin/nappd","scripts":{"start":"node bin/nappd","test":"mocha"},"engines":{"node":"*"},"repository":{"type":"git","url":"https://github.com/remolueoend/napp.git"},"keywords":["nodejs","daemon"],"author":{"name":"Remo Lueoend","email":"remo.zumsteg@outlook.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/remolueoend/napp/issues"},"dependencies":{"daemonize2":"git+https://github.com/remolueoend/node-daemonize2.git","deferred":"^0.7.2","mkdirp":"^0.5.0","tail":"^0.4.0"},"devDependencies":{"should":"^5.0.0"},"gitHead":"05820efc950a87dfa026957a8e806e5d01496052","homepage":"https://github.com/remolueoend/napp","_id":"nappd@1.0.2","_shasum":"82333f9b0295a3ac0fc3a34d94660f1e8856da0f","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"remolueoend","email":"remo.zumsteg@outlook.com"},"maintainers":[{"name":"remolueoend","email":"remo.zumsteg@outlook.com"}],"dist":{"shasum":"82333f9b0295a3ac0fc3a34d94660f1e8856da0f","tarball":"https://registry.npmjs.org/nappd/-/nappd-1.0.2.tgz","integrity":"sha512-fDspl9V/GRPTq1fZl9wQWES1C9t3wYab3g3B1NRJgATBfM4XidXc61MK8k48oKHGmg97JD/COkezGu7Tku/k7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNSxPOkFlFuGs3FhwYhqfNBYbaptO5Rrf31HYtvXdbhgIhAPh3N2j2XMj1ds69vrQJEHRAY+ia6oZiykVidBltpKEX"}]}},"1.0.3":{"name":"nappd","version":"1.0.3","description":"Allows daemon-like starting and stopping of local nodejs apps","main":"bin/nappd","scripts":{"start":"node bin/nappd","test":"mocha"},"engines":{"node":"*"},"repository":{"type":"git","url":"https://github.com/remolueoend/napp.git"},"keywords":["nodejs","daemon"],"author":{"name":"Remo Lueoend","email":"remo.zumsteg@outlook.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/remolueoend/napp/issues"},"dependencies":{"daemonize2":"git+https://github.com/remolueoend/node-daemonize2.git","deferred":"^0.7.2","mkdirp":"^0.5.0","tail":"^0.4.0"},"devDependencies":{"should":"^5.0.0"},"gitHead":"ec1bc3644a1ada520365443a9fad863007620939","homepage":"https://github.com/remolueoend/napp","_id":"nappd@1.0.3","_shasum":"de21fd43f34b6da371b0c087ff04cb80f6332707","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"remolueoend","email":"remo.zumsteg@outlook.com"},"maintainers":[{"name":"remolueoend","email":"remo.zumsteg@outlook.com"}],"dist":{"shasum":"de21fd43f34b6da371b0c087ff04cb80f6332707","tarball":"https://registry.npmjs.org/nappd/-/nappd-1.0.3.tgz","integrity":"sha512-at+CL/ZCW63bTu1KEyeM+zzlLlCIDxaeyiMhEJW/U2qNvuP5k1Q9dXQv3VpuiUn2USW5XbgxXtUDZ4WWfn/WtQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHMS3XhBx+IBiOVNrX0yDoA9ejYkN2v7lHJUrQpHqiIRAiEAhCBvtl8DkQ+LLZIItI74vji42Y1hjeoGQY37MzL0VTY="}]}},"1.0.4":{"name":"nappd","version":"1.0.4","description":"Allows daemon-like starting and stopping of local nodejs apps","main":"bin/nappd","scripts":{"start":"node bin/nappd","test":"mocha"},"engines":{"node":"*"},"repository":{"type":"git","url":"https://github.com/remolueoend/napp.git"},"keywords":["nodejs","daemon"],"author":{"name":"Remo Lueoend","email":"remo.zumsteg@outlook.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/remolueoend/napp/issues"},"dependencies":{"daemonize2":"git+https://github.com/remolueoend/node-daemonize2.git","deferred":"^0.7.2","mkdirp":"^0.5.0","tail":"^0.4.0"},"devDependencies":{"should":"^5.0.0"},"gitHead":"39d8c7e6c65378ad628889022dc8d15770d8af65","homepage":"https://github.com/remolueoend/napp","_id":"nappd@1.0.4","_shasum":"a7d5dc2bdcde3591e3497f0fdc7b1a2a17a3d59a","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"remolueoend","email":"remo.zumsteg@outlook.com"},"maintainers":[{"name":"remolueoend","email":"remo.zumsteg@outlook.com"}],"dist":{"shasum":"a7d5dc2bdcde3591e3497f0fdc7b1a2a17a3d59a","tarball":"https://registry.npmjs.org/nappd/-/nappd-1.0.4.tgz","integrity":"sha512-F6VOpdX0hjhzhMKbyJ0CJiqd+oIQf1UyoCLNYO79XRO6GTG6kmiOc0feErYa+MWo3S2irUJbmpFzNhZpMyLanA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHY3Svei5Y2V3nMa5uR538+pbvbdoh2xK7fEy2ZblOQzAiAtPFtf+Qgzb8pGTwSSe/b/IMUdcBKOVuo+tdaQiqiVCQ=="}]}},"1.0.5":{"name":"nappd","version":"1.0.5","description":"Allows daemon-like starting and stopping of local nodejs apps","main":"bin/nappd","scripts":{"start":"node bin/nappd","test":"mocha"},"engines":{"node":"*"},"repository":{"type":"git","url":"https://github.com/remolueoend/napp.git"},"keywords":["nodejs","daemon"],"author":{"name":"Remo Lueoend","email":"remo.zumsteg@outlook.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/remolueoend/napp/issues"},"dependencies":{"daemonize2":"git+https://github.com/remolueoend/node-daemonize2.git","deferred":"^0.7.2","mkdirp":"^0.5.0","tail":"^0.4.0"},"devDependencies":{"should":"^5.0.0"},"gitHead":"ac95e1621fdcaa7596fc236c8f3da027764ff499","homepage":"https://github.com/remolueoend/napp","_id":"nappd@1.0.5","_shasum":"74c9e5bf38c2771063cccb5182b62cc08f071fd0","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"remolueoend","email":"remo.zumsteg@outlook.com"},"maintainers":[{"name":"remolueoend","email":"remo.zumsteg@outlook.com"}],"dist":{"shasum":"74c9e5bf38c2771063cccb5182b62cc08f071fd0","tarball":"https://registry.npmjs.org/nappd/-/nappd-1.0.5.tgz","integrity":"sha512-Q/DbRDa+njcvNQL7hOEFV+06u/uJKvNRKlxC3/b03K3sUVld/xaI2kkahEWlXbWk0iluorSKmiYOz5Fo2cVdRw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7nJmm6OrmncHw4d4tgR4Q0XkHZvjZdOBNgFL0TAuftwIgBE2o0cwuEh9VctxX4Hh62koxikHEryGcXXyGp7G/u9o="}]}},"1.0.6":{"name":"nappd","version":"1.0.6","description":"Allows daemon-like starting and stopping of local nodejs apps","main":"bin/nappd","scripts":{"start":"node bin/nappd","test":"mocha"},"engines":{"node":"*"},"repository":{"type":"git","url":"https://github.com/remolueoend/napp.git"},"keywords":["nodejs","daemon"],"author":{"name":"Remo Lueoend","email":"remo.zumsteg@outlook.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/remolueoend/napp/issues"},"dependencies":{"daemonize2":"git+https://github.com/remolueoend/node-daemonize2.git","deferred":"^0.7.2","mkdirp":"^0.5.0","tail":"^0.4.0"},"devDependencies":{"should":"^5.0.0"},"gitHead":"88112ba44ead39bbf3177b48f4e933f925bb7e06","homepage":"https://github.com/remolueoend/napp","_id":"nappd@1.0.6","_shasum":"d6f64665c6e201f1093e3375828e0b943389023a","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"remolueoend","email":"remo.zumsteg@outlook.com"},"maintainers":[{"name":"remolueoend","email":"remo.zumsteg@outlook.com"}],"dist":{"shasum":"d6f64665c6e201f1093e3375828e0b943389023a","tarball":"https://registry.npmjs.org/nappd/-/nappd-1.0.6.tgz","integrity":"sha512-RFsZ2luOQEmgmD6+lKxOfen421qIms2uJ1to9qpAzGZXHY2a/T2c164RM/6FgqOProIubpebfnefQf44NRkKdA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICIOHsQFytIUOIJHCWpYv3BDuZWmf76T3nYQaIWrim8pAiBvAfcEGamTryeYdf6/thEPiveczP9mKkyBxevLRFJ6Zg=="}]}}},"readme":"[![Build Status](https://travis-ci.org/remolueoend/nappd.svg?branch=master)](https://travis-ci.org/remolueoend/nappd) [![npm version](https://badge.fury.io/js/nappd.svg)](http://badge.fury.io/js/nappd)\n\n# nappd\nnappd stands for node app daemon and can be used to create app daemons running in the background from any NodeJS script.\nFurthermore, nappd allows you to register apps locally which simplifies the management of your apps.\n\nIf you wish to manage your NodeJS app daemons straight from your terminal, have a look at [nappd-cli](https://www.npmjs.com/package/nappd-cli).\n\n## Registration\nRegistering an app together with its config makes the handling of its daemon much easier.\nAfter an app was registered with a unique app name, The daemon and the app's configuration can be received at any time by simply providing the app's unique name.\nThe apps' configuration will be saved in a JSON based file. The default location is: ```nappd_module_folder/cfg/apps.json```. This location can be overwritten at any time (See [Usage](https://github.com/remolueoend/nappd#usage))\n\n## Output (stdout / stderr)\nBecause all nappd daemons are running in the background, the app's console output won't be visible anymore.\nnappd allows redirecting the console output (stdout and stderr) to an output file at any given location.\n\n## Installation\n```\nnpm install nappd [--save]\n```\n\n## Usage\n```javascript\n// Returns a default nappd instance:\nvar nappd = require('nappd');\n\n// Returns a new nappd instance with a custom config location.\n// The path can be absolute or relative to the current working directory.\n// If the pat does not exist, it will be created recursively:\nvar nappd = require('nappd')('path/to/config.json');\n\nrequire('nappd') === require('nappd')       // true\nrequire('nappd')() === require('nappd')()   // false\nrequire('nappd') === require('nappd')()     // false\nrequire('nappd').config.cfgPath === require('nappd')().config.cfgPath   // true\n```\n\n## Nappd Methods\nAll public methods provided by nappd (except ```nappd.isDaemon```) return a promise object as defined in https://www.npmjs.com/package/deferred.  \n\n### fromAppPath\nResolves a daemon instance by a file path of an app:\n```javascript\nnappd.fromAppPath(appPath, [output]).then(function(daemon){ }, function(err){ });\n```\n* ```appPath```: Required. The file path of the script to execute.\n* ```output```: Optional path to the app output log. The path will be created recursively if necessary.\n\n### fromRegisteredApp\nResolves a daemon instance by the name of a registered app:\n```javascript\nnappd.fromRegisteredApp(appName).then(function(daemon){ }, function(err){ });\n```\n* ```appName```: Required. The unique name of the app.\n\n### register\nRegisters an app under a unique app name:\n```javascript\nnappd.register(appName, appPath, [output], [overwrite=false]).then(function(){}, function(err){}); \n```\n* ```appName```: Required. A unique name of the app to register.\n* ```appPath```: Required. The absolute file path to the app's script file.\n* ```output```: An optional absolute path to the app's output file.\n* ```overwrite```: Optional. Set to true to overwrite the config of an app with the same name.\n\n### unregister\nUnregisters a previously registered app:\n```javascript\nnappd.unregister(appName).then(function(){}, function(err){}); \n```\n* ```appName```: Required. The unique name of the app.\n\n### isDaemon\nReturns if the specified object is a daemon instance:\n```javascript\nvar isDaemon = nappd.isDaemon(instance); \n```\n* ```instance```: The object to test.\n\n## Nappd Properties\n* ```nappd.config```: The current configuration instance used to manage registered apps.\n\n## Daemon Methods\nOnce a daemon was created from an app (see ```nappd.fromAppPath``` or ```nappd.fromRegisteredApp```), it provides following methods:\n\n### start\nStarts the app of the daemon and returns a promise resolving the app's current process ID (PID):\n```javascript\ndaemon.start([args]).then(function(pid){}, function(err){});\n```\n* ```args```: Optional array of start arguments which will be passed to the script.\n\n### stop\nStops the app of the daemon and returns a promise resolving the app's original process ID (PID):\n```javascript\ndaemon.stop().then(function(pid){}, function(err){});\n```\n\n### kill\nKills the app of the daemon and returns a promise resolving the app's original process ID (PID):\n```javascript\ndaemon.kill().then(function(pid){}, function(err){});\n```\n\n### status\nReturns a promise resolving the app's PID or rejects if the app is currently not running:\n```javascript\ndaemon.status().then(function(pid){}, function(err){});\n```\n\n### unregister\nUnregisters the daemon:\n```javascript\ndaemon.unregister().then(function(){}, function(err){});\n```\n\n### tail\nTails the output file of the daemon's app. If no output is defined, an exception will be thrown. To check whether an output is defined or not, check if the property ```daemon.output``` is set.\nThis function returns a function which can be called to stop tailing the file.\nSignature:\n```javascript\nvar handler = daemon.tail(callback);\n\n// stop tailing:\nhandler();\n```\n* ```callback (function(err, line){})```: A function which gets called for each new line created in the output file or whenever an error during the tailing occurs.\n\n### on\nAdds a listener to the specified event and returns the new listener instance (See [Daemon Events](https://github.com/remolueoend/nappd#daemon-events) for more details).\n```javascript\nvar listener = daemon.on(eventName, handler);\n\n// remove the listener:\nlistener.remove();\n```\n* ```eventName```: The name of the event.\n* ```handler```: The listener function to be called. The signature may vary from event to event. See [Daemon Events](https://github.com/remolueoend/nappd#daemon-events) for more details.\n\n### trigger\nTriggers the specified event by calling all attached listeners. Use this method with caution, because the event system is used internally too. \n```javascript\ndaemon.trigger(eventName, eventData);\n```\n* ```eventName```: The name of the event to trigger.\n* ```eventData```: An optional array of data to send to the event's handler functions.\n\n## Daemon Properties\n* ```daemon.name```: The name of the daemon. This is rather the unique name of a registered app or the name of an app's executable file.\n* ```daemon.path```: The full path to the daemon's app's executable file.\n* ```daemon.output```: The path to the app's output file.\n* ```events```: Internal collection of events and their listeners. Use ```daemon.on``` and ```daemon.trigger``` to manage events.\n\n## Daemon Events\nThis paragraph shows all available default events and the signature of the listener calls.\nThe first parameter of a handler's call is always a reference to the event listener which has following attributes:\n* ```id```: The listener ID applied by its registration.\n* ```event```: The name of the event this listener is applied to.\n* ```handler```: A reference to the listener's function.\n* ```remove```: A function which can be called to remove the listener from the event.\n\n###### Default Events:\n* ```starting```: As soon as the daemon's app is trying to start up: ```function(listener){}```.\n* ```started```: When the app started successfully: ```function(listener, pid){}```.\n* ```stopping```: When the app got the signal to stop: ```function(listener){}```.\n* ```stopped```: When the app's process was stopped successfully: ```function(listener, pid){}```.\n* ```error```: Everytime an error occurrs while trying to start or stop the app's process: ```function(listener, err){}```.\n* ```running```: When ```daemon.start()``` is called while the app is already running: ```function(listener, pid){}```.\n* ```notrunning```: When ```daemon.stop()``` or ```daemon.kill()``` is called while the app is not running: ```function(listener){}```.\n\nAdditionally, the method ```daemon.on``` allows you to register any custom events, which can be triggered by calling ```daemon.trigger```.\n","maintainers":[{"name":"remolueoend","email":"remo.zumsteg@outlook.com"}],"time":{"modified":"2022-06-20T20:26:04.849Z","created":"2015-02-06T15:34:32.222Z","0.0.1":"2015-02-06T15:34:33.393Z","0.0.2":"2015-02-06T15:53:33.346Z","0.0.3":"2015-02-06T15:59:10.777Z","0.0.4":"2015-02-06T16:01:44.391Z","0.0.5":"2015-02-06T16:07:41.834Z","0.0.6":"2015-02-06T19:51:18.684Z","0.0.7":"2015-02-09T17:03:48.494Z","0.0.8":"2015-02-09T19:16:47.733Z","0.0.9":"2015-02-09T19:51:24.588Z","0.0.11":"2015-02-09T19:54:55.256Z","0.0.12":"2015-02-09T19:55:58.260Z","0.0.13":"2015-02-09T20:00:15.951Z","0.0.14":"2015-02-09T20:01:20.305Z","0.0.15":"2015-02-09T20:14:06.647Z","0.0.16":"2015-02-09T21:19:33.069Z","0.0.17":"2015-02-09T21:32:47.442Z","0.0.18":"2015-02-09T21:40:31.517Z","0.0.19":"2015-02-09T21:43:12.750Z","1.0.1":"2015-04-11T07:50:02.192Z","1.0.2":"2015-04-11T07:51:07.482Z","1.0.3":"2015-04-11T09:49:47.382Z","1.0.4":"2015-04-13T09:48:37.286Z","1.0.5":"2015-04-13T09:53:20.091Z","1.0.6":"2015-04-13T12:24:34.020Z"},"readmeFilename":"readme.md","keywords":["nodejs","daemon"],"repository":{"type":"git","url":"https://github.com/remolueoend/napp.git"},"author":{"name":"Remo Lueoend","email":"remo.zumsteg@outlook.com"},"bugs":{"url":"https://github.com/remolueoend/napp/issues"},"license":"BSD-2-Clause","homepage":"https://github.com/remolueoend/napp"}