{
	"name": "stack-trace",
	"versions": {
		"0.0.1": {
			"author": {
				"name": "Felix Geisendörfer",
				"email": "felix@debuggable.com",
				"url": "http://debuggable.com/"
			},
			"name": "stack-trace",
			"description": "Get v8 stack traces as an array of CallSite objects.",
			"version": "0.0.1",
			"homepage": "https://github.com/felixge/node-stack-trace",
			"repository": {
				"type": "git",
				"url": "git://github.com/felixge/node-stack-trace.git"
			},
			"main": "./lib/stack-trace",
			"engines": {
				"node": "*"
			},
			"dependencies": {},
			"devDependencies": {},
			"_npmJsonOpts": {
				"file": "/Users/felix/.npm/stack-trace/0.0.1/package/package.json",
				"wscript": false,
				"contributors": false,
				"serverjs": false
			},
			"_id": "stack-trace@0.0.1",
			"_engineSupported": true,
			"_npmVersion": "1.0.14",
			"_nodeVersion": "v0.4.9-pre",
			"_defaultsLoaded": true,
			"dist": {
				"shasum": "6b4c583666e4996a3616008b67ef9f5247101271",
				"tarball": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.1.tgz"
			},
			"scripts": {},
			"directories": {},
			"contributors": []
		},
		"0.0.2": {
			"author": {
				"name": "Felix Geisendörfer",
				"email": "felix@debuggable.com",
				"url": "http://debuggable.com/"
			},
			"name": "stack-trace",
			"description": "Get v8 stack traces as an array of CallSite objects.",
			"version": "0.0.2",
			"homepage": "https://github.com/felixge/node-stack-trace",
			"repository": {
				"type": "git",
				"url": "git://github.com/felixge/node-stack-trace.git"
			},
			"main": "./lib/stack-trace",
			"engines": {
				"node": "*"
			},
			"dependencies": {},
			"devDependencies": {
				"far": "0.0.3"
			},
			"_npmJsonOpts": {
				"file": "/Users/felix/.npm/stack-trace/0.0.2/package/package.json",
				"wscript": false,
				"contributors": false,
				"serverjs": false
			},
			"_id": "stack-trace@0.0.2",
			"_engineSupported": true,
			"_npmVersion": "1.0.14",
			"_nodeVersion": "v0.4.10-pre",
			"_defaultsLoaded": true,
			"dist": {
				"shasum": "17df29a3e16f2b1f424b71d4a1bdcf5a18aed2e5",
				"tarball": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.2.tgz"
			},
			"scripts": {},
			"directories": {},
			"contributors": []
		},
		"0.0.3": {
			"author": {
				"name": "Felix Geisendörfer",
				"email": "felix@debuggable.com",
				"url": "http://debuggable.com/"
			},
			"name": "stack-trace",
			"description": "Get v8 stack traces as an array of CallSite objects.",
			"version": "0.0.3",
			"homepage": "https://github.com/felixge/node-stack-trace",
			"repository": {
				"type": "git",
				"url": "git://github.com/felixge/node-stack-trace.git"
			},
			"main": "./lib/stack-trace",
			"engines": {
				"node": "*"
			},
			"dependencies": {},
			"devDependencies": {
				"far": "0.0.3"
			},
			"_npmJsonOpts": {
				"file": "/Users/felix/.npm/stack-trace/0.0.3/package/package.json",
				"wscript": false,
				"contributors": false,
				"serverjs": false
			},
			"_id": "stack-trace@0.0.3",
			"_engineSupported": true,
			"_npmVersion": "1.0.14",
			"_nodeVersion": "v0.4.10-pre",
			"_defaultsLoaded": true,
			"dist": {
				"shasum": "b10dc24b9e86a242cc69fbabf0f60d6284b20e12",
				"tarball": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.3.tgz"
			},
			"scripts": {},
			"directories": {},
			"contributors": []
		},
		"0.0.4": {
			"author": {
				"name": "Felix Geisendörfer",
				"email": "felix@debuggable.com",
				"url": "http://debuggable.com/"
			},
			"name": "stack-trace",
			"description": "Get v8 stack traces as an array of CallSite objects.",
			"version": "0.0.4",
			"homepage": "https://github.com/felixge/node-stack-trace",
			"repository": {
				"type": "git",
				"url": "git://github.com/felixge/node-stack-trace.git"
			},
			"main": "./lib/stack-trace",
			"engines": {
				"node": "*"
			},
			"dependencies": {},
			"devDependencies": {
				"far": "0.0.3"
			},
			"_npmJsonOpts": {
				"file": "/Users/felix/.npm/stack-trace/0.0.4/package/package.json",
				"wscript": false,
				"contributors": false,
				"serverjs": false
			},
			"_id": "stack-trace@0.0.4",
			"_engineSupported": true,
			"_npmVersion": "1.0.15",
			"_nodeVersion": "v0.4.10-pre",
			"_defaultsLoaded": true,
			"dist": {
				"shasum": "f278a4dd79608f5ceb80f4fd7064842934a40f4a",
				"tarball": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.4.tgz"
			},
			"scripts": {},
			"directories": {},
			"contributors": []
		},
		"0.0.5": {
			"author": {
				"name": "Felix Geisendörfer",
				"email": "felix@debuggable.com",
				"url": "http://debuggable.com/"
			},
			"name": "stack-trace",
			"description": "Get v8 stack traces as an array of CallSite objects.",
			"version": "0.0.5",
			"homepage": "https://github.com/felixge/node-stack-trace",
			"repository": {
				"type": "git",
				"url": "git://github.com/felixge/node-stack-trace.git"
			},
			"main": "./lib/stack-trace",
			"engines": {
				"node": "*"
			},
			"dependencies": {},
			"devDependencies": {
				"far": "0.0.3",
				"long-stack-traces": "0.1.2"
			},
			"_npmJsonOpts": {
				"file": "/Users/felix/.npm/stack-trace/0.0.5/package/package.json",
				"wscript": false,
				"contributors": false,
				"serverjs": false
			},
			"_id": "stack-trace@0.0.5",
			"_engineSupported": true,
			"_npmVersion": "1.0.18",
			"_nodeVersion": "v0.4.10-pre",
			"_defaultsLoaded": true,
			"dist": {
				"shasum": "996a48767d9fd68834012dec500abaefcd49ac3c",
				"tarball": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.5.tgz"
			},
			"scripts": {},
			"directories": {},
			"contributors": []
		},
		"0.0.6": {
			"author": {
				"name": "Felix Geisendörfer",
				"email": "felix@debuggable.com",
				"url": "http://debuggable.com/"
			},
			"name": "stack-trace",
			"description": "Get v8 stack traces as an array of CallSite objects.",
			"version": "0.0.6",
			"homepage": "https://github.com/felixge/node-stack-trace",
			"repository": {
				"type": "git",
				"url": "git://github.com/felixge/node-stack-trace.git"
			},
			"main": "./lib/stack-trace",
			"engines": {
				"node": "*"
			},
			"dependencies": {},
			"devDependencies": {
				"far": "0.0.3",
				"long-stack-traces": "0.1.2"
			},
			"_npmJsonOpts": {
				"file": "/Users/felix/.npm/stack-trace/0.0.6/package/package.json",
				"wscript": false,
				"contributors": false,
				"serverjs": false
			},
			"_id": "stack-trace@0.0.6",
			"_engineSupported": true,
			"_npmVersion": "1.0.22",
			"_nodeVersion": "v0.4.10-pre",
			"_defaultsLoaded": true,
			"dist": {
				"shasum": "1e719bd6a2629ff09c189e17a9ef902a94fc5db0",
				"tarball": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.6.tgz"
			},
			"scripts": {},
			"maintainers": [
				{
					"name": "felixge",
					"email": "felix@debuggable.com"
				}
			],
			"directories": {},
			"contributors": []
		},
		"0.0.7": {
			"author": {
				"name": "Felix Geisendörfer",
				"email": "felix@debuggable.com",
				"url": "http://debuggable.com/"
			},
			"name": "stack-trace",
			"description": "Get v8 stack traces as an array of CallSite objects.",
			"version": "0.0.7",
			"homepage": "https://github.com/felixge/node-stack-trace",
			"repository": {
				"type": "git",
				"url": "git://github.com/felixge/node-stack-trace.git"
			},
			"main": "./lib/stack-trace",
			"engines": {
				"node": "*"
			},
			"dependencies": {},
			"devDependencies": {
				"far": "0.0.3",
				"long-stack-traces": "0.1.2"
			},
			"bugs": {
				"url": "https://github.com/felixge/node-stack-trace/issues"
			},
			"_id": "stack-trace@0.0.7",
			"dist": {
				"shasum": "c72e089744fc3659f508cdce3621af5634ec0fff",
				"tarball": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.7.tgz"
			},
			"_from": ".",
			"_npmVersion": "1.2.25",
			"_npmUser": {
				"name": "tim-smart",
				"email": "tim@fostle.com"
			},
			"maintainers": [
				{
					"name": "felixge",
					"email": "felix@debuggable.com"
				},
				{
					"name": "tim-smart",
					"email": "tim@fostle.com"
				}
			],
			"directories": {},
			"contributors": []
		},
		"0.0.8": {
			"author": {
				"name": "Felix Geisendörfer",
				"email": "felix@debuggable.com",
				"url": "http://debuggable.com/"
			},
			"name": "stack-trace",
			"description": "Get v8 stack traces as an array of CallSite objects.",
			"version": "0.0.8",
			"homepage": "https://github.com/felixge/node-stack-trace",
			"repository": {
				"type": "git",
				"url": "git://github.com/felixge/node-stack-trace.git"
			},
			"main": "./lib/stack-trace",
			"engines": {
				"node": "*"
			},
			"dependencies": {},
			"devDependencies": {
				"far": "0.0.3",
				"long-stack-traces": "0.1.2"
			},
			"bugs": {
				"url": "https://github.com/felixge/node-stack-trace/issues"
			},
			"_id": "stack-trace@0.0.8",
			"dist": {
				"shasum": "8a9c30543ed9697f77739c67b053d8b030d86f3e",
				"tarball": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.8.tgz"
			},
			"_from": ".",
			"_npmVersion": "1.3.24",
			"_npmUser": {
				"name": "sebastianhoitz",
				"email": "hoitz@komola.de"
			},
			"maintainers": [
				{
					"name": "sebastianhoitz",
					"email": "hoitz@komola.de"
				}
			],
			"directories": {},
			"contributors": []
		},
		"0.0.9": {
			"author": {
				"name": "Felix Geisendörfer",
				"email": "felix@debuggable.com",
				"url": "http://debuggable.com/"
			},
			"name": "stack-trace",
			"description": "Get v8 stack traces as an array of CallSite objects.",
			"version": "0.0.9",
			"homepage": "https://github.com/felixge/node-stack-trace",
			"repository": {
				"type": "git",
				"url": "git://github.com/felixge/node-stack-trace.git"
			},
			"main": "./lib/stack-trace",
			"engines": {
				"node": "*"
			},
			"dependencies": {},
			"devDependencies": {
				"far": "0.0.3",
				"long-stack-traces": "0.1.2"
			},
			"bugs": {
				"url": "https://github.com/felixge/node-stack-trace/issues"
			},
			"_id": "stack-trace@0.0.9",
			"dist": {
				"shasum": "a8f6eaeca90674c333e7c43953f275b451510695",
				"tarball": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.9.tgz"
			},
			"_from": ".",
			"_npmVersion": "1.3.24",
			"_npmUser": {
				"name": "sebastianhoitz",
				"email": "hoitz@komola.de"
			},
			"maintainers": [
				{
					"name": "felixge",
					"email": "felix@debuggable.com"
				},
				{
					"name": "tim-smart",
					"email": "tim@fostle.com"
				},
				{
					"name": "sebastianhoitz",
					"email": "hoitz@komola.de"
				}
			],
			"directories": {},
			"contributors": []
		},
		"0.0.10": {
			"author": {
				"name": "Felix Geisendörfer",
				"email": "felix@debuggable.com",
				"url": "http://debuggable.com/"
			},
			"name": "stack-trace",
			"description": "Get v8 stack traces as an array of CallSite objects.",
			"version": "0.0.10",
			"homepage": "https://github.com/felixge/node-stack-trace",
			"repository": {
				"type": "git",
				"url": "git://github.com/felixge/node-stack-trace.git"
			},
			"main": "./lib/stack-trace",
			"engines": {
				"node": "*"
			},
			"license": "MIT",
			"dependencies": {},
			"devDependencies": {
				"far": "0.0.3",
				"long-stack-traces": "0.1.2"
			},
			"gitHead": "9a11c5294e37e8c1e8ca0f402711eb100bc7be5e",
			"bugs": {
				"url": "https://github.com/felixge/node-stack-trace/issues"
			},
			"_id": "stack-trace@0.0.10",
			"scripts": {},
			"_shasum": "547c70b347e8d32b4e108ea1a2a159e5fdde19c0",
			"_from": ".",
			"_npmVersion": "4.2.0",
			"_nodeVersion": "7.10.0",
			"_npmUser": {
				"name": "felixge",
				"email": "felix@debuggable.com"
			},
			"maintainers": [
				{
					"name": "felixge",
					"email": "felix@debuggable.com"
				},
				{
					"name": "gajus",
					"email": "gajus@gajus.com"
				},
				{
					"name": "sebastianhoitz",
					"email": "hoitz@komola.de"
				},
				{
					"name": "tim-smart",
					"email": "tim@fostle.com"
				}
			],
			"dist": {
				"shasum": "547c70b347e8d32b4e108ea1a2a159e5fdde19c0",
				"tarball": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz"
			},
			"_npmOperationalInternal": {
				"host": "packages-18-east.internal.npmjs.com",
				"tmp": "tmp/stack-trace-0.0.10.tgz_1494918433070_0.05463112820871174"
			},
			"directories": {},
			"contributors": []
		}
	},
	"time": {
		"modified": "2018-03-19T11:08:31.740Z",
		"created": "2011-06-25T16:09:15.530Z",
		"0.0.1": "2011-06-25T16:09:16.216Z",
		"0.0.2": "2011-07-13T08:16:56.532Z",
		"0.0.3": "2011-07-13T21:31:27.910Z",
		"0.0.4": "2011-07-17T08:38:37.454Z",
		"0.0.5": "2011-07-20T16:10:40.557Z",
		"0.0.6": "2011-08-01T16:58:53.033Z",
		"0.0.7": "2013-07-17T20:55:05.848Z",
		"0.0.8": "2014-02-01T15:11:47.010Z",
		"0.0.9": "2014-02-20T10:40:57.111Z",
		"0.0.10": "2017-05-16T07:07:13.840Z"
	},
	"users": {},
	"dist-tags": {
		"latest": "0.0.10"
	},
	"_uplinks": {
		"npmjs": {
			"etag": "W/\"cd8888485a3d2fff158682c234ae0c80\"",
			"fetched": 1597847605985
		}
	},
	"_distfiles": {
		"stack-trace-0.0.1.tgz": {
			"url": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.1.tgz",
			"sha": "6b4c583666e4996a3616008b67ef9f5247101271",
			"registry": "npmjs"
		},
		"stack-trace-0.0.2.tgz": {
			"url": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.2.tgz",
			"sha": "17df29a3e16f2b1f424b71d4a1bdcf5a18aed2e5",
			"registry": "npmjs"
		},
		"stack-trace-0.0.3.tgz": {
			"url": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.3.tgz",
			"sha": "b10dc24b9e86a242cc69fbabf0f60d6284b20e12",
			"registry": "npmjs"
		},
		"stack-trace-0.0.4.tgz": {
			"url": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.4.tgz",
			"sha": "f278a4dd79608f5ceb80f4fd7064842934a40f4a",
			"registry": "npmjs"
		},
		"stack-trace-0.0.5.tgz": {
			"url": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.5.tgz",
			"sha": "996a48767d9fd68834012dec500abaefcd49ac3c",
			"registry": "npmjs"
		},
		"stack-trace-0.0.6.tgz": {
			"url": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.6.tgz",
			"sha": "1e719bd6a2629ff09c189e17a9ef902a94fc5db0",
			"registry": "npmjs"
		},
		"stack-trace-0.0.7.tgz": {
			"url": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.7.tgz",
			"sha": "c72e089744fc3659f508cdce3621af5634ec0fff",
			"registry": "npmjs"
		},
		"stack-trace-0.0.8.tgz": {
			"url": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.8.tgz",
			"sha": "8a9c30543ed9697f77739c67b053d8b030d86f3e",
			"registry": "npmjs"
		},
		"stack-trace-0.0.9.tgz": {
			"url": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.9.tgz",
			"sha": "a8f6eaeca90674c333e7c43953f275b451510695",
			"registry": "npmjs"
		},
		"stack-trace-0.0.10.tgz": {
			"url": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz",
			"sha": "547c70b347e8d32b4e108ea1a2a159e5fdde19c0",
			"registry": "npmjs"
		}
	},
	"_attachments": {
		"stack-trace-0.0.10.tgz": {
			"shasum": "547c70b347e8d32b4e108ea1a2a159e5fdde19c0"
		}
	},
	"_rev": "11-a3ad4f35e5b6d596",
	"_id": "stack-trace",
	"readme": "# stack-trace\n\nGet v8 stack traces as an array of CallSite objects.\n\n## Install\n\n``` bash\nnpm install stack-trace\n```\n\n## Usage\n\nThe stack-trace module makes it easy for you to capture the current stack:\n\n``` javascript\nvar stackTrace = require('stack-trace');\nvar trace = stackTrace.get();\n\nrequire('assert').strictEqual(trace[0].getFileName(), __filename);\n```\n\nHowever, sometimes you have already popped the stack you are interested in,\nand all you have left is an `Error` object. This module can help:\n\n``` javascript\nvar stackTrace = require('stack-trace');\nvar err = new Error('something went wrong');\nvar trace = stackTrace.parse(err);\n\nrequire('assert').strictEqual(trace[0].getFileName(), __filename);\n```\n\nPlease note that parsing the `Error#stack` property is not perfect, only\ncertain properties can be retrieved with it as noted in the API docs below.\n\n## Long stack traces\n\nstack-trace works great with [long-stack-traces][], when parsing an `err.stack`\nthat has crossed the event loop boundary, a `CallSite` object returning\n`'----------------------------------------'` for `getFileName()` is created.\nAll other methods of the event loop boundary call site return `null`.\n\n[long-stack-traces]: https://github.com/tlrobinson/long-stack-traces\n\n## API\n\n### stackTrace.get([belowFn])\n\nReturns an array of `CallSite` objects, where element `0` is the current call\nsite.\n\nWhen passing a function on the current stack as the `belowFn` parameter, the\nreturned array will only include `CallSite` objects below this function.\n\n### stackTrace.parse(err)\n\nParses the `err.stack` property of an `Error` object into an array compatible\nwith those returned by `stackTrace.get()`. However, only the following methods\nare implemented on the returned `CallSite` objects.\n\n* getTypeName\n* getFunctionName\n* getMethodName\n* getFileName\n* getLineNumber\n* getColumnNumber\n* isNative\n\nNote: Except `getFunctionName()`, all of the above methods return exactly the\nsame values as you would get from `stackTrace.get()`. `getFunctionName()`\nis sometimes a little different, but still useful.\n\n### CallSite\n\nThe official v8 CallSite object API can be found [here][v8stackapi]. A quick\nexcerpt:\n\n> A CallSite object defines the following methods:\n>\n> * **getThis**: returns the value of this\n> * **getTypeName**: returns the type of this as a string. This is the name of the function stored in the constructor field of this, if available, otherwise the object's [[Class]] internal property.\n> * **getFunction**: returns the current function\n> * **getFunctionName**: returns the name of the current function, typically its name property. If a name property is not available an attempt will be made to try to infer a name from the function's context.\n> * **getMethodName**: returns the name of the property of this or one of its prototypes that holds the current function\n> * **getFileName**: if this function was defined in a script returns the name of the script\n> * **getLineNumber**: if this function was defined in a script returns the current line number\n> * **getColumnNumber**: if this function was defined in a script returns the current column number\n> * **getEvalOrigin**: if this function was created using a call to eval returns a CallSite object representing the location where eval was called\n> * **isToplevel**: is this a toplevel invocation, that is, is this the global object?\n> * **isEval**: does this call take place in code defined by a call to eval?\n> * **isNative**: is this call in native V8 code?\n> * **isConstructor**: is this a constructor call?\n\n[v8stackapi]: http://code.google.com/p/v8/wiki/JavaScriptStackTraceApi\n\n## License\n\nstack-trace is licensed under the MIT license."
}