{"name":"@nearform/clinic-flame","version":"1.2.0","author":"","license":"Apache-2.0","_id":"@nearform/clinic-flame@1.2.0","maintainers":[{"name":"addaleax","email":"anna@addaleax.net"},{"name":"alan.slater","email":"alan.slater@nearform.com"},{"name":"andreasmadsen","email":"amwebdk@gmail.com"},{"name":"apokalyptra","email":"apokalyptra@gmail.com"},{"name":"bridgear","email":"ruben@bridgewater.de"},{"name":"cianfoley_nearform","email":"cian.foley@nearform.com"},{"name":"conoro","email":"conor@conoroneill.com"},{"name":"damianberesford","email":"dberesford@gmail.com"},{"name":"dancork-nf","email":"dan.cork@nearform.com"},{"name":"davidefiorello","email":"davide@codeflyer.com"},{"name":"davidmarkclements","email":"huperekchuno@googlemail.com"},{"name":"filippo.desantis","email":"filippo.desantis@gmail.com"},{"name":"hueniverse","email":"eran@hammer.io"},{"name":"ivanjov","email":"ivanjov96@gmail.com"},{"name":"jasnell","email":"jasnell@gmail.com"},{"name":"jasonmelo","email":"jason.melo@gmail.com"},{"name":"jh3y","email":"jh3y@jheytompkins.com"},{"name":"jimmymintzer","email":"jimmymintzer@gmail.com"},{"name":"kamil-mech","email":"kamil.mech@nearform.com"},{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"mattrobinson","email":"matt.robinson@nearform.com"},{"name":"mcdonnelldean","email":"mcdonnelldean@outlook.com"},{"name":"mihaidma","email":"mihaizn@gmail.com"},{"name":"mrister","email":"mihovil.rister@gmail.com"},{"name":"nearformer","email":"david.clements@nearform.com"},{"name":"ofrobots","email":"ofrobots@google.com"},{"name":"robbdempsey","email":"robb.dempsey@gmail.com"},{"name":"shaunjbaker","email":"shaun@schb.co.uk"},{"name":"shogun_panda","email":"shogun@cowtech.it"},{"name":"temsa","email":"florian.traverse@gmail.com"},{"name":"thekemkid","email":"glenkeane.94@gmail.com"},{"name":"wprl","email":"william@Kun.io"},{"name":"yoshuawuyts","email":"yoshuawuyts@gmail.com"}],"homepage":"https://github.com/nearform/node-clinic-flame#readme","bugs":{"url":"https://github.com/nearform/node-clinic-flame/issues"},"dist":{"shasum":"f5747c8bb810ae6ac68151d6bd2c699a4d8a8e45","tarball":"http://registry-npm.ywwl.com/@nearform/clinic-flame/download/@nearform/clinic-flame-1.2.0.tgz","fileCount":4,"integrity":"sha512-m46E6t2dd3LB2/zx/6KiNdmfT4uVS+qx8wqfg6pPE0rqr79UHAdaJHadhLEJ8lRjg0HgN3UicjlWKk5IgEgQNg==","signatures":[{"sig":"MEUCIBx4Sb7S1VT2C8m0jpRnvdMER9qrYLpjhGhchMYJJ7UUAiEAzwEopyFDc/7c4SWcxR7fLP2jEDFr+TC9TlHuJO1ACDA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2835,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbTjEzCRA9TVsSAnZWagAAJgIP/icugPnPpgmQ2uhX/6WD\njsqp7gAsVocHQkNXSx/uYawtgys9ekhXCWY0ncHflg0e594CQoMQfhB93o3z\nOl+VRNwY0Uj9Otex0lQJ1aYNlAtDBxJCz7N8DcoOtBhimeJqQYgSp/WVi9eM\nnldLo42JOiKA9Bn2AZtudr+6ChorCMseK471Asr+H+qU2xao+59G66vyWQ1D\nhn4DLgDUPuIWMPltBqhkv+yf8PYIaLgz4rFfGBb4yYUXBFuKXKOp+cBFvOxf\n1e1eb71WHEkOETrnJjIBs4qaOSqA28Q8h86GQKp8FAQ6olWNtZzfPLFGWP4B\ntEjXNk9DDZjOzfiN/8SW9jIPqpaR83TmHPvAKJZG2AaoqBuqS40yLeAOqWLx\nd2YWBo1gsPPcdyhGwkZOVVTwKypqNT2R21zTVTPa4Cdr/j+QH/4MVn7ggJKN\nYRLlCMaAnIbZ3omL8JTzSS3umwNaINqKOY9pBL80zfJNyQrg240YU8SssVs+\nsWzgb8P81Hqm82mADRCmLbnqe5GLsTnvB2QaqAWSXefabpyfKyWM/AgUMS7p\ndRFB73uz7eltc+LXSd9Hhz2Goo/+JrzbEbzZZjwBA7Z3AqDzjKbx1QDIJ9Z6\n4kb1qO1YWpH1HIyB+cl+tFHhxnGom/EBKn4m9NGwzQOzF0qiicHWz/6nscgK\nc+VO\r\n=tZKZ\r\n-----END PGP SIGNATURE-----\r\n","size":1403,"noattachment":false,"key":"/@nearform/clinic-flame/-/@nearform/clinic-flame-1.2.0.tgz"},"main":"index.js","gitHead":"90142bcbc3f02d70af6e6bb8d74e03dc759a414f","scripts":{"test":"standard"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/nearform/node-clinic-flame.git","type":"git"},"_npmVersion":"6.1.0","description":"Programmable interface to clinic flame","directories":{},"_nodeVersion":"10.6.0","dependencies":{"0x":"^4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"standard":"^11.0.1"},"_npmOperationalInternal":{"tmp":"tmp/clinic-flame_1.2.0_1531851051378_0.00024317913519600332","host":"s3://npm-registry-packages"},"readme":"# node-clinic-flame\n\nProgrammable interface to clinic flame\n\n## Example\n\n```js\nconst ClinicFlame = require('clinic-flame')\nconst flame = new ClinicFlame()\n\nflame.collect(['node', './path-to-script.js'], function (err, filepath) {\n  if (err) throw err\n\n  flame.visualize(filepath, filepath + '.html', function (err) {\n    if (err) throw err\n  })\n})\n```\n\n## Documentation\n\n```js\nconst ClinicFlame = require('clinic-flame')\nconst flame = new ClinicFlame()\n```\n\n#### `flame.collect(args, callback)`\n\nStarts a process by using [0x](https://github.com/davidmarkclements/0x)\n\n0x will produce a file in the current working directory, with the process PID in its filename. The filepath relative to the current working directory will be the value in the callback.\n\nstdout, stderr, and stdin will be relayed to the calling process. As will the `SIGINT` event.\n\n#### `flame.visualize(dataFilename, outputFilename, callback)`\n\nWill consume the datafile specified by `dataFilename`, this datafile will be produced by the sampler using `flame.collect`.\n\n`flame.visualize` will then output a standalone HTML file to `outputFilename`. When completed the `callback` will be called with no extra arguments, except a possible error.\n\n## License\n[GPL 3.0](LICENSE)\n\n","publish_time":1531851059739,"_cnpm_publish_time":1531851059739,"dist-tags":{"latest":"2.0.0"}}