{"_id":"stack-utils","_rev":"2905721","name":"stack-utils","description":"Captures and cleans stack traces","dist-tags":{"latest":"2.0.6","v1-legacy":"1.0.5"},"maintainers":[{"name":"isaacs","email":""},{"name":"jamestalmage","email":"james@talmage.io"}],"time":{"modified":"2022-12-08T08:00:55.000Z","created":"2016-01-04T05:15:37.432Z","2.0.6":"2022-11-08T15:39:54.449Z","2.0.5":"2021-09-17T16:32:33.477Z","2.0.4":"2021-09-14T15:14:25.540Z","1.0.5":"2021-04-05T18:13:50.414Z","1.0.4":"2020-11-26T00:52:45.001Z","1.0.3":"2020-11-13T23:32:07.930Z","2.0.3":"2020-11-13T23:10:10.505Z","2.0.2":"2020-04-28T15:16:17.414Z","2.0.1":"2019-12-13T06:50:32.156Z","2.0.0":"2019-12-13T06:49:08.966Z","1.0.2":"2018-11-14T18:57:24.505Z","1.0.1":"2017-04-23T20:32:26.102Z","1.0.0":"2017-02-02T06:18:07.294Z","0.4.0":"2016-02-05T22:35:56.320Z","0.3.0":"2016-01-14T03:54:58.328Z","0.2.0":"2016-01-07T21:19:49.097Z","0.1.0":"2016-01-07T20:24:53.362Z","0.0.1":"2016-01-04T05:15:37.432Z"},"users":{"timdp":true,"monsterkodi":true,"lukvonstrom":true},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"repository":{"type":"git","url":"git+https://github.com/tapjs/stack-utils.git"},"versions":{"2.0.6":{"name":"stack-utils","version":"2.0.6","description":"Captures and cleans stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/tapjs/stack-utils.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"engines":{"node":">=10"},"scripts":{"test":"tap","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags"},"tap":{"check-coverage":true},"dependencies":{"escape-string-regexp":"^2.0.0"},"devDependencies":{"bluebird":"^3.7.2","coveralls":"^3.0.9","nested-error-stacks":"^2.1.0","pify":"^4.0.1","q":"^1.5.1","source-map-support":"^0.5.20","tap":"^16.3.0"},"gitHead":"49817bdb87f5fd4096673933803b0bb1e26d32da","bugs":{"url":"https://github.com/tapjs/stack-utils/issues"},"homepage":"https://github.com/tapjs/stack-utils#readme","_id":"stack-utils@2.0.6","_nodeVersion":"18.12.0","_npmVersion":"8.19.2","dist":{"shasum":"aaf0748169c02fc33c8232abccf933f54a1cc34f","size":5473,"noattachment":false,"key":"/stack-utils/-/stack-utils-2.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/stack-utils/download/stack-utils-2.0.6.tgz"},"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"maintainers":[{"name":"isaacs","email":""},{"name":"jamestalmage","email":"james@talmage.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stack-utils_2.0.6_1667921994191_0.7621443645020585"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-08T15:54:11.325Z","publish_time":1667921994449,"_cnpm_publish_time":1667921994449},"2.0.5":{"name":"stack-utils","version":"2.0.5","description":"Captures and cleans stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/tapjs/stack-utils.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"engines":{"node":">=10"},"scripts":{"test":"tap","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags"},"tap":{"check-coverage":true},"dependencies":{"escape-string-regexp":"^2.0.0"},"devDependencies":{"bluebird":"^3.7.2","coveralls":"^3.0.9","nested-error-stacks":"^2.1.0","pify":"^4.0.1","q":"^1.5.1","source-map-support":"^0.5.20","tap":"^15.0.9"},"gitHead":"536b9a263ab340a280b613277521b8cdafc46102","bugs":{"url":"https://github.com/tapjs/stack-utils/issues"},"homepage":"https://github.com/tapjs/stack-utils#readme","_id":"stack-utils@2.0.5","_nodeVersion":"16.5.0","_npmVersion":"7.23.0","dist":{"shasum":"d25265fca995154659dbbfba3b49254778d2fdd5","size":5421,"noattachment":false,"key":"/stack-utils/-/stack-utils-2.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/stack-utils/download/stack-utils-2.0.5.tgz"},"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"maintainers":[{"name":"isaacs","email":""},{"name":"jamestalmage","email":"james@talmage.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stack-utils_2.0.5_1631896353329_0.14363275142004728"},"_hasShrinkwrap":false,"publish_time":1631896353477,"_cnpm_publish_time":1631896353477},"2.0.4":{"name":"stack-utils","version":"2.0.4","description":"Captures and cleans stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/tapjs/stack-utils.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"engines":{"node":">=10"},"scripts":{"test":"tap","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags"},"tap":{"check-coverage":true},"dependencies":{"escape-string-regexp":"^2.0.0","source-map-support":"^0.5.20"},"devDependencies":{"bluebird":"^3.7.2","coveralls":"^3.0.9","nested-error-stacks":"^2.1.0","pify":"^4.0.1","q":"^1.5.1","tap":"^15.0.9"},"gitHead":"0ec85bbb69c7aafae1398fde7f8a007db4fd1858","bugs":{"url":"https://github.com/tapjs/stack-utils/issues"},"homepage":"https://github.com/tapjs/stack-utils#readme","_id":"stack-utils@2.0.4","_nodeVersion":"16.5.0","_npmVersion":"7.23.0","dist":{"shasum":"bf967ae2813d3d2d1e1f59a4408676495c8112ab","size":5421,"noattachment":false,"key":"/stack-utils/-/stack-utils-2.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/stack-utils/download/stack-utils-2.0.4.tgz"},"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"maintainers":[{"name":"isaacs","email":""},{"name":"jamestalmage","email":"james@talmage.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stack-utils_2.0.4_1631632465223_0.8048252870081376"},"_hasShrinkwrap":false,"publish_time":1631632465540,"_cnpm_publish_time":1631632465540},"1.0.5":{"name":"stack-utils","version":"1.0.5","publishConfig":{"tag":"v1-legacy"},"description":"Captures and cleans stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/tapjs/stack-utils.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"engines":{"node":">=8"},"scripts":{"test":"tap --no-esm --100","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags"},"dependencies":{"escape-string-regexp":"^2.0.0"},"devDependencies":{"bluebird":"^3.7.2","coveralls":"^3.0.9","nested-error-stacks":"^2.1.0","pify":"^4.0.1","q":"^1.5.1","tap":"^14.10.8"},"readmeFilename":"readme.md","gitHead":"3fedcb900446a4d47d764a98d91d8d989b7c2e2b","bugs":{"url":"https://github.com/tapjs/stack-utils/issues"},"homepage":"https://github.com/tapjs/stack-utils#readme","_id":"stack-utils@1.0.5","_nodeVersion":"15.3.0","_npmVersion":"7.7.6","dist":{"shasum":"a19b0b01947e0029c8e451d5d61a498f5bb1471b","size":5471,"noattachment":false,"key":"/stack-utils/-/stack-utils-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/stack-utils/download/stack-utils-1.0.5.tgz"},"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"maintainers":[{"name":"isaacs","email":""},{"name":"jamestalmage","email":"james@talmage.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stack-utils_1.0.5_1617646430240_0.610412032205589"},"_hasShrinkwrap":false,"publish_time":1617646430414,"_cnpm_publish_time":1617646430414},"1.0.4":{"name":"stack-utils","version":"1.0.4","publishConfig":{"tag":"v1-legacy"},"description":"Captures and cleans stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/tapjs/stack-utils.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"engines":{"node":">=8"},"scripts":{"test":"tap --no-esm --100","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags"},"dependencies":{"escape-string-regexp":"^2.0.0"},"devDependencies":{"bluebird":"^3.7.2","coveralls":"^3.0.9","nested-error-stacks":"^2.1.0","pify":"^4.0.1","q":"^1.5.1","tap":"^14.10.8"},"readmeFilename":"readme.md","gitHead":"f64938000f55fa2f3aee0679e1e11f390b05c7f3","bugs":{"url":"https://github.com/tapjs/stack-utils/issues"},"homepage":"https://github.com/tapjs/stack-utils#readme","_id":"stack-utils@1.0.4","_nodeVersion":"15.3.0","_npmVersion":"7.0.12","dist":{"shasum":"4b600971dcfc6aed0cbdf2a8268177cc916c87c8","size":5481,"noattachment":false,"key":"/stack-utils/-/stack-utils-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/stack-utils/download/stack-utils-1.0.4.tgz"},"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"maintainers":[{"name":"isaacs","email":""},{"name":"jamestalmage","email":"james@talmage.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stack-utils_1.0.4_1606351964773_0.6983359601082031"},"_hasShrinkwrap":false,"publish_time":1606351965001,"_cnpm_publish_time":1606351965001},"1.0.3":{"name":"stack-utils","version":"1.0.3","publishConfig":{"tag":"v1-legacy"},"description":"Captures and cleans stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/tapjs/stack-utils.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"engines":{"node":">=8"},"scripts":{"test":"tap --no-esm --100","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags"},"dependencies":{"escape-string-regexp":"^2.0.0"},"devDependencies":{"bluebird":"^3.7.2","coveralls":"^3.0.9","nested-error-stacks":"^2.1.0","pify":"^4.0.1","q":"^1.5.1","tap":"^14.10.8"},"readmeFilename":"readme.md","gitHead":"85ad2ca7a6f2ca83588f4c0d6960db485534e442","bugs":{"url":"https://github.com/tapjs/stack-utils/issues"},"homepage":"https://github.com/tapjs/stack-utils#readme","_id":"stack-utils@1.0.3","_nodeVersion":"15.2.0","_npmVersion":"7.0.11","dist":{"shasum":"db7a475733b5b8bf6521907b18891d29006f7751","size":5478,"noattachment":false,"key":"/stack-utils/-/stack-utils-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/stack-utils/download/stack-utils-1.0.3.tgz"},"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"maintainers":[{"name":"isaacs","email":""},{"name":"jamestalmage","email":"james@talmage.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stack-utils_1.0.3_1605310327816_0.4557233752643852"},"_hasShrinkwrap":false,"publish_time":1605310327930,"_cnpm_publish_time":1605310327930},"2.0.3":{"name":"stack-utils","version":"2.0.3","description":"Captures and cleans stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/tapjs/stack-utils.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"engines":{"node":">=10"},"scripts":{"test":"tap --no-esm --100","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags"},"dependencies":{"escape-string-regexp":"^2.0.0"},"devDependencies":{"bluebird":"^3.7.2","coveralls":"^3.0.9","nested-error-stacks":"^2.1.0","pify":"^4.0.1","q":"^1.5.1","tap":"^14.10.8"},"gitHead":"82097544610b7360e14c496b3eb23aedda53d3d0","bugs":{"url":"https://github.com/tapjs/stack-utils/issues"},"homepage":"https://github.com/tapjs/stack-utils#readme","_id":"stack-utils@2.0.3","_nodeVersion":"15.2.0","_npmVersion":"7.0.11","dist":{"shasum":"cd5f030126ff116b78ccb3c027fe302713b61277","size":5384,"noattachment":false,"key":"/stack-utils/-/stack-utils-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/stack-utils/download/stack-utils-2.0.3.tgz"},"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"maintainers":[{"name":"isaacs","email":""},{"name":"jamestalmage","email":"james@talmage.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stack-utils_2.0.3_1605309010407_0.4168764025799361"},"_hasShrinkwrap":false,"publish_time":1605309010505,"_cnpm_publish_time":1605309010505},"2.0.2":{"name":"stack-utils","version":"2.0.2","description":"Captures and cleans stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/tapjs/stack-utils.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"engines":{"node":">=10"},"scripts":{"test":"tap --no-esm --100","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags"},"dependencies":{"escape-string-regexp":"^2.0.0"},"devDependencies":{"bluebird":"^3.7.2","coveralls":"^3.0.9","nested-error-stacks":"^2.1.0","pify":"^4.0.1","q":"^1.5.1","tap":"=14.10.2-unbundled"},"gitHead":"b3c146e3f157aceebe830e858eb41f1df9387f79","bugs":{"url":"https://github.com/tapjs/stack-utils/issues"},"homepage":"https://github.com/tapjs/stack-utils#readme","_id":"stack-utils@2.0.2","_nodeVersion":"13.10.1","_npmVersion":"6.14.4","dist":{"shasum":"5cf48b4557becb4638d0bc4f21d23f5d19586593","size":5375,"noattachment":false,"key":"/stack-utils/-/stack-utils-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/stack-utils/download/stack-utils-2.0.2.tgz"},"maintainers":[{"name":"isaacs","email":""},{"name":"jamestalmage","email":"james@talmage.io"}],"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stack-utils_2.0.2_1588086977285_0.5869045456973836"},"_hasShrinkwrap":false,"publish_time":1588086977414,"_cnpm_publish_time":1588086977414},"2.0.1":{"name":"stack-utils","version":"2.0.1","description":"Captures and cleans stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/tapjs/stack-utils.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"engines":{"node":">=10"},"scripts":{"test":"tap --no-esm --100","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags"},"dependencies":{"escape-string-regexp":"^2.0.0"},"devDependencies":{"bluebird":"^3.7.2","coveralls":"^3.0.9","nested-error-stacks":"^2.1.0","pify":"^4.0.1","q":"^1.5.1","tap":"=14.10.2-unbundled"},"gitHead":"d3c7ee2a7d46744c271a36ce3acfd69465f36df5","bugs":{"url":"https://github.com/tapjs/stack-utils/issues"},"homepage":"https://github.com/tapjs/stack-utils#readme","_id":"stack-utils@2.0.1","_nodeVersion":"13.3.0","_npmVersion":"6.13.4","dist":{"shasum":"3df48345a3b92adc06038f0e95782df61beff742","size":5437,"noattachment":false,"key":"/stack-utils/-/stack-utils-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/stack-utils/download/stack-utils-2.0.1.tgz"},"maintainers":[{"name":"isaacs","email":""},{"name":"jamestalmage","email":"james@talmage.io"}],"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stack-utils_2.0.1_1576219832040_0.7200474147237628"},"_hasShrinkwrap":false,"publish_time":1576219832156,"_cnpm_publish_time":1576219832156},"2.0.0":{"name":"stack-utils","version":"2.0.0","description":"Captures and cleans stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/tapjs/stack-utils.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"engines":{"node":">=10"},"scripts":{"test":"tap --no-esm --100","preversion":"npm test","postversion":"npm publish","prepublish":"git push origin --follow-tags"},"dependencies":{"escape-string-regexp":"^2.0.0"},"devDependencies":{"bluebird":"^3.7.2","coveralls":"^3.0.9","nested-error-stacks":"^2.1.0","pify":"^4.0.1","q":"^1.5.1","tap":"=14.10.2-unbundled"},"gitHead":"27d78e9b237f959e51452459d97ab0b23c5dfc08","bugs":{"url":"https://github.com/tapjs/stack-utils/issues"},"homepage":"https://github.com/tapjs/stack-utils#readme","_id":"stack-utils@2.0.0","_nodeVersion":"13.3.0","_npmVersion":"6.13.4","dist":{"shasum":"eeaf8bf4d0e343b98cf64781121b189570203ba0","size":5436,"noattachment":false,"key":"/stack-utils/-/stack-utils-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stack-utils/download/stack-utils-2.0.0.tgz"},"maintainers":[{"name":"isaacs","email":""},{"name":"jamestalmage","email":"james@talmage.io"}],"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stack-utils_2.0.0_1576219748802_0.6404410148032522"},"_hasShrinkwrap":false,"publish_time":1576219748966,"_cnpm_publish_time":1576219748966},"1.0.2":{"name":"stack-utils","version":"1.0.2","description":"Captures and cleans stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/tapjs/stack-utils.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"engines":{"node":">=0.10.0"},"scripts":{"test":"tap test/*.js --100 -J","preversion":"npm test","postversion":"npm publish","postpublish":"git push origin --all; git push origin --tags"},"keywords":[],"dependencies":{},"devDependencies":{"bluebird":"^3.1.1","coveralls":"^2.11.6","flatten":"0.0.1","nested-error-stacks":"^2.0.0","pify":"^2.3.0","q":"^1.4.1","tap":"^10.3.2"},"gitHead":"2d238dfac8c39ab85997b90a1e48ca51c096adc0","bugs":{"url":"https://github.com/tapjs/stack-utils/issues"},"homepage":"https://github.com/tapjs/stack-utils#readme","_id":"stack-utils@1.0.2","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"isaacs","email":"i@izs.me"},"dist":{"shasum":"33eba3897788558bebfc2db059dc158ec36cebb8","size":5178,"noattachment":false,"key":"/stack-utils/-/stack-utils-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/stack-utils/download/stack-utils-1.0.2.tgz"},"maintainers":[{"name":"isaacs","email":""},{"name":"jamestalmage","email":"james@talmage.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stack-utils_1.0.2_1542221844258_0.8869018687314081"},"_hasShrinkwrap":false,"publish_time":1542221844505,"_cnpm_publish_time":1542221844505},"1.0.1":{"name":"stack-utils","version":"1.0.1","description":"Captures and cleans stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/tapjs/stack-utils.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"engines":{"node":">=0.10.0"},"scripts":{"test":"tap test/*.js --100 -J","preversion":"npm test","postversion":"npm publish","postpublish":"git push origin --all; git push origin --tags"},"files":["index.js"],"keywords":[],"dependencies":{},"devDependencies":{"bluebird":"^3.1.1","coveralls":"^2.11.6","flatten":"0.0.1","nested-error-stacks":"^2.0.0","pify":"^2.3.0","q":"^1.4.1","tap":"^10.3.2"},"gitHead":"f080bcb2ee9be20520cfb312837d6056011e9094","bugs":{"url":"https://github.com/tapjs/stack-utils/issues"},"homepage":"https://github.com/tapjs/stack-utils#readme","_id":"stack-utils@1.0.1","_shasum":"d4f33ab54e8e38778b0ca5cfd3b3afb12db68620","_from":".","_npmVersion":"4.5.0","_nodeVersion":"8.0.0-pre","_npmUser":{"name":"isaacs","email":"i@izs.me"},"dist":{"shasum":"d4f33ab54e8e38778b0ca5cfd3b3afb12db68620","size":5126,"noattachment":false,"key":"/stack-utils/-/stack-utils-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/stack-utils/download/stack-utils-1.0.1.tgz"},"maintainers":[{"name":"isaacs","email":""},{"name":"jamestalmage","email":"james@talmage.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/stack-utils-1.0.1.tgz_1492979544062_0.2575548014137894"},"directories":{},"publish_time":1492979546102,"_cnpm_publish_time":1492979546102,"_hasShrinkwrap":false},"1.0.0":{"name":"stack-utils","version":"1.0.0","description":"Captures and cleans stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/tapjs/stack-utils.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"engines":{"node":">=0.10.0"},"scripts":{"test":"tap test/*.js --cov"},"files":["index.js"],"keywords":[],"dependencies":{},"devDependencies":{"bluebird":"^3.1.1","coveralls":"^2.11.6","flatten":"0.0.1","nested-error-stacks":"^2.0.0","pify":"^2.3.0","q":"^1.4.1","tap":"^10.0.0"},"gitHead":"faa81f19c8fd23cb5c9b13dfd7b26df6be7d7b1e","bugs":{"url":"https://github.com/tapjs/stack-utils/issues"},"homepage":"https://github.com/tapjs/stack-utils#readme","_id":"stack-utils@1.0.0","_shasum":"2392cd8ddbd222492ed6c047960f7414b46c0f83","_from":".","_npmVersion":"3.10.9","_nodeVersion":"8.0.0-pre","_npmUser":{"name":"isaacs","email":"i@izs.me"},"dist":{"shasum":"2392cd8ddbd222492ed6c047960f7414b46c0f83","size":4610,"noattachment":false,"key":"/stack-utils/-/stack-utils-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stack-utils/download/stack-utils-1.0.0.tgz"},"maintainers":[{"name":"isaacs","email":""},{"name":"jamestalmage","email":"james@talmage.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/stack-utils-1.0.0.tgz_1486016285424_0.8635052388999611"},"directories":{},"publish_time":1486016287294,"_cnpm_publish_time":1486016287294,"_hasShrinkwrap":false},"0.4.0":{"name":"stack-utils","version":"0.4.0","description":"Captures and cleans stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/tapjs/stack-utils.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && nyc --reporter lcov --reporter text --cache ava --verbose","test-win":"ava --verbose"},"files":["index.js"],"keywords":[],"dependencies":{},"devDependencies":{"ava":"^0.8.0","bluebird":"^3.1.1","coveralls":"^2.11.6","flatten":"0.0.1","nested-error-stacks":"^1.0.2","nyc":"^5.2.0","pify":"^2.3.0","q":"^1.4.1","xo":"^0.12.1"},"gitHead":"8701171af041a235bae83a6da4ea516a815bb66a","bugs":{"url":"https://github.com/tapjs/stack-utils/issues"},"homepage":"https://github.com/tapjs/stack-utils#readme","_id":"stack-utils@0.4.0","_shasum":"940cb82fccfa84e8ff2f3fdf293fe78016beccd1","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.4.1","_npmUser":{"name":"jamestalmage","email":"james@talmage.io"},"dist":{"shasum":"940cb82fccfa84e8ff2f3fdf293fe78016beccd1","size":4457,"noattachment":false,"key":"/stack-utils/-/stack-utils-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stack-utils/download/stack-utils-0.4.0.tgz"},"maintainers":[{"name":"isaacs","email":""},{"name":"jamestalmage","email":"james@talmage.io"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/stack-utils-0.4.0.tgz_1454711753671_0.9951272297184914"},"directories":{},"publish_time":1454711756320,"_cnpm_publish_time":1454711756320,"_hasShrinkwrap":false},"0.3.0":{"name":"stack-utils","version":"0.3.0","description":"Captures and cleans stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/tapjs/stack-utils.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && nyc --reporter lcov --reporter text --cache ava --verbose","test-win":"ava --verbose"},"files":["index.js"],"keywords":[],"dependencies":{},"devDependencies":{"ava":"^0.8.0","bluebird":"^3.1.1","coveralls":"^2.11.6","flatten":"0.0.1","nested-error-stacks":"^1.0.2","nyc":"^5.2.0","pify":"^2.3.0","q":"^1.4.1","xo":"^0.12.1"},"gitHead":"cc2fe4c667ddd9e9f11c633e6ef6397d689016be","bugs":{"url":"https://github.com/tapjs/stack-utils/issues"},"homepage":"https://github.com/tapjs/stack-utils#readme","_id":"stack-utils@0.3.0","_shasum":"cddc6cec2ed9a5ce65f1ac05c90243b7a0ce325d","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.3.0","_npmUser":{"name":"jamestalmage","email":"james@talmage.io"},"dist":{"shasum":"cddc6cec2ed9a5ce65f1ac05c90243b7a0ce325d","size":4455,"noattachment":false,"key":"/stack-utils/-/stack-utils-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stack-utils/download/stack-utils-0.3.0.tgz"},"maintainers":[{"name":"isaacs","email":""},{"name":"jamestalmage","email":"james@talmage.io"}],"directories":{},"publish_time":1452743698328,"_cnpm_publish_time":1452743698328,"_hasShrinkwrap":false},"0.2.0":{"name":"stack-utils","version":"0.2.0","description":"Captures and cleans stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/jamestalmage/stack-utils.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && nyc --reporter lcov --reporter text --cache ava --verbose","test-win":"ava --verbose"},"files":["index.js"],"keywords":[],"config":{"nyc":{"exclude":["fixtures/*"]}},"dependencies":{},"devDependencies":{"ava":"^0.8.0","coveralls":"^2.11.6","flatten":"0.0.1","nyc":"^5.2.0","xo":"^0.12.1"},"gitHead":"64fa2c1f51caaeec57fec4843e8a65a4ed41fd8e","bugs":{"url":"https://github.com/jamestalmage/stack-utils/issues"},"homepage":"https://github.com/jamestalmage/stack-utils#readme","_id":"stack-utils@0.2.0","_shasum":"2e7a45dc67131a0e7bcf472caef3ff1f394b091d","_from":".","_npmVersion":"3.5.2","_nodeVersion":"0.12.7","_npmUser":{"name":"jamestalmage","email":"james@talmage.io"},"dist":{"shasum":"2e7a45dc67131a0e7bcf472caef3ff1f394b091d","size":4313,"noattachment":false,"key":"/stack-utils/-/stack-utils-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stack-utils/download/stack-utils-0.2.0.tgz"},"maintainers":[{"name":"isaacs","email":""},{"name":"jamestalmage","email":"james@talmage.io"}],"directories":{},"publish_time":1452201589097,"_cnpm_publish_time":1452201589097,"_hasShrinkwrap":false},"0.1.0":{"name":"stack-utils","version":"0.1.0","description":"Captures and cleans stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/jamestalmage/stack-utils.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && nyc --reporter lcov --reporter text --cache ava --verbose","test-win":"ava --verbose"},"files":["index.js"],"keywords":[],"config":{"nyc":{"exclude":["fixtures/*"]}},"dependencies":{},"devDependencies":{"ava":"^0.8.0","coveralls":"^2.11.6","flatten":"0.0.1","nyc":"^5.2.0","xo":"^0.12.1"},"gitHead":"772ffe6894b42d450e7aef2fd9a379b822993572","bugs":{"url":"https://github.com/jamestalmage/stack-utils/issues"},"homepage":"https://github.com/jamestalmage/stack-utils#readme","_id":"stack-utils@0.1.0","_shasum":"9b2de559f5d1940c3eb40b480ff8c6d9ff6a1b1b","_from":".","_npmVersion":"3.5.2","_nodeVersion":"0.12.7","_npmUser":{"name":"jamestalmage","email":"james@talmage.io"},"dist":{"shasum":"9b2de559f5d1940c3eb40b480ff8c6d9ff6a1b1b","size":4305,"noattachment":false,"key":"/stack-utils/-/stack-utils-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stack-utils/download/stack-utils-0.1.0.tgz"},"maintainers":[{"name":"isaacs","email":""},{"name":"jamestalmage","email":"james@talmage.io"}],"directories":{},"publish_time":1452198293362,"_cnpm_publish_time":1452198293362,"_hasShrinkwrap":false},"0.0.1":{"name":"stack-utils","version":"0.0.1","description":"Captures and cleans stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/jamestalmage/stack-utils.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && nyc --reporter lcov --reporter text --cache ava --verbose"},"files":["index.js"],"keywords":[],"config":{"nyc":{"exclude":["fixtures/*"]}},"dependencies":{},"devDependencies":{"ava":"^0.8.0","coveralls":"^2.11.6","flatten":"0.0.1","nyc":"^5.2.0","xo":"^0.12.1"},"gitHead":"f0d147cc28c5aacaf6712ea4cdbf8cccfe3ba79c","bugs":{"url":"https://github.com/jamestalmage/stack-utils/issues"},"homepage":"https://github.com/jamestalmage/stack-utils#readme","_id":"stack-utils@0.0.1","_shasum":"5c7f358e79d45dedff43e8affb9fd905b33bd65c","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"jamestalmage","email":"james@talmage.io"},"dist":{"shasum":"5c7f358e79d45dedff43e8affb9fd905b33bd65c","size":3273,"noattachment":false,"key":"/stack-utils/-/stack-utils-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/stack-utils/download/stack-utils-0.0.1.tgz"},"maintainers":[{"name":"isaacs","email":""},{"name":"jamestalmage","email":"james@talmage.io"}],"directories":{},"publish_time":1451884537432,"_cnpm_publish_time":1451884537432,"_hasShrinkwrap":false}},"readme":"# stack-utils \n\n> Captures and cleans stack traces.\n\n[![Linux Build](https://travis-ci.org/tapjs/stack-utils.svg?branch=master)](https://travis-ci.org/tapjs/stack-utils) [![Build status](https://ci.appveyor.com/api/projects/status/fb9i157knoixe3iq/branch/master?svg=true)](https://ci.appveyor.com/project/jamestalmage/stack-utils-oiw96/branch/master)  [![Coverage](https://coveralls.io/repos/tapjs/stack-utils/badge.svg?branch=master&service=github)](https://coveralls.io/github/tapjs/stack-utils?branch=master)\n\n\nExtracted from `lib/stack.js` in the [`node-tap` project](https://github.com/tapjs/node-tap)\n\n## Install\n\n```\n$ npm install --save stack-utils\n```\n\n\n## Usage\n\n```js\nconst StackUtils = require('stack-utils');\nconst stack = new StackUtils({cwd: process.cwd(), internals: StackUtils.nodeInternals()});\n\nconsole.log(stack.clean(new Error().stack));\n// outputs a beautified stack trace\n```\n\n\n## API\n\n\n### new StackUtils([options])\n\nCreates a new `stackUtils` instance.\n\n#### options\n\n##### internals\n\nType: `array` of `RegularExpression`s  \n\nA set of regular expressions that match internal stack stack trace lines which should be culled from the stack trace.\nThe default is `StackUtils.nodeInternals()`, this can be disabled by setting `[]` or appended using\n`StackUtils.nodeInternals().concat(additionalRegExp)`.  See also `ignoredPackages`.\n\n##### ignoredPackages\n\nType: `array` of `string`s\n\nAn array of npm modules to be culled from the stack trace.  This list will mapped to regular\nexpressions and merged with the `internals`.\n\nDefault `''`.\n\n##### cwd\n\nType: `string`\n\nThe path to the current working directory. File names in the stack trace will be shown relative to this directory.\n\n##### wrapCallSite\n\nType: `function(CallSite)`\n\nA mapping function for manipulating CallSites before processing. The first argument is a CallSite instance, and the function should return a modified CallSite. This is useful for providing source map support.\n\n\n### StackUtils.nodeInternals()\n\nReturns an array of regular expressions that be used to cull lines from the stack trace that reference common Node.js internal files.\n\n\n### stackUtils.clean(stack, indent = 0)\n\nCleans up a stack trace by deleting any lines that match the `internals` passed to the constructor, and shortening file names relative to `cwd`.\n\nReturns a `string` with the cleaned up stack (always terminated with a `\\n` newline character).\nSpaces at the start of each line are trimmed, indentation can be added by setting `indent` to the desired number of spaces.\n\n#### stack\n\n*Required*  \nType: `string` or an `array` of `string`s\n\n\n### stackUtils.capture([limit], [startStackFunction])\n\nCaptures the current stack trace, returning an array of `CallSite`s. There are good overviews of the available CallSite methods [here](https://github.com/v8/v8/wiki/Stack%20Trace%20API#customizing-stack-traces), and [here](https://github.com/sindresorhus/callsites#api).\n\n#### limit\n\nType: `number`\nDefault: `Infinity`\n\nLimits the number of lines returned by dropping all lines in excess of the limit. This removes lines from the stack trace.\n\n#### startStackFunction\n\nType: `function`\n\nThe function where the stack trace should start. The first line of the stack trace will be the function that called `startStackFunction`. This removes lines from the end of the stack trace.\n\n\n### stackUtils.captureString([limit], [startStackFunction])\n\nCaptures the current stack trace, cleans it using `stackUtils.clean(stack)`, and returns a string with the cleaned stack trace. It takes the same arguments as `stackUtils.capture`.\n\n\n### stackUtils.at([startStackFunction])\n\nCaptures the first line of the stack trace (or the first line after `startStackFunction` if supplied), and returns a `CallSite` like object that is serialization friendly (properties are actual values instead of getter functions). \n\nThe available properties are:\n\n - `line`: `number` \n - `column`: `number`\n - `file`: `string`\n - `constructor`: `boolean`\n - `evalOrigin`: `string`\n - `native`: `boolean`\n - `type`: `string`\n - `function`: `string`\n - `method`: `string`\n\n### stackUtils.parseLine(line)\n\nParses a `string` (which should be a single line from a stack trace), and generates an object with the following properties:\n\n - `line`: `number` \n - `column`: `number`\n - `file`: `string`\n - `constructor`: `boolean`\n - `evalOrigin`: `string`\n - `evalLine`: `number`\n - `evalColumn`: `number`\n - `evalFile`: `string`\n - `native`: `boolean`\n - `function`: `string`\n - `method`: `string`\n\n\n## License\n\nMIT © [Isaac Z. Schlueter](http://github.com/isaacs), [James Talmage](http://github.com/jamestalmage)\n","_attachments":{},"homepage":"https://github.com/tapjs/stack-utils#readme","bugs":{"url":"https://github.com/tapjs/stack-utils/issues"},"license":"MIT"}