{"_id":"procfile","_rev":"9-d68e86d5851a1bf5885d3056e23cab3d","name":"procfile","description":"A simple CLI tool for ensuring that a given node script runs continuously (i.e. forever)","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"procfile","description":"A simple CLI tool for ensuring that a given node script runs continuously (i.e. forever)","version":"0.1.0","author":{"name":"Charlie Robbins","email":"charlie.robbins@gmail.com"},"repository":{"type":"git","url":"git://github.com/indexzero/node-procfile.git"},"keywords":["tools","procfile","sysadmin"],"devDependencies":{"async":"0.1.x","vows":"0.5.x"},"main":"./lib/procfile","scripts":{"test":"vows test/*-test.js --spec"},"engines":{"node":">= 0.4.0"},"_id":"procfile@0.1.0","dependencies":{},"_engineSupported":true,"_npmVersion":"1.0.10","_nodeVersion":"v0.4.8","_defaultsLoaded":true,"dist":{"shasum":"e83887a0a92637fe6eda3eeb3bd354a4cd513f84","tarball":"https://registry.npmjs.org/procfile/-/procfile-0.1.0.tgz","integrity":"sha512-xKJEazRduzi2mNV3/gTyy8jFcP6F4HGposYYPhwKHMrqa/bOhWalyju9Z4wceau9MVK11QWWxnA8FBHwNk4FEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzL6VfH2bOmxtKXYODcxDzivn4roxabFHqR5iobSAKRQIgDEnc2+YpDNk07JFaptOGWJlPyS8NhzUhNiD/3vSALI4="}]}},"0.1.1":{"name":"procfile","description":"A simple CLI tool for ensuring that a given node script runs continuously (i.e. forever)","version":"0.1.1","author":{"name":"Charlie Robbins","email":"charlie.robbins@gmail.com"},"repository":{"type":"git","url":"http://github.com/indexzero/node-procfile.git"},"keywords":["tools","procfile","sysadmin"],"devDependencies":{"async":"0.1.x","vows":"0.5.x"},"main":"./lib/procfile","scripts":{"test":"vows test/*-test.js --spec"},"engines":{"node":">= 0.4.0"},"readme":"# node-procfile\n\nA Procfile parser for node.js.\n\n## Installation\n\n### Installing npm (node package manager)\n```\n  curl http://npmjs.org/install.sh | sh\n```\n\n### Installing node-procfile\n```\n  [sudo] npm install procfile\n```\n\n## Usage\nThere are two simple methods when using `node-procfile`: `.parse()` and `.stringify()`. If you are familiar with using the native `JSON` methods in Javascript, there is nothing new about the API.\n\n``` js\n  var fs = require('fs'),\n      procfile = require('procfile');\n  \n  var data = fs.readFileSync('/path/to/procfile').toString(),\n      proc = procfile.parse(data);\n  \n  console.dir(proc)\n```\n\nThis outputs the results of the procfile parse:\n\n``` js\n  {\n    web: {\n      command: 'node',\n      options: [ 'myapp.js', '-p', '80', '--some-option' ]\n    },\n    worker: {\n      command: 'node',\n      options: [ 'myworker.js', '--other-option' ]\n    }\n  }\n```\n\n## Run Tests\n``` bash\n  $ vows --spec\n```\n\n#### Author: [Charlie Robbins][0]\n\n[0]: http://nodejitsu.com","_id":"procfile@0.1.1","dist":{"shasum":"7393f5ac171b13213143b355373cc690b058b22f","tarball":"https://registry.npmjs.org/procfile/-/procfile-0.1.1.tgz","integrity":"sha512-8VxGqAO1KFMkHYtQaVJgPse+Xz7DiGN1jVMeLGVGVuA5Jhxp3Ve5RO5U7JHS7miqk+eqt2bEkue0zb355HwL9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3XmxM38Fha+S0kf7gdC20jxzjkDzTela/cth3PjklVAIhAJiAIxZ0zhEnuVxBTMyt9tRJAg5W22ULK5MrPggSSG2J"}]},"_npmVersion":"1.1.53","_npmUser":{"name":"indexzero","email":"charlie.robbins@gmail.com"},"maintainers":[{"name":"indexzero","email":"charlie.robbins@gmail.com"}]}},"maintainers":[{"name":"indexzero","email":"charlie.robbins@gmail.com"}],"time":{"modified":"2022-06-24T17:08:41.563Z","created":"2011-06-13T09:10:04.346Z","0.1.0":"2011-06-13T09:10:04.608Z","0.1.1":"2012-08-22T21:17:32.309Z"},"author":{"name":"Charlie Robbins","email":"charlie.robbins@gmail.com"},"repository":{"type":"git","url":"http://github.com/indexzero/node-procfile.git"}}