{"name":"@nearform/flame","version":"5.0.0","author":"","license":"GPL-3.0-or-later","_id":"@nearform/flame@5.0.0","maintainers":[{"name":"admataz","email":"adam@admataz.com"},{"name":"alan.slater","email":"alan.slater@nearform.com"},{"name":"cuginoale","email":"alessio.carnevale@gmail.com"},{"name":"davidmarkclements","email":"huperekchuno@googlemail.com"},{"name":"goto-bus-stop","email":"renee@kooi.me"},{"name":"iamsw","email":"sjwilson89@gmail.com"},{"name":"jasnell","email":"jasnell@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"}],"homepage":"https://github.com/nearform/node-clinic-flame#readme","bugs":{"url":"https://github.com/nearform/node-clinic-flame/issues"},"nyc":{"exclude":["test/*.js","shared.js","visualizer/d3.js","visualizer/data-tree.js","visualizer/no-data-node.js"]},"dist":{"shasum":"eb373897298f30acff728a737f7271c0bb517dc5","tarball":"http://registry-npm.ywwl.com/@nearform/flame/download/@nearform/flame-5.0.0.tgz","fileCount":171,"integrity":"sha512-l5bxj3NPxa4vshFNVEnC+kbNQctxYPFnltLXYDiiu/0N2LQ9IQe+Wg6cOIfYoPMpEGZaRRQRRS5MCAZC3UONNg==","signatures":[{"sig":"MEUCIQCGjZ8QLx0v+dzYGY554AMUwKDAQ00oAGaCDwFYCypa3gIgPWRHUOBAgZL9ytaicHcXhWD5WSVgF+cktAeAusnl9Bg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":449828,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduE6zCRA9TVsSAnZWagAAvxMQAIAmanOxsQaLY98AR6Uw\n5L0nj+5P/XeyxhX2hGBoG3qDifTS4lt3Hysa9VNkraRcPurzS3Go5qvi8kno\nHbMFAcmpRDBwXxw1PCLi2MRkAdk8XrBq3sYe5KXyNApAPQ164WfCcxC+NlNL\n1+heDx0CO/xeMCNj1+0dbPhZIDiC4n9YWFzPUXoF0XHncquLAa88ZIL5Smjh\nqsGk1Wg3A+ntUT4qbsBKV1zdTCspgwvSXVwLcptodov4Yz7Yyo3n2M6Vz3Pa\n+mzBqhWbu0mnxD1O9BNbhylO8tcmKbYAr2s9OSvvd3rNA1Dbkp00JT9RcwNp\n8Ekj48Liq3yPQsilktme8cdgsnnH8f8TntAjTjCMhLggJs5kNjLeOXrj432m\n78GSVErJI2ASrfwbcbJ7SryL+2KjVJCls5vPxvUfLwFGFatqCbGtDOthi3Oi\nJy3J6KtgUaLeJsMmKmrYlPGAUx6HNGJmK4F3mg3XAqufgqoULxbsiRytRoly\nRheiC9RT/M2Ota4ky6E8TliEfOtw10Hjn+MbrfXd9BvE5dEBq6OWJqVqnf3/\n79JdiTUEW9grktElcWbtscEs4yPNsSP8xtpkgWbRYsVdnHS0rwhFJYds+zmW\n4pI/MtQQw8J9Eafq4hnnn7MbLCoBsH8xS7apidWSX5HYu9XhtxJ/wmobBK0p\nkkxg\r\n=CVM4\r\n-----END PGP SIGNATURE-----\r\n","size":194899,"noattachment":false,"key":"/@nearform/flame/-/@nearform/flame-5.0.0.tgz"},"main":"index.js","engines":{"node":">= 10.0.0 || ^8.11.1"},"gitHead":"be94d0ef708c400f7c15dbb6f663f8e6388c672a","scripts":{"lint":"standard --fix | snazzy","test":"npm run lint && tap --timeout=50 --100 test/*.test.js","ci-lint":"npm run lint","ci-test-cov":"tap --timeout=50 --100 test/*.test.js","visualize-all":"node debug/visualize-all.js","ci-test-no-cov":"tap --timeout=40 test/*.test.js","visualize-watch":"node debug/visualize-watch.js"},"_npmUser":{"name":"goto-bus-stop","email":"renee@kooi.me"},"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.12.0","description":"Programmable interface to Clinic.js Flame","directories":{},"_nodeVersion":"12.13.0","dependencies":{"0x":"^4.9.1","pump":"^3.0.0","d3-fg":"^6.13.1","rimraf":"^2.6.3","d3-array":"^2.0.2","deepmerge":"^2.1.1","d3-selection":"^1.3.2","flame-gradient":"^1.0.0","querystringify":"^2.1.0","lodash.debounce":"^4.0.8","copy-to-clipboard":"^3.0.8","@nearform/clinic-common":"^2.2.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^12.0.0","snazzy":"^8.0.0","chokidar":"^3.0.2","standard":"^13.0.0","murmur3hash-wasm":"1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/flame_5.0.0_1572359850774_0.2565404519075767","host":"s3://npm-registry-packages"},"readme":"# Clinic.js Flame\n\n[![npm version][npm-version]][npm-url] [![Stability Stable][stability-stable]][stability-docs] [![Github Actions build status][actions-status]][actions-url]\n[![Downloads][npm-downloads]][npm-url] [![Code style][lint-standard]][lint-standard-url]\n\nProgrammable interface to [Clinic.js][clinic-url] Flame. Learn more about Clinic.js: https://clinicjs.org/\n\n![Screenshot](screenshot.png)\n\n## Supported node versions\n\n* Node.js 8 and above\n\n## Example\n\n```js\nconst ClinicFlame = require('@nearform/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('@nearform/flame')\nconst flame = new ClinicFlame()\n```\n\n### new ClinicFlame([settings])\n\n* settings [`<Object>`][]\n  * detectPort [`<boolean>`][] **Default**: false\n  * debug [`<boolean>`][] If set to true, the generated html will not be minified.\n    **Default**: false\n  * dest [`<String>`][] The folder where the collected data is stored.\n    **Default**: '.'\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\nits filename. The filepath relative to the current working directory will be the\nvalue in the callback.\n\n`stdout`, `stderr`, and `stdin` will be relayed to the calling process. As will\nthe `SIGINT` event.\n\n#### `flame.visualize(dataFilename, outputFilename, callback)`\n\nWill consume the datafile specified by `dataFilename`, this datafile will be\nproduced by the sampler using `flame.collect`.\n\n`flame.visualize` will then output a standalone HTML file to `outputFilename`.\nWhen completed the `callback` will be called with no extra arguments, except a\npossible error.\n\n## License\n[MIT](LICENSE)\n\n[stability-stable]: https://img.shields.io/badge/stability-stable-green.svg?style=flat-square\n[stability-docs]: https://nodejs.org/api/documentation.html#documentation_stability_index\n[npm-version]: https://img.shields.io/npm/v/@nearform/flame.svg?style=flat-square\n[npm-url]: https://www.npmjs.org/@nearform/flame\n[npm-downloads]: http://img.shields.io/npm/dm/@nearform/flame.svg?style=flat-square\n[lint-standard]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square\n[lint-standard-url]: https://github.com/feross/standard\n[clinic-url]: https://github.com/clinicjs/node-clinic\n[`<Object>`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[`<boolean>`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type\n[`<String>`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[actions-status]: https://github.com/clinicjs/node-clinic-flame/workflows/CI/badge.svg\n[actions-url]: https://github.com/clinicjs/node-clinic-flame/actions\n","publish_time":1572359858301,"_cnpm_publish_time":1572359858301,"dist-tags":{"latest":"9.1.0","next":"4.0.0-beta.0"}}