{"name":"stacks-to-json-stack-tree","version":"1.0.1","description":"Convert dtrace/perf stack samples into a JSON tree","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"David Mark Clements","email":"david.clements@nearform.com"},"license":"Apache 2.0","dependencies":{"debug":"^3.1.0","end-of-stream":"^1.4.1","through2":"^2.0.3"},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/davidmarkclements/stacks-to-json-tree.git"},"keywords":[],"bugs":{"url":"https://github.com/davidmarkclements/stacks-to-json-tree/issues"},"homepage":"https://github.com/davidmarkclements/stacks-to-json-tree#readme","gitHead":"242b045a610e94ff9cc5764878f446f5b83e457a","_id":"stacks-to-json-stack-tree@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"davidmarkclements","email":"huperekchuno@googlemail.com"},"dist":{"integrity":"sha512-MT76xVo9C8+T+gVFbIfVgZ7qdiR4nkx01T9/sz2ITp7P5JZj+qXIBNx44PesebEW6q2HeASjkfIkv7l+Bui2yg==","shasum":"345a3b9e966acfab9303f4b26ff2f9872d2a1b74","tarball":"http://registry-npm.ywwl.com/stacks-to-json-stack-tree/download/stacks-to-json-stack-tree-1.0.1.tgz","fileCount":4,"unpackedSize":14778,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFn3SVVeBlKTzFRIh34uuuN7Q3M/wek7dT/REIzmHBPPAiEAq+zqKpkelDNl7rY09hLNGZOisRwt3UtxP3t4zH1uqg0="}],"size":5626,"noattachment":false,"key":"/stacks-to-json-stack-tree/-/stacks-to-json-stack-tree-1.0.1.tgz"},"maintainers":[{"name":"davidmarkclements","email":"huperekchuno@googlemail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stacks-to-json-stack-tree_1.0.1_1519679208609_0.9430363555541295"},"_hasShrinkwrap":false,"readme":"# stacks-to-json-stack-tree \n\nConvert dtrace/perf stack samples into a JSON tree\n\n## Installation\n\n```sh\nnpm install stacks-to-json-stack-tree --save\n```\n\n## Usage\n\n```js \nvar fs = require('fs')\nvar stacksToJsonStackTree = require('stacks-to-json-stack-tree')\nvar mapFrames = (frames, instance) => frames // mapFrames is optional\nvar convertAndCollectFromStream = stacksToJsonStackTree(mapFrames, function (err, json) {\n  if (err) throw err\n  console.log(json)\n})\n\nfs.createReadStream('path/to/stacks').pipe(convertAndCollectFromStream)\n```\n\n## Dependencies\n\n- [debug](https://github.com/visionmedia/debug): small debugging utility\n- [end-of-stream](https://github.com/mafintosh/end-of-stream): Call a callback when a readable/writable/duplex stream has completed or failed.\n- [through2](https://github.com/rvagg/through2): A tiny wrapper around Node streams2 Transform to avoid explicit subclassing noise\n\n## Dev Dependencies\n\n\nNone\n\n## License\n\nApache 2.0\n","publish_time":1519679208652,"_cnpm_publish_time":1519679208652,"dist-tags":{"latest":"1.0.2"}}