{"maintainers":[{"name":"anonymous","email":"tobias@electerious.com"}],"keywords":["try","catch","error"],"dist-tags":{"latest":"4.0.2"},"description":"Tries to execute a function and discards any error that occurs","readme":"# nice-try\n\n![Build](https://github.com/electerious/nice-try/workflows/Build/badge.svg)\n\nA function that tries to execute a function and discards any error that occurs.\n\n## Install\n\n```bash\nnpm install nice-try\n```\n\n## Usage\n\n```js\nimport niceTry from 'nice-try'\n\nniceTry(() => JSON.parse('true')) // true\nniceTry(() => JSON.parse('error')) // undefined\nniceTry() // undefined\nniceTry(true) // undefined\n```\n\n```js\nimport niceTry from 'nice-try/promises'\n\nawait niceTry(async () => JSON.parse('true')) // true\nawait niceTry(async () => JSON.parse('error')) // undefined\n```\n\n## API\n\n### `nice-try`\n\n#### Parameters\n\n- `fn` `{Function}` The function to execute.\n\n#### Returns\n\n- `{*}` The return value of the function, or `undefined` if an error occurred.\n\n### `nice-try/promises`\n\n#### Parameters\n\n- `fn` `{Function}` An asynchronous function to execute.\n\n#### Returns\n\n- `{Promise<*>}` The result of the function if it resolves successfully, otherwise undefined if an error is thrown.\n\n## What others say\n\nThis module is a controversial thing and people like to get mad about it. I decided to give those people a voice. Here's what they're saying.\n\n> fundamentally inane\n\n— frou_dh\n\n> the worst Javascript library […] in several categories\n\n— kuzux\n\n> how is this a thing\n\n— uint8_t\n\n> This is blowing my mind\n\n— mr_jim_lahey\n\n> a shit-tastic try-catch alias\n\n— Dropping_fruits\n\n> I assumed every commit was a joke, but after researching the maintainer a bit I'm not sure it is...\n\n— MrPineappleHat\n","repository":{"type":"git","url":"git+https://github.com/electerious/nice-try.git"},"bugs":{"url":"https://github.com/electerious/nice-try/issues"},"license":"MIT","versions":{"1.0.0":{"name":"nice-try","version":"1.0.0","keywords":["try","catch","error"],"license":"MIT","_id":"nice-try@1.0.0","maintainers":[{"name":"anonymous","email":"tobias@electerious.com"}],"homepage":"http://github.com/electerious/nice-try","bugs":{"url":"https://github.com/electerious/nice-try/issues"},"dist":{"shasum":"c9738a786bb1e85ec6a37ccd0ac65f8d7c34258e","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/nice-try/-/nice-try-1.0.0.tgz","integrity":"sha512-vIOZpoxmAYb0HYDcDiwToBQ461M4RkLA5DYcYBvrsiWWOPMNykkLd9cf1LklqBUFlIeWbMat3FqsNGYfPiFILg==","signatures":[{"sig":"MEQCIC3qHcmHiakaroCJcV5F3cpPaQRqw2y5w8BGUd9k7z6cAiATnvYAkB+CW/4OOw0jRgR5wlj3OkV0aUT7qXu6yjAciA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","_from":".","files":["src"],"_shasum":"c9738a786bb1e85ec6a37ccd0ac65f8d7c34258e","authors":["Tobias Reich <tobias@electerious.com>"],"gitHead":"9ff2b705fad7750425704e8c8c7f1d3730004707","scripts":{"test":"istanbul cover _mocha","coveralls":"cat ./coverage/lcov.info | coveralls"},"_npmUser":{"name":"anonymous","email":"tobias@electerious.com"},"repository":{"url":"git+https://github.com/electerious/nice-try.git","type":"git"},"_npmVersion":"3.10.5","description":"Tries to execute a function and discards any error that occurs","directories":{},"_nodeVersion":"6.2.0","devDependencies":{"chai":"^3.5.0","mocha":"^2.5.3","istanbul":"^0.4.4","coveralls":"^2.11.9"},"_npmOperationalInternal":{"tmp":"tmp/nice-try-1.0.0.tgz_1469891003463_0.40353943104855716","host":"packages-16-east.internal.npmjs.com"}},"1.0.1":{"name":"nice-try","version":"1.0.1","keywords":["try","catch","error"],"license":"MIT","_id":"nice-try@1.0.1","maintainers":[{"name":"anonymous","email":"tobias@electerious.com"}],"homepage":"http://github.com/electerious/nice-try","bugs":{"url":"https://github.com/electerious/nice-try/issues"},"dist":{"shasum":"60fe52ba3a451e24718ce665ee415d7098203423","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/nice-try/-/nice-try-1.0.1.tgz","integrity":"sha512-USofKjeHvOAMTPQi9C5YQQdfem1Sl4hxJkAKhQ1Ibjkp46dBs7MU19C5gatHTXIxUMGSJZr8gbnuD2ggm7QVvg==","signatures":[{"sig":"MEUCICfibcCk29znDnrX1/C163pU5tYEATmlVq9Q2bj4d7INAiEAoOnN+JJPih7IintwdtOOfCJu2FuG3qIJtOA8FORIomE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","_from":".","files":["src"],"_shasum":"60fe52ba3a451e24718ce665ee415d7098203423","authors":["Tobias Reich <tobias@electerious.com>"],"gitHead":"287c4f7b9aaee05fbda115f39b9c4b25b484a25b","scripts":{"test":"istanbul cover _mocha","coveralls":"cat ./coverage/lcov.info | coveralls","prepublish":"npm test"},"_npmUser":{"name":"anonymous","email":"tobias@electerious.com"},"repository":{"url":"git+https://github.com/electerious/nice-try.git","type":"git"},"_npmVersion":"3.10.5","description":"Tries to execute a function and discards any error that occurs","directories":{},"_nodeVersion":"6.2.0","devDependencies":{"chai":"^3.5.0","mocha":"^2.5.3","istanbul":"^0.4.4","coveralls":"^2.11.9"},"_npmOperationalInternal":{"tmp":"tmp/nice-try-1.0.1.tgz_1470429132092_0.4102739121299237","host":"packages-16-east.internal.npmjs.com"}},"1.0.2":{"name":"nice-try","version":"1.0.2","keywords":["try","catch","error"],"license":"MIT","_id":"nice-try@1.0.2","maintainers":[{"name":"anonymous","email":"tobias@electerious.com"}],"homepage":"http://github.com/electerious/nice-try","bugs":{"url":"https://github.com/electerious/nice-try/issues"},"dist":{"shasum":"2c597a35778809d58cb6c512ab562f0ace2605f5","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/nice-try/-/nice-try-1.0.2.tgz","integrity":"sha512-2Mm0h1Ka8rVuhpXdUHii8GHvLobrVvLIbiqVuuha7/r0P4FKalLP7lQBDurFMwaO04a9T8ht2IXIlvhHGasQHg==","signatures":[{"sig":"MEYCIQCJ8hqY1TQzT7wkfQVr7l/sdHwHUzqpJ50S+LTCE26IwwIhAN7N4h/VMTCz64WWpExKtmIyylc26qSF6tFwtFiim2Bl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","_from":".","files":["src"],"_shasum":"2c597a35778809d58cb6c512ab562f0ace2605f5","authors":["Tobias Reich <tobias@electerious.com>"],"gitHead":"c39e619380c3a60fdfc2575825458eedf6c3ffdc","scripts":{"test":"istanbul cover _mocha","coveralls":"cat ./coverage/lcov.info | coveralls","prepublish":"npm test"},"_npmUser":{"name":"anonymous","email":"tobias@electerious.com"},"repository":{"url":"git+https://github.com/electerious/nice-try.git","type":"git"},"_npmVersion":"3.10.5","description":"Tries to execute a function and discards any error that occurs","directories":{},"_nodeVersion":"6.2.0","devDependencies":{"chai":"^3.5.0","mocha":"^3.0.1","istanbul":"^0.4.4","coveralls":"^2.11.9"},"_npmOperationalInternal":{"tmp":"tmp/nice-try-1.0.2.tgz_1470429184831_0.9986453240271658","host":"packages-16-east.internal.npmjs.com"}},"1.0.3":{"name":"nice-try","version":"1.0.3","keywords":["try","catch","error"],"license":"MIT","_id":"nice-try@1.0.3","maintainers":[{"name":"anonymous","email":"tobias@electerious.com"}],"homepage":"https://github.com/electerious/nice-try","bugs":{"url":"https://github.com/electerious/nice-try/issues"},"dist":{"shasum":"8883491b1c030d32f652fff9c8e454d31f5168ba","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/nice-try/-/nice-try-1.0.3.tgz","integrity":"sha512-h61pbopmod3HJ0A8v5UVZKXW4Z/aiemOEcWuEp2qmyS+hCvxYHKWulGVZOwDOcekuuIPx/lr6TzvroSj1uhWwQ==","signatures":[{"sig":"MEUCIQC7L2aJ1bKGsLBXUV73DVd3kV2DRJv9N3/tXMKCcZsRfAIgOnTiUDQ9bAecKAQ7P0ypIvQFY8KHf/iJ99GdWvQzbdA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","_from":".","files":["src"],"_shasum":"8883491b1c030d32f652fff9c8e454d31f5168ba","authors":["Tobias Reich <tobias@electerious.com>"],"gitHead":"0d2ac8938432dcfd79be0528bf7d289fc2f692a4","scripts":{"test":"istanbul cover node_modules/mocha/bin/_mocha","coveralls":"cat ./coverage/lcov.info | coveralls","prepublish":"npm test"},"_npmUser":{"name":"anonymous","email":"tobias@electerious.com"},"repository":{"url":"git+https://github.com/electerious/nice-try.git","type":"git"},"_npmVersion":"4.5.0","description":"Tries to execute a function and discards any error that occurs","directories":{},"_nodeVersion":"7.10.0","devDependencies":{"chai":"^4.0.1","mocha":"^3.0.1","istanbul":"^0.4.4","coveralls":"^2.11.9"},"_npmOperationalInternal":{"tmp":"tmp/nice-try-1.0.3.tgz_1497124665780_0.9773363170679659","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"nice-try","version":"1.0.4","keywords":["try","catch","error"],"license":"MIT","_id":"nice-try@1.0.4","maintainers":[{"name":"anonymous","email":"tobias@electerious.com"}],"homepage":"https://github.com/electerious/nice-try","bugs":{"url":"https://github.com/electerious/nice-try/issues"},"dist":{"shasum":"d93962f6c52f2c1558c0fbda6d512819f1efe1c4","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/nice-try/-/nice-try-1.0.4.tgz","integrity":"sha512-2NpiFHqC87y/zFke0fC0spBXL3bBsoh/p5H1EFhshxjCR5+0g2d6BiXbUFz9v1sAcxsk2htp2eQnNIci2dIYcA==","signatures":[{"sig":"MEYCIQCaw1d3yA3kERzfwSETqEXy2XBGITW3ysS8aq1hbnzJfAIhAKXT6m82B9vjhmV6nHTaOJEEo0jIL5n/LFYgKKavAE6b","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","files":["src"],"authors":["Tobias Reich <tobias@electerious.com>"],"gitHead":"c3b571e36646eb738485d86c56c77c4d3908a02b","scripts":{"test":"nyc node_modules/mocha/bin/_mocha","coveralls":"nyc report --reporter=text-lcov | coveralls","prepublish":"npm test"},"_npmUser":{"name":"anonymous","email":"tobias@electerious.com"},"repository":{"url":"git+https://github.com/electerious/nice-try.git","type":"git"},"_npmVersion":"5.3.0","description":"Tries to execute a function and discards any error that occurs","directories":{},"_nodeVersion":"8.1.2","devDependencies":{"nyc":"^11.1.0","chai":"^4.1.1","mocha":"^3.5.0","coveralls":"^2.13.1"},"_npmOperationalInternal":{"tmp":"tmp/nice-try-1.0.4.tgz_1502220875294_0.13720005913637578","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"nice-try","version":"1.0.5","keywords":["try","catch","error"],"license":"MIT","_id":"nice-try@1.0.5","maintainers":[{"name":"anonymous","email":"tobias@electerious.com"}],"homepage":"https://github.com/electerious/nice-try","bugs":{"url":"https://github.com/electerious/nice-try/issues"},"dist":{"shasum":"a3378a7696ce7d223e88fc9b764bd7ef1089e366","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/nice-try/-/nice-try-1.0.5.tgz","fileCount":5,"integrity":"sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==","signatures":[{"sig":"MEUCIQDGlLH2QLN8mYwE4A5Dn/lD/fw5u2t4j1IRjZg0Egfg6AIgTuVGHpdI2uMfdJYnh0pEZUAGbyw1ln+TjAr1BvzsKDI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3747,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbgafuCRA9TVsSAnZWagAA/IUP/iR0HhUogu5qXTvZuZPb\npV8xoa4uaDvMrhfGcRIBN4qyt3oPjFvNWrfJcT20cNXd4X8B5c6UQdU0cvQ3\nLvYheSMavUoxWmZZS1SWEW8pd6IB2qKx+E/WfF9/NbYeRxrf33ome9wy29SX\nKYeAazZYmP8d7Kgjqv2aCMlY53uFH/prHdhFjDd+MmWUXP7cgc8eLGKC7op3\nCVdIjG0fQVBL7m8x8+APy0M3MQryO1i5f30YvoxTnHkxOvrDWfD4ANgLPjMC\na8JqSDaJcCnTKdsLVeFPX/ZWi/FpFBMsqPSoPIOHGOzlopNFGBNrNivf6/mV\n5IMxYZKql09GLKpaQH4DuIjMLT2x2SvhUCrFPRY4lSZZMI02sYwf4CveVVP0\nMn86lsS1uLKQg7jteyn/CjqnyN3dlrph9lR2wfCGzMZp+WmhILJn2WSmoxf9\nb2cooLwlrEuDiULerS6KiufJr26yJ8tJIr3PPV7DXOgoGUg/XkWnne8x9hi3\nCO7a2VOyk6Wk1gv2U7RBW7dnG7MuZfZAou2IZN5evZYWHhPVrxh77Y+zfweQ\n5lX2ZMJE3jDsTU2+krA6zQsoSYarGixOrM7KC5Sku6BqGmz8xsp4dLgwoi50\nzWJNiGEbd+Lxqj9W9Hu1XqeRiuo0M1tCzUKtscHVcNzF8dSLwbIUq7AnZdCk\nl9kk\r\n=Vcyt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","files":["src"],"authors":["Tobias Reich <tobias@electerious.com>"],"gitHead":"87013431e0877520763863f77dcb77dfd11eb2a9","scripts":{"test":"nyc node_modules/mocha/bin/_mocha","coveralls":"nyc report --reporter=text-lcov | coveralls"},"_npmUser":{"name":"anonymous","email":"tobias@electerious.com"},"repository":{"url":"git+https://github.com/electerious/nice-try.git","type":"git"},"_npmVersion":"5.6.0","description":"Tries to execute a function and discards any error that occurs","directories":{},"_nodeVersion":"8.11.3","_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.1","chai":"^4.1.2","mocha":"^5.1.1","coveralls":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nice-try_1.0.5_1535223789413_0.5231590849746954","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"nice-try","version":"2.0.0","keywords":["try","catch","error"],"license":"MIT","_id":"nice-try@2.0.0","maintainers":[{"name":"anonymous","email":"tobias@electerious.com"}],"homepage":"https://github.com/electerious/nice-try","bugs":{"url":"https://github.com/electerious/nice-try/issues"},"dist":{"shasum":"0ccb36ce82be13528f0217334adcf870c8eb3356","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/nice-try/-/nice-try-2.0.0.tgz","fileCount":5,"integrity":"sha512-/o4KoXbUkEjD2NDwvBCkSzEDOfMuHPmbzSD5Pp2Bb5U/69MnEvpc4YfW2Y1BJqJpcaam04+fR0kF8n5xm8b6MQ==","signatures":[{"sig":"MEQCIEruVSmdOtl17fXTA+h9cTOjpUhg9Ou7tH5QjAx+osWiAiB7S20Rt5zU0q5eT9T4brnkpB/WbLUe1nPw4OTX2poSPA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3845,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb1dRuCRA9TVsSAnZWagAAJ9IP/06VtALBKUcG/fRdUT0X\nUnGpvzY/SXD/V0JFtdNYLBAVxwDMIfNKCEjHJ0dWuG++UnRThq4ZJnufYaLe\nJw3+IWX1wCs0h3h3llmAQTwuB241T7NnufLmSJumcgNIJChAYeAtXpxfB1aG\njahRNQ4Rx/6JijP4frtylkujVYMSU7gqluLK1ompZovict8koJ+xPfqJwP4b\nm9SwMlmNiIgKPHAZTL2AQ3zKXrtdX7o5ytahcWH3+g7gtaDPX+yYH/DQXSCe\nJTH7Ro+UJ1RyRwVoQVF//i7kBTPJyp2krfdkZSF+Q2HUcn+R2cy7y6qRtm4v\nGScSOEWB5fapgHblTtyVSBZx2DmvfBCEatdFLzyl0PCb0vskzkU3Z+UW9cjO\nekEUW1ipQjHVLnO0v5UD71VKK0Uu6ze20i+bKlW/qn50N6LsytNMgGVQUE6N\nKJClZozGOk+kW8UYeOYRlzKozxmBM3o/j1pDCJIB5s/yMyjU5YTp54i1hP2+\nLw7uKAwTq6cHNSZuocZF++7zbcgrV6l202C+7PobJMVvPq0UDcyih59O/PyZ\npUhjVhXq64x459V6/IeQ7gL5G+gXOO6FFF/UMjgLXiC+XwQpFs16NvT7JwhW\nd7j381LnmDuojlJ78zBhxj5jM9+erl+kScQTX+ZB8V3vSvp19hNbvO3u+bFM\nqyqV\r\n=DD28\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","authors":["Tobias Reich <tobias@electerious.com>"],"gitHead":"3f015226c11668df52c2c2d4799fbb684b739e52","scripts":{"test":"nyc node_modules/mocha/bin/_mocha","coveralls":"nyc report --reporter=text-lcov | coveralls"},"_npmUser":{"name":"anonymous","email":"tobias@electerious.com"},"repository":{"url":"git+https://github.com/electerious/nice-try.git","type":"git"},"_npmVersion":"5.6.0","description":"Tries to execute a function and discards any error that occurs","directories":{},"_nodeVersion":"8.11.4","_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.1","chai":"^4.1.2","mocha":"^5.1.1","coveralls":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nice-try_2.0.0_1540740205675_0.9418092813552867","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"nice-try","version":"2.0.1","keywords":["try","catch","error"],"license":"MIT","_id":"nice-try@2.0.1","maintainers":[{"name":"anonymous","email":"tobias@electerious.com"}],"homepage":"https://github.com/electerious/nice-try","bugs":{"url":"https://github.com/electerious/nice-try/issues"},"dist":{"shasum":"7099dfc79b1fe8ac04870288385217a48a5d6e25","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/nice-try/-/nice-try-2.0.1.tgz","fileCount":5,"integrity":"sha512-+F6drVcPo6ABeuxhTieYy8aH/JkyrxM0g2nNK9p9mIHAVypyKqPr2fC2qLNNmVUtMWGGXSIJSJQAjpQ+B8bllg==","signatures":[{"sig":"MEUCIA1XudwD9Ug1Xcd8BtUBotZZt1hS27dXbJeMmixrWg2GAiEAporEew8RqkNrN1R9irwhdY3r5ex81GTSd3IqO5ZCqJI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3765,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJedJj/CRA9TVsSAnZWagAAZBcQAI1gAYLJdKXgbaZB0OD9\n3L+Y7UdNhn9sIjNNTNv9Gz4+KG+veAejL7p8yh4qzeTde0IzWKOnDG4LElrp\npPKV8Y8ruzSTENDIUWPQTD56lQi0A5IYDKKbJsDBNRXJNQ5/Es0/Aqlg71Rq\nnUMn0Ud/akFNP+UoLiLef5H1qyn7G19Qx82oSbB0xRTiOiV305ew8pK7KYHV\nG5A4edqn7tJZfl+Kr92jJtHpLeOK9/43qLi3tfUjvTWn2xVTLYr1h3yi3+xq\n8wEmv4Ju18EcQtGJsTKkttfxEFEl5hv2OrpNwvXYSZjyu0O9Mku9HCkZDytG\nVEdMvfboa2Z99eEpkfWHdwPuOIePaCGnTHX779DH4Cf3kCfFE9Xi7//c0QXD\nHe7wx2f6f4mi2G2ffSroFqzWlcW1A1p31+QrXZXoNa+hGbwSGbS98zGJdu27\nmI5lsMFJdSAWbhp4R4x4O5RbP0dHDe05ILlwKvwpGm2ObxlIgHMWonQxB9EG\nNjcph6qPindyZ0Q0VmAfksZty7h/Me8rNHbtozBKvVs22GgxzKcs7Fe6T5UQ\ncEfvo3XpX+QGO0KExYpTooeafrBV6vO79J3BMPT+6YT4k10fbVCgs5yYENSR\nb/pHNTo6FPYn873VGtquc+DMihmjE+kK3MdFW3ZKd59o9drCMCFgQxnBdDoE\nbdwm\r\n=lGL+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","authors":["Tobias Reich <tobias@electerious.com>"],"gitHead":"95d9ba8f65ecb216145dc5b2695b250635daadd8","scripts":{"test":"nyc node_modules/mocha/bin/_mocha","coveralls":"nyc report --reporter=text-lcov | coveralls"},"_npmUser":{"name":"anonymous","email":"tobias@electerious.com"},"repository":{"url":"git+https://github.com/electerious/nice-try.git","type":"git"},"_npmVersion":"6.13.7","description":"Tries to execute a function and discards any error that occurs","directories":{},"_nodeVersion":"12.14.1","_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.0.0","chai":"^4.1.2","mocha":"^7.0.1","coveralls":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nice-try_2.0.1_1584699647085_0.5007244220982261","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"nice-try","version":"2.1.0","keywords":["try","catch","error"],"license":"MIT","_id":"nice-try@2.1.0","maintainers":[{"name":"anonymous","email":"tobias@electerious.com"}],"homepage":"https://github.com/electerious/nice-try","bugs":{"url":"https://github.com/electerious/nice-try/issues"},"dist":{"shasum":"d818aaf628993b4de39d11e9b53be224152b38c3","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/nice-try/-/nice-try-2.1.0.tgz","fileCount":5,"integrity":"sha512-ZR863POogZo2DpqQkqeUHM01Fg73CVSVoP2Gq7Wjn8AYv7R1rRkvXx4Bf6PsXhyBGDhsN6rKCPflGDjn3+flWg==","signatures":[{"sig":"MEUCIHAYjOMJDn8C61zvUpylHBhMRVSQ4UnL58VoiYeXdPXEAiEAvXzO6kJbkr7vm2a+T9/ht8VAc7e7WRlLg3+ULqaA5nk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4368,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfgfgDCRA9TVsSAnZWagAAUv4QAInDLm44sqoqrECwAy+N\n3YECe6sECcJ55G9wKA8yqsXNgorSJDXv7kbL1Fp3ZrL4BptUvsIY0WjaZXrv\n3TaLfszLd0ZyrZzvqC/pZojIN53ZkEtOZr99qW/NSE2Gl1wf84PKiaULQPar\nRnNdAcPUwj3WsG/w2LoPuJmRq3d7GeCH9bdNpImGdGssd3xoWGW8sNCMgjdu\nbQ8wrHjRa9LvzwSBZf1K59s4tBO/3QYnIbDzUL3sgBuQVAeWbK8XTYKpiZ/U\n9siQi7naEMTUbu9+6GCp3gSall4GaQW/iPFlTYpgixfbXOAKlmokugw9IF0P\nGmJcBKO5nNa56W15kta6ctoSI2CMJKZymQyxz2oK2hy+4jIYSE2Kg3UIIKCf\nE8K4dbwBd7w3Y0wE/aqKNuEq6GoHok6Zef4ZFXQ2XHBJUSlJ1rtgsmNVVsog\nY1Whb9dxeGshgi707MscZSfi9cIhmpevMNm9O4fj+EYi4KyC3xPMvEy5sEdw\n1K7nYduLJfNXYOgcyrPJKrgrTrwo8WSSSz54o2RWk4ZgGDtMRoOO30CbyAP2\nZpw/p2Z5wJgM92LPvZtmsAfJ0rlreFGAHf/bSOi3gEXnPa8BeRf0QKW7wtSr\nl4Tj1bAKljRGLRJ7F2ax/mqpHxmUIJ2RuoB7zX4jtkhjE5UEcaoqp3ro+tge\n0xZr\r\n=QqSA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","authors":["Tobias Reich <tobias@electerious.com>"],"gitHead":"ffb8047abf3f14c33bb4ddf5144b3e418d9eb083","scripts":{"test":"nyc node_modules/mocha/bin/_mocha","coveralls":"nyc report --reporter=text-lcov | coveralls"},"_npmUser":{"name":"anonymous","email":"tobias@electerious.com"},"repository":{"url":"git+https://github.com/electerious/nice-try.git","type":"git"},"_npmVersion":"6.14.5","description":"Tries to execute a function and discards any error that occurs","directories":{},"_nodeVersion":"14.5.0","_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^4.1.2","mocha":"^8.1.3","coveralls":"^3.1.0"},"_npmOperationalInternal":{"tmp":"tmp/nice-try_2.1.0_1602353155224_0.6618185573080881","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"nice-try","version":"3.0.0","keywords":["try","catch","error"],"license":"MIT","_id":"nice-try@3.0.0","maintainers":[{"name":"anonymous","email":"tobias@electerious.com"}],"homepage":"https://github.com/electerious/nice-try","bugs":{"url":"https://github.com/electerious/nice-try/issues"},"dist":{"shasum":"38f7584ae0d3703cde8317bb78fdbc4ef6dffe40","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/nice-try/-/nice-try-3.0.0.tgz","fileCount":5,"integrity":"sha512-JVAWBFZ6kFO/c6jtbcYAM4aAJK5XnAOyWAgBZ53V1HUNTfIjJdjXa96oWhDpegeQSRhTQXpOwU5bpYbzkkrcSA==","signatures":[{"sig":"MEQCIFWjOHBdYPmX3iUiP0S+GEmMwFl2XIPKNVG9RiMZC7LMAiA1jAOik43Coq7f7dxLtLCflNCUcfAq/BYe3v2lTN0QHg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgO3d4CRA9TVsSAnZWagAA+rYP/R749nNdetr0N0jnvDF0\nm9xH4sbl2Z8QOxNI+IebwZXixTxP9Gf262NRmVnxXoeDfGp4H6I+dHtILDHC\nlI61FnGxv4lKCWveFjcGZbWnWlSXodpqLR/y6shMowSScYBrqXsLuD31DUsb\nGiy0Wj8Y2uxUE/qciIFDixVkM82nDS8WTiozZ8LyyvO0lCzzMRjuJ0knV60R\nWE4Xt3xwKgKZvR9LgjUKHMcEJjR4nGTvFjnPZQeEH2GxqYvWuKugktvxFVJu\nTQMrZznY5DTkiBxXM2dq8nfojllmhxZFFegGBsl9c92juIoDwlhB5Q/UbKrv\nS0lR2axpAeYGh8Z32NjanJ1FbaARP4LGmq58Ciq8Xl0VskPKmx0gVN0YzJMR\nIUOhuZat+RJb7H7w02isItw9OaKS4XAnPxhFcAjblDYjJiU/SDdt8dgBQxhk\nljr5Wz897ktmkYmkSI3XukqZ3vNGHL0iidkqPMxrOMqCPKFG2vgXdSkVXwZd\nUCkmCrgI5Url57l0snTlqVbw6//6tQGnyUDjNdoqK2/QOqyOc3Po2ETodeo9\nRji7qB4S8nKzFLKhd4e8jcLcdQxlpjRhETHs7TpR18Yp8yak/n/ClFm7ruUI\nD55qXCEZhT8uA3uq67A5NR+4UOrvpXx8Wtde/wEl6P2tF2KJ0APn48EyPFfd\nONgy\r\n=HnYq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","authors":["Tobias Reich <tobias@electerious.com>"],"gitHead":"450e61f767f843f3c1e116a079a682f489e4f324","scripts":{"test":"nyc node_modules/mocha/bin/_mocha","coveralls":"nyc report --reporter=lcov"},"_npmUser":{"name":"anonymous","email":"tobias@electerious.com"},"repository":{"url":"git+https://github.com/electerious/nice-try.git","type":"git"},"_npmVersion":"6.14.10","description":"Tries to execute a function and discards any error that occurs","directories":{},"_nodeVersion":"14.15.4","_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^4.1.2","mocha":"^8.1.3"},"_npmOperationalInternal":{"tmp":"tmp/nice-try_3.0.0_1614509944303_0.3931365881854436","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"nice-try","version":"3.0.1","keywords":["try","catch","error"],"license":"MIT","_id":"nice-try@3.0.1","maintainers":[{"name":"anonymous","email":"tobias@electerious.com"}],"homepage":"https://github.com/electerious/nice-try","bugs":{"url":"https://github.com/electerious/nice-try/issues"},"dist":{"shasum":"cb0fe041f8dffce5d44a2b69b2a64c78f67c6fce","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/nice-try/-/nice-try-3.0.1.tgz","fileCount":4,"integrity":"sha512-Fge6ClHO5v/z/tN31B2wlCPfRm289/ag1O2oi+EWNdAhxOZqGW1fWsisROvUuXaE7UEAYdd+upiAMvz57bK2MQ==","signatures":[{"sig":"MEQCIBA1UE4/d4MZx0I4pRlDmlC+J/0kgjmZzNcqM5CsJpwhAiAeG/CAMoirDyCou1LlWNcmgpZQXfKwLCgs4lx9jgoPBA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3853,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJcd/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqJWg//YRKjC9YA+mlAU0jZ/QevPomzJOFF2k0DmBUNGtiDtEcQZ+Fd\r\ntTcJpoEH13I+DXs37GLX6mpkHmGif65NrcyQgu0Q7nVDPLAhtmB6KwN+ZUG+\r\ntmHN6FJdhWH+jsOrUQfsGeUQK9SavqTZ3DSVJXrVy9vnu4URamwZQn7oZlJe\r\nZ59URXkbXKK7Xjz15Ypr3PRR80V4/Ly4G4vUCw+caH1/LMala5avfa4NyPXI\r\nF8dw1pzF9WxcxCU8w8KuGYKcg2CDWEsG3Nlz3+vg7uybk6G5tYU6oc0y9WTn\r\nBnphJRQIt38Zv+4uBwCoXquUPkmTa2g5vRRUG9k3Vyt48Qo9/okQTr2UnL3K\r\nNnOMpkCwPQEwvS6g9tSbFUahWtV4Nyk2K2YI8T+5lHgBG5AYe+3VttFhZ4fY\r\nWh5xlPjHK/mr9ZuRZS76D0bhlzXa9krznoVUIes6kL7tMSp4DwITFMn09h7R\r\nIh8/XmpU+Rv2htFGaYxeJfzwPyYk8s0foSWxISMRj1ab+FToW7cHMz8YHlxI\r\nae+S4UgqfHLMDiFk7zyhLhmVuxwgeBPGTJafWnbWUS9Bk6lDjWFePdVlD1Ih\r\n8711UH1CIvSr29wDqRB09KZ98d7XCsat3PKv/6XOWao/bEWRb2bH1acbU5NK\r\nFqIK9lGNCSeUQ4V99gVRzEuDQZbQq1Yv16c=\r\n=ixbX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","authors":["Tobias Reich <tobias@electerious.com>"],"gitHead":"a253c16014982391102e0a56af8c36ad559cfb8e","scripts":{"test":"nyc node_modules/mocha/bin/_mocha","coveralls":"nyc report --reporter=lcov"},"_npmUser":{"name":"anonymous","email":"tobias@electerious.com"},"repository":{"url":"git+https://github.com/electerious/nice-try.git","type":"git"},"_npmVersion":"8.15.0","description":"Tries to execute a function and discards any error that occurs","directories":{},"_nodeVersion":"18.7.0","_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^4.3.4","mocha":"^9.0.1"},"_npmOperationalInternal":{"tmp":"tmp/nice-try_3.0.1_1663420287701_0.8774999008142332","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"nice-try","version":"4.0.0","keywords":["try","catch","error"],"license":"MIT","_id":"nice-try@4.0.0","maintainers":[{"name":"anonymous","email":"tobias@electerious.com"}],"homepage":"https://github.com/electerious/nice-try","bugs":{"url":"https://github.com/electerious/nice-try/issues"},"dist":{"shasum":"c2bddde7826822591b96151dd1c3783062eb0c64","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/nice-try/-/nice-try-4.0.0.tgz","fileCount":5,"integrity":"sha512-KWWGBWPDuuL4OHmYLXWpXRwGDXokNxHdrsROv0W9vKQNk+pAjiqIlLU6FNZnUv9WD2iQUQHYnyGLsLp5TM8EtA==","signatures":[{"sig":"MEUCIQDUyiQGLG1EsR4l6Eg/RqRzYA3IY2vJ3RJwneKlhR7bCQIgXBSyDLnhd2WnDps8vP3lcfNPMml7rhqgoaz6SNtSTPI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4214},"main":"src/index.js","type":"module","authors":["Tobias Reich <tobias@electerious.com>"],"exports":{".":"./src/index.js","./promises":"./src/promises.js"},"gitHead":"c36cc4e23c8a1a126145573ee373e00ae252e4a5","scripts":{"test":"npm run prettier -- --check && node --test","format":"npm run prettier -- --write","prettier":"prettier --ignore-path .gitignore '**/*.{js,json,md}'"},"_npmUser":{"name":"anonymous","actor":{"name":"electerious","type":"user","email":"tobias@electerious.com"},"email":"tobias@electerious.com"},"repository":{"url":"git+https://github.com/electerious/nice-try.git","type":"git"},"_npmVersion":"10.9.2","description":"Tries to execute a function and discards any error that occurs","directories":{},"_nodeVersion":"23.7.0","_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.6.2","prettier-plugin-packagejson":"^2.5.18","@ianvs/prettier-plugin-sort-imports":"^4.4.2"},"_npmOperationalInternal":{"tmp":"tmp/nice-try_4.0.0_1751900555363_0.9200868213620039","host":"s3://npm-registry-packages-npm-production"}},"4.0.1":{"name":"nice-try","version":"4.0.1","keywords":["try","catch","error"],"license":"MIT","_id":"nice-try@4.0.1","maintainers":[{"name":"anonymous","email":"tobias@electerious.com"}],"homepage":"https://github.com/electerious/nice-try","bugs":{"url":"https://github.com/electerious/nice-try/issues"},"dist":{"shasum":"7942c3ef4ac43c992ea295a4fa671e54a828ae86","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/nice-try/-/nice-try-4.0.1.tgz","fileCount":5,"integrity":"sha512-hJ83UOT2UuVj6X+S10E1M/ROtDg/Nof0POxqQsf5uA/CTdDMjXIhA9t+vu2k6AJbj5QzGfWIg8mbYq2nE5AmIw==","signatures":[{"sig":"MEUCIHNf9LY/p083DAjohAfiMHm0mVW716gvr8AO11duA3gTAiEAmrH4aKdzJU5S3d2WeDRd7UvgcswoAScP61nOh8kNTVU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4456},"main":"src/index.js","type":"module","authors":["Tobias Reich <tobias@electerious.com>"],"exports":{".":"./src/index.js","./promises":"./src/promises.js"},"gitHead":"e3348808e3f72166a8178993021fa961f511f634","scripts":{"test":"npm run prettier -- --check && node --test","format":"npm run prettier -- --write","prettier":"prettier --ignore-path .gitignore '**/*.{js,json,md}'"},"_npmUser":{"name":"anonymous","actor":{"name":"electerious","type":"user","email":"tobias@electerious.com"},"email":"tobias@electerious.com"},"repository":{"url":"git+https://github.com/electerious/nice-try.git","type":"git"},"_npmVersion":"10.9.2","description":"Tries to execute a function and discards any error that occurs","directories":{},"_nodeVersion":"23.7.0","_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.6.2","prettier-plugin-packagejson":"^2.5.18","@ianvs/prettier-plugin-sort-imports":"^4.4.2"},"_npmOperationalInternal":{"tmp":"tmp/nice-try_4.0.1_1751900845958_0.025200032697337393","host":"s3://npm-registry-packages-npm-production"}},"4.0.2":{"name":"nice-try","version":"4.0.2","description":"Tries to execute a function and discards any error that occurs","keywords":["try","catch","error"],"homepage":"https://github.com/electerious/nice-try","repository":{"type":"git","url":"git+https://github.com/electerious/nice-try.git"},"license":"MIT","type":"module","exports":{".":"./src/index.js","./promises":"./src/promises.js"},"main":"src/index.js","scripts":{"eslint":"eslint '**/*.js'","format":"npm run eslint -- --fix && npm run prettier -- --write","lint":"npm run eslint && npm run prettier -- --check","prettier":"prettier --ignore-path .gitignore '**/*.{js,json,md,yml}'","test":"npm run lint && node --test"},"devDependencies":{"@electerious/eslint-config":"^5.0.0","@electerious/prettier-config":"^4.0.0","eslint":"^9.33.0","prettier":"^3.6.2"},"authors":["Tobias Reich <tobias@electerious.com>"],"_id":"nice-try@4.0.2","gitHead":"7703946bf968f30e7510493da071a4b83e857b8e","bugs":{"url":"https://github.com/electerious/nice-try/issues"},"_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-dj7jCdOjiF5cDwpXQ243GFofw+8+flZ86U7hcfAJPZ2QrHt+M0+ZTwOjLPTVDHrbM0kolX4M7GIZ7CotI1/Mvw==","shasum":"a72124313af46354ac81eb8c4f0e06f6b3eb4748","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/nice-try/-/nice-try-4.0.2.tgz","fileCount":5,"unpackedSize":4499,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGJMthgvXDszXDp66XPrFiYNX+/JFP06cI6Ffmzqol0PAiAJkgkp3Am9JqXFtWqESmA9yJ9VfkTldT3eo5MARJqBOg=="}]},"_npmUser":{"name":"anonymous","email":"tobias@electerious.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"tobias@electerious.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nice-try_4.0.2_1755347766350_0.6179204934413725"},"_hasShrinkwrap":false}},"name":"nice-try","time":{"created":"2016-07-30T15:03:26.611Z","modified":"2025-08-16T12:36:06.695Z","1.0.0":"2016-07-30T15:03:26.611Z","1.0.1":"2016-08-05T20:32:14.000Z","1.0.2":"2016-08-05T20:33:06.707Z","1.0.3":"2017-06-10T19:57:46.715Z","1.0.4":"2017-08-08T19:34:36.228Z","1.0.5":"2018-08-25T19:03:09.537Z","2.0.0":"2018-10-28T15:23:25.854Z","2.0.1":"2020-03-20T10:20:47.213Z","2.1.0":"2020-10-10T18:05:55.358Z","3.0.0":"2021-02-28T10:59:04.443Z","3.0.1":"2022-09-17T13:11:27.913Z","4.0.0":"2025-07-07T15:02:35.542Z","4.0.1":"2025-07-07T15:07:26.156Z","4.0.2":"2025-08-16T12:36:06.515Z"},"readmeFilename":"README.md","homepage":"https://github.com/electerious/nice-try"}