106 lines
3.3 KiB
JSON
106 lines
3.3 KiB
JSON
|
{
|
||
|
"_args": [
|
||
|
[
|
||
|
{
|
||
|
"raw": "serialize-error@^2.1.0",
|
||
|
"scope": null,
|
||
|
"escapedName": "serialize-error",
|
||
|
"name": "serialize-error",
|
||
|
"rawSpec": "^2.1.0",
|
||
|
"spec": ">=2.1.0 <3.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/metro"
|
||
|
]
|
||
|
],
|
||
|
"_from": "serialize-error@>=2.1.0 <3.0.0",
|
||
|
"_id": "serialize-error@2.1.0",
|
||
|
"_inCache": true,
|
||
|
"_location": "/serialize-error",
|
||
|
"_nodeVersion": "6.9.1",
|
||
|
"_npmOperationalInternal": {
|
||
|
"host": "packages-12-west.internal.npmjs.com",
|
||
|
"tmp": "tmp/serialize-error-2.1.0.tgz_1479786904612_0.7532467234414071"
|
||
|
},
|
||
|
"_npmUser": {
|
||
|
"name": "sindresorhus",
|
||
|
"email": "sindresorhus@gmail.com"
|
||
|
},
|
||
|
"_npmVersion": "3.10.8",
|
||
|
"_phantomChildren": {},
|
||
|
"_requested": {
|
||
|
"raw": "serialize-error@^2.1.0",
|
||
|
"scope": null,
|
||
|
"escapedName": "serialize-error",
|
||
|
"name": "serialize-error",
|
||
|
"rawSpec": "^2.1.0",
|
||
|
"spec": ">=2.1.0 <3.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"_requiredBy": [
|
||
|
"/metro"
|
||
|
],
|
||
|
"_resolved": "https://registry.npmjs.org/serialize-error/-/serialize-error-2.1.0.tgz",
|
||
|
"_shasum": "50b679d5635cdf84667bdc8e59af4e5b81d5f60a",
|
||
|
"_shrinkwrap": null,
|
||
|
"_spec": "serialize-error@^2.1.0",
|
||
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/metro",
|
||
|
"author": {
|
||
|
"name": "Sindre Sorhus",
|
||
|
"email": "sindresorhus@gmail.com",
|
||
|
"url": "sindresorhus.com"
|
||
|
},
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/sindresorhus/serialize-error/issues"
|
||
|
},
|
||
|
"dependencies": {},
|
||
|
"description": "Serialize an error into a plain object",
|
||
|
"devDependencies": {
|
||
|
"ava": "*",
|
||
|
"xo": "^0.16.0"
|
||
|
},
|
||
|
"directories": {},
|
||
|
"dist": {
|
||
|
"shasum": "50b679d5635cdf84667bdc8e59af4e5b81d5f60a",
|
||
|
"tarball": "https://registry.npmjs.org/serialize-error/-/serialize-error-2.1.0.tgz"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">=0.10.0"
|
||
|
},
|
||
|
"files": [
|
||
|
"index.js"
|
||
|
],
|
||
|
"gitHead": "842f3dadec486bf6e69d7106bae1a550a15cbdae",
|
||
|
"homepage": "https://github.com/sindresorhus/serialize-error#readme",
|
||
|
"keywords": [
|
||
|
"error",
|
||
|
"err",
|
||
|
"serialize",
|
||
|
"stringify",
|
||
|
"object",
|
||
|
"obj",
|
||
|
"convert",
|
||
|
"process",
|
||
|
"send"
|
||
|
],
|
||
|
"license": "MIT",
|
||
|
"maintainers": [
|
||
|
{
|
||
|
"name": "sindresorhus",
|
||
|
"email": "sindresorhus@gmail.com"
|
||
|
}
|
||
|
],
|
||
|
"name": "serialize-error",
|
||
|
"optionalDependencies": {},
|
||
|
"readme": "# serialize-error [![Build Status](https://travis-ci.org/sindresorhus/serialize-error.svg?branch=master)](https://travis-ci.org/sindresorhus/serialize-error)\n\n> Serialize an error into a plain object\n\nUseful if you for example need to `JSON.stringify()` or `process.send()` the error.\n\n\n## Install\n\n```\n$ npm install --save serialize-error\n```\n\n\n## Usage\n\n```js\nconst serializeError = require('serialize-error');\nconst error = new Error('unicorn');\n\nconsole.log(error);\n//=> [Error: unicorn]\n\nconsole.log(serializeError(error));\n//=> {name: 'Error', message: 'unicorn', stack: 'Error: unicorn\\n at Object.<anonymous> ...'}\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
|
||
|
"readmeFilename": "readme.md",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git+https://github.com/sindresorhus/serialize-error.git"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"test": "xo && ava"
|
||
|
},
|
||
|
"version": "2.1.0"
|
||
|
}
|