{ "_id": "nice-try", "_rev": "9-742d341b7c3fac6d11a50c5c0eeb04c7", "name": "nice-try", "description": "Tries to execute a function and discards any error that occurs", "dist-tags": { "latest": "2.1.0" }, "versions": { "1.0.0": { "name": "nice-try", "version": "1.0.0", "authors": [ "Tobias Reich " ], "description": "Tries to execute a function and discards any error that occurs", "main": "src/index.js", "keywords": [ "try", "catch", "error" ], "license": "MIT", "homepage": "http://github.com/electerious/nice-try", "repository": { "type": "git", "url": "git+https://github.com/electerious/nice-try.git" }, "files": [ "src" ], "scripts": { "coveralls": "cat ./coverage/lcov.info | coveralls", "test": "istanbul cover _mocha" }, "devDependencies": { "chai": "^3.5.0", "coveralls": "^2.11.9", "istanbul": "^0.4.4", "mocha": "^2.5.3" }, "gitHead": "9ff2b705fad7750425704e8c8c7f1d3730004707", "bugs": { "url": "https://github.com/electerious/nice-try/issues" }, "_id": "nice-try@1.0.0", "_shasum": "c9738a786bb1e85ec6a37ccd0ac65f8d7c34258e", "_from": ".", "_npmVersion": "3.10.5", "_nodeVersion": "6.2.0", "_npmUser": { "name": "electerious", "email": "tobias@electerious.com" }, "dist": { "shasum": "c9738a786bb1e85ec6a37ccd0ac65f8d7c34258e", "tarball": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.0.tgz" }, "maintainers": [ { "name": "electerious", "email": "tobias@electerious.com" } ], "_npmOperationalInternal": { "host": "packages-16-east.internal.npmjs.com", "tmp": "tmp/nice-try-1.0.0.tgz_1469891003463_0.40353943104855716" }, "directories": {} }, "1.0.1": { "name": "nice-try", "version": "1.0.1", "authors": [ "Tobias Reich " ], "description": "Tries to execute a function and discards any error that occurs", "main": "src/index.js", "keywords": [ "try", "catch", "error" ], "license": "MIT", "homepage": "http://github.com/electerious/nice-try", "repository": { "type": "git", "url": "git+https://github.com/electerious/nice-try.git" }, "files": [ "src" ], "scripts": { "coveralls": "cat ./coverage/lcov.info | coveralls", "test": "istanbul cover _mocha", "prepublish": "npm test" }, "devDependencies": { "chai": "^3.5.0", "coveralls": "^2.11.9", "istanbul": "^0.4.4", "mocha": "^2.5.3" }, "gitHead": "287c4f7b9aaee05fbda115f39b9c4b25b484a25b", "bugs": { "url": "https://github.com/electerious/nice-try/issues" }, "_id": "nice-try@1.0.1", "_shasum": "60fe52ba3a451e24718ce665ee415d7098203423", "_from": ".", "_npmVersion": "3.10.5", "_nodeVersion": "6.2.0", "_npmUser": { "name": "electerious", "email": "tobias@electerious.com" }, "dist": { "shasum": "60fe52ba3a451e24718ce665ee415d7098203423", "tarball": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.1.tgz" }, "maintainers": [ { "name": "electerious", "email": "tobias@electerious.com" } ], "_npmOperationalInternal": { "host": "packages-16-east.internal.npmjs.com", "tmp": "tmp/nice-try-1.0.1.tgz_1470429132092_0.4102739121299237" }, "directories": {} }, "1.0.2": { "name": "nice-try", "version": "1.0.2", "authors": [ "Tobias Reich " ], "description": "Tries to execute a function and discards any error that occurs", "main": "src/index.js", "keywords": [ "try", "catch", "error" ], "license": "MIT", "homepage": "http://github.com/electerious/nice-try", "repository": { "type": "git", "url": "git+https://github.com/electerious/nice-try.git" }, "files": [ "src" ], "scripts": { "coveralls": "cat ./coverage/lcov.info | coveralls", "test": "istanbul cover _mocha", "prepublish": "npm test" }, "devDependencies": { "chai": "^3.5.0", "coveralls": "^2.11.9", "istanbul": "^0.4.4", "mocha": "^3.0.1" }, "gitHead": "c39e619380c3a60fdfc2575825458eedf6c3ffdc", "bugs": { "url": "https://github.com/electerious/nice-try/issues" }, "_id": "nice-try@1.0.2", "_shasum": "2c597a35778809d58cb6c512ab562f0ace2605f5", "_from": ".", "_npmVersion": "3.10.5", "_nodeVersion": "6.2.0", "_npmUser": { "name": "electerious", "email": "tobias@electerious.com" }, "dist": { "shasum": "2c597a35778809d58cb6c512ab562f0ace2605f5", "tarball": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.2.tgz" }, "maintainers": [ { "name": "electerious", "email": "tobias@electerious.com" } ], "_npmOperationalInternal": { "host": "packages-16-east.internal.npmjs.com", "tmp": "tmp/nice-try-1.0.2.tgz_1470429184831_0.9986453240271658" }, "directories": {} }, "1.0.3": { "name": "nice-try", "version": "1.0.3", "authors": [ "Tobias Reich " ], "description": "Tries to execute a function and discards any error that occurs", "main": "src/index.js", "keywords": [ "try", "catch", "error" ], "license": "MIT", "homepage": "https://github.com/electerious/nice-try", "repository": { "type": "git", "url": "git+https://github.com/electerious/nice-try.git" }, "files": [ "src" ], "scripts": { "coveralls": "cat ./coverage/lcov.info | coveralls", "test": "istanbul cover node_modules/mocha/bin/_mocha", "prepublish": "npm test" }, "devDependencies": { "chai": "^4.0.1", "coveralls": "^2.11.9", "istanbul": "^0.4.4", "mocha": "^3.0.1" }, "gitHead": "0d2ac8938432dcfd79be0528bf7d289fc2f692a4", "bugs": { "url": "https://github.com/electerious/nice-try/issues" }, "_id": "nice-try@1.0.3", "_shasum": "8883491b1c030d32f652fff9c8e454d31f5168ba", "_from": ".", "_npmVersion": "4.5.0", "_nodeVersion": "7.10.0", "_npmUser": { "name": "electerious", "email": "tobias@electerious.com" }, "dist": { "shasum": "8883491b1c030d32f652fff9c8e454d31f5168ba", "tarball": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.3.tgz" }, "maintainers": [ { "name": "electerious", "email": "tobias@electerious.com" } ], "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/nice-try-1.0.3.tgz_1497124665780_0.9773363170679659" }, "directories": {} }, "1.0.4": { "name": "nice-try", "version": "1.0.4", "authors": [ "Tobias Reich " ], "description": "Tries to execute a function and discards any error that occurs", "main": "src/index.js", "keywords": [ "try", "catch", "error" ], "license": "MIT", "homepage": "https://github.com/electerious/nice-try", "repository": { "type": "git", "url": "git+https://github.com/electerious/nice-try.git" }, "files": [ "src" ], "scripts": { "coveralls": "nyc report --reporter=text-lcov | coveralls", "test": "nyc node_modules/mocha/bin/_mocha", "prepublish": "npm test" }, "devDependencies": { "chai": "^4.1.1", "coveralls": "^2.13.1", "nyc": "^11.1.0", "mocha": "^3.5.0" }, "gitHead": "c3b571e36646eb738485d86c56c77c4d3908a02b", "bugs": { "url": "https://github.com/electerious/nice-try/issues" }, "_id": "nice-try@1.0.4", "_npmVersion": "5.3.0", "_nodeVersion": "8.1.2", "_npmUser": { "name": "electerious", "email": "tobias@electerious.com" }, "dist": { "integrity": "sha512-2NpiFHqC87y/zFke0fC0spBXL3bBsoh/p5H1EFhshxjCR5+0g2d6BiXbUFz9v1sAcxsk2htp2eQnNIci2dIYcA==", "shasum": "d93962f6c52f2c1558c0fbda6d512819f1efe1c4", "tarball": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.4.tgz" }, "maintainers": [ { "name": "electerious", "email": "tobias@electerious.com" } ], "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/nice-try-1.0.4.tgz_1502220875294_0.13720005913637578" }, "directories": {} }, "1.0.5": { "name": "nice-try", "version": "1.0.5", "authors": [ "Tobias Reich " ], "description": "Tries to execute a function and discards any error that occurs", "main": "src/index.js", "keywords": [ "try", "catch", "error" ], "license": "MIT", "homepage": "https://github.com/electerious/nice-try", "repository": { "type": "git", "url": "git+https://github.com/electerious/nice-try.git" }, "files": [ "src" ], "scripts": { "coveralls": "nyc report --reporter=text-lcov | coveralls", "test": "nyc node_modules/mocha/bin/_mocha" }, "devDependencies": { "chai": "^4.1.2", "coveralls": "^3.0.0", "nyc": "^12.0.1", "mocha": "^5.1.1" }, "gitHead": "87013431e0877520763863f77dcb77dfd11eb2a9", "bugs": { "url": "https://github.com/electerious/nice-try/issues" }, "_id": "nice-try@1.0.5", "_npmVersion": "5.6.0", "_nodeVersion": "8.11.3", "_npmUser": { "name": "electerious", "email": "tobias@electerious.com" }, "dist": { "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", "shasum": "a3378a7696ce7d223e88fc9b764bd7ef1089e366", "tarball": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", "fileCount": 5, "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" }, "maintainers": [ { "name": "electerious", "email": "tobias@electerious.com" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/nice-try_1.0.5_1535223789413_0.5231590849746954" }, "_hasShrinkwrap": false }, "2.0.0": { "name": "nice-try", "version": "2.0.0", "authors": [ "Tobias Reich " ], "description": "Tries to execute a function and discards any error that occurs", "main": "src/index.js", "keywords": [ "try", "catch", "error" ], "license": "MIT", "homepage": "https://github.com/electerious/nice-try", "repository": { "type": "git", "url": "git+https://github.com/electerious/nice-try.git" }, "scripts": { "coveralls": "nyc report --reporter=text-lcov | coveralls", "test": "nyc node_modules/mocha/bin/_mocha" }, "devDependencies": { "chai": "^4.1.2", "coveralls": "^3.0.0", "nyc": "^12.0.1", "mocha": "^5.1.1" }, "gitHead": "3f015226c11668df52c2c2d4799fbb684b739e52", "bugs": { "url": "https://github.com/electerious/nice-try/issues" }, "_id": "nice-try@2.0.0", "_npmVersion": "5.6.0", "_nodeVersion": "8.11.4", "_npmUser": { "name": "electerious", "email": "tobias@electerious.com" }, "dist": { "integrity": "sha512-/o4KoXbUkEjD2NDwvBCkSzEDOfMuHPmbzSD5Pp2Bb5U/69MnEvpc4YfW2Y1BJqJpcaam04+fR0kF8n5xm8b6MQ==", "shasum": "0ccb36ce82be13528f0217334adcf870c8eb3356", "tarball": "https://registry.npmjs.org/nice-try/-/nice-try-2.0.0.tgz", "fileCount": 5, "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" }, "maintainers": [ { "name": "electerious", "email": "tobias@electerious.com" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/nice-try_2.0.0_1540740205675_0.9418092813552867" }, "_hasShrinkwrap": false }, "2.0.1": { "name": "nice-try", "version": "2.0.1", "authors": [ "Tobias Reich " ], "description": "Tries to execute a function and discards any error that occurs", "main": "src/index.js", "keywords": [ "try", "catch", "error" ], "license": "MIT", "homepage": "https://github.com/electerious/nice-try", "repository": { "type": "git", "url": "git+https://github.com/electerious/nice-try.git" }, "scripts": { "coveralls": "nyc report --reporter=text-lcov | coveralls", "test": "nyc node_modules/mocha/bin/_mocha" }, "devDependencies": { "chai": "^4.1.2", "coveralls": "^3.0.0", "nyc": "^15.0.0", "mocha": "^7.0.1" }, "gitHead": "95d9ba8f65ecb216145dc5b2695b250635daadd8", "bugs": { "url": "https://github.com/electerious/nice-try/issues" }, "_id": "nice-try@2.0.1", "_nodeVersion": "12.14.1", "_npmVersion": "6.13.7", "dist": { "integrity": "sha512-+F6drVcPo6ABeuxhTieYy8aH/JkyrxM0g2nNK9p9mIHAVypyKqPr2fC2qLNNmVUtMWGGXSIJSJQAjpQ+B8bllg==", "shasum": "7099dfc79b1fe8ac04870288385217a48a5d6e25", "tarball": "https://registry.npmjs.org/nice-try/-/nice-try-2.0.1.tgz", "fileCount": 5, "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" }, "maintainers": [ { "name": "electerious", "email": "tobias@electerious.com" } ], "_npmUser": { "name": "electerious", "email": "tobias@electerious.com" }, "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/nice-try_2.0.1_1584699647085_0.5007244220982261" }, "_hasShrinkwrap": false }, "2.1.0": { "name": "nice-try", "version": "2.1.0", "authors": [ "Tobias Reich " ], "description": "Tries to execute a function and discards any error that occurs", "main": "src/index.js", "keywords": [ "try", "catch", "error" ], "license": "MIT", "homepage": "https://github.com/electerious/nice-try", "repository": { "type": "git", "url": "git+https://github.com/electerious/nice-try.git" }, "scripts": { "coveralls": "nyc report --reporter=text-lcov | coveralls", "test": "nyc node_modules/mocha/bin/_mocha" }, "devDependencies": { "chai": "^4.1.2", "coveralls": "^3.1.0", "mocha": "^8.1.3", "nyc": "^15.1.0" }, "gitHead": "ffb8047abf3f14c33bb4ddf5144b3e418d9eb083", "bugs": { "url": "https://github.com/electerious/nice-try/issues" }, "_id": "nice-try@2.1.0", "_nodeVersion": "14.5.0", "_npmVersion": "6.14.5", "dist": { "integrity": "sha512-ZR863POogZo2DpqQkqeUHM01Fg73CVSVoP2Gq7Wjn8AYv7R1rRkvXx4Bf6PsXhyBGDhsN6rKCPflGDjn3+flWg==", "shasum": "d818aaf628993b4de39d11e9b53be224152b38c3", "tarball": "https://registry.npmjs.org/nice-try/-/nice-try-2.1.0.tgz", "fileCount": 5, "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" }, "maintainers": [ { "name": "electerious", "email": "tobias@electerious.com" } ], "_npmUser": { "name": "electerious", "email": "tobias@electerious.com" }, "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/nice-try_2.1.0_1602353155224_0.6618185573080881" }, "_hasShrinkwrap": false } }, "readme": "# nice-try\n\n[![Travis Build Status](https://travis-ci.org/electerious/nice-try.svg?branch=master)](https://travis-ci.org/electerious/nice-try) [![Coverage Status](https://coveralls.io/repos/github/electerious/nice-try/badge.svg?branch=master)](https://coveralls.io/github/electerious/nice-try?branch=master) [![Dependencies](https://david-dm.org/electerious/nice-try.svg)](https://david-dm.org/electerious/nice-try#info=dependencies) [![Greenkeeper badge](https://badges.greenkeeper.io/electerious/nice-try.svg)](https://greenkeeper.io/)\n\nA function that tries to execute a function and discards any error that occurs.\n\n## Install\n\n```\nnpm install nice-try\n```\n\n## Usage\n\n```js\nconst niceTry = require('nice-try')\n\nniceTry(() => JSON.parse('true')) // true\nniceTry(() => JSON.parse('truee')) // undefined\nniceTry() // undefined\nniceTry(true) // undefined\n\nawait niceTry.promise(async () => JSON.parse('true')) // true\nawait niceTry.promise(async () => JSON.parse('truee')) // undefined\n```\n\n## API\n\n### Parameters\n\n- `fn` `{Function}` Function that might or might not throw an error.\n\n### Returns\n\n- `{?*}` Return-value of the function when no error occurred.", "maintainers": [ { "name": "electerious", "email": "tobias@electerious.com" } ], "time": { "modified": "2020-10-10T18:05:57.654Z", "created": "2016-07-30T15:03:26.611Z", "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" }, "homepage": "https://github.com/electerious/nice-try", "keywords": [ "try", "catch", "error" ], "repository": { "type": "git", "url": "git+https://github.com/electerious/nice-try.git" }, "bugs": { "url": "https://github.com/electerious/nice-try/issues" }, "license": "MIT", "readmeFilename": "README.md" }