| 1 |
{ |
| 2 |
"_id": "nice-try", |
| 3 |
"_rev": "9-742d341b7c3fac6d11a50c5c0eeb04c7", |
| 4 |
"name": "nice-try", |
| 5 |
"description": "Tries to execute a function and discards any error that occurs", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "2.1.0" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"1.0.0": { |
| 11 |
"name": "nice-try", |
| 12 |
"version": "1.0.0", |
| 13 |
"authors": [ |
| 14 |
"Tobias Reich <[email protected]>" |
| 15 |
], |
| 16 |
"description": "Tries to execute a function and discards any error that occurs", |
| 17 |
"main": "src/index.js", |
| 18 |
"keywords": [ |
| 19 |
"try", |
| 20 |
"catch", |
| 21 |
"error" |
| 22 |
], |
| 23 |
"license": "MIT", |
| 24 |
"homepage": "http://github.com/electerious/nice-try", |
| 25 |
"repository": { |
| 26 |
"type": "git", |
| 27 |
"url": "git+https://github.com/electerious/nice-try.git" |
| 28 |
}, |
| 29 |
"files": [ |
| 30 |
"src" |
| 31 |
], |
| 32 |
"scripts": { |
| 33 |
"coveralls": "cat ./coverage/lcov.info | coveralls", |
| 34 |
"test": "istanbul cover _mocha" |
| 35 |
}, |
| 36 |
"devDependencies": { |
| 37 |
"chai": "^3.5.0", |
| 38 |
"coveralls": "^2.11.9", |
| 39 |
"istanbul": "^0.4.4", |
| 40 |
"mocha": "^2.5.3" |
| 41 |
}, |
| 42 |
"gitHead": "9ff2b705fad7750425704e8c8c7f1d3730004707", |
| 43 |
"bugs": { |
| 44 |
"url": "https://github.com/electerious/nice-try/issues" |
| 45 |
}, |
| 46 |
"_id": "[email protected]", |
| 47 |
"_shasum": "c9738a786bb1e85ec6a37ccd0ac65f8d7c34258e", |
| 48 |
"_from": ".", |
| 49 |
"_npmVersion": "3.10.5", |
| 50 |
"_nodeVersion": "6.2.0", |
| 51 |
"_npmUser": { |
| 52 |
"name": "electerious", |
| 53 |
"email": "[email protected]" |
| 54 |
}, |
| 55 |
"dist": { |
| 56 |
"shasum": "c9738a786bb1e85ec6a37ccd0ac65f8d7c34258e", |
| 57 |
"tarball": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.0.tgz" |
| 58 |
}, |
| 59 |
"maintainers": [ |
| 60 |
{ |
| 61 |
"name": "electerious", |
| 62 |
"email": "[email protected]" |
| 63 |
} |
| 64 |
], |
| 65 |
"_npmOperationalInternal": { |
| 66 |
"host": "packages-16-east.internal.npmjs.com", |
| 67 |
"tmp": "tmp/nice-try-1.0.0.tgz_1469891003463_0.40353943104855716" |
| 68 |
}, |
| 69 |
"directories": {} |
| 70 |
}, |
| 71 |
"1.0.1": { |
| 72 |
"name": "nice-try", |
| 73 |
"version": "1.0.1", |
| 74 |
"authors": [ |
| 75 |
"Tobias Reich <[email protected]>" |
| 76 |
], |
| 77 |
"description": "Tries to execute a function and discards any error that occurs", |
| 78 |
"main": "src/index.js", |
| 79 |
"keywords": [ |
| 80 |
"try", |
| 81 |
"catch", |
| 82 |
"error" |
| 83 |
], |
| 84 |
"license": "MIT", |
| 85 |
"homepage": "http://github.com/electerious/nice-try", |
| 86 |
"repository": { |
| 87 |
"type": "git", |
| 88 |
"url": "git+https://github.com/electerious/nice-try.git" |
| 89 |
}, |
| 90 |
"files": [ |
| 91 |
"src" |
| 92 |
], |
| 93 |
"scripts": { |
| 94 |
"coveralls": "cat ./coverage/lcov.info | coveralls", |
| 95 |
"test": "istanbul cover _mocha", |
| 96 |
"prepublish": "npm test" |
| 97 |
}, |
| 98 |
"devDependencies": { |
| 99 |
"chai": "^3.5.0", |
| 100 |
"coveralls": "^2.11.9", |
| 101 |
"istanbul": "^0.4.4", |
| 102 |
"mocha": "^2.5.3" |
| 103 |
}, |
| 104 |
"gitHead": "287c4f7b9aaee05fbda115f39b9c4b25b484a25b", |
| 105 |
"bugs": { |
| 106 |
"url": "https://github.com/electerious/nice-try/issues" |
| 107 |
}, |
| 108 |
"_id": "[email protected]", |
| 109 |
"_shasum": "60fe52ba3a451e24718ce665ee415d7098203423", |
| 110 |
"_from": ".", |
| 111 |
"_npmVersion": "3.10.5", |
| 112 |
"_nodeVersion": "6.2.0", |
| 113 |
"_npmUser": { |
| 114 |
"name": "electerious", |
| 115 |
"email": "[email protected]" |
| 116 |
}, |
| 117 |
"dist": { |
| 118 |
"shasum": "60fe52ba3a451e24718ce665ee415d7098203423", |
| 119 |
"tarball": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.1.tgz" |
| 120 |
}, |
| 121 |
"maintainers": [ |
| 122 |
{ |
| 123 |
"name": "electerious", |
| 124 |
"email": "[email protected]" |
| 125 |
} |
| 126 |
], |
| 127 |
"_npmOperationalInternal": { |
| 128 |
"host": "packages-16-east.internal.npmjs.com", |
| 129 |
"tmp": "tmp/nice-try-1.0.1.tgz_1470429132092_0.4102739121299237" |
| 130 |
}, |
| 131 |
"directories": {} |
| 132 |
}, |
| 133 |
"1.0.2": { |
| 134 |
"name": "nice-try", |
| 135 |
"version": "1.0.2", |
| 136 |
"authors": [ |
| 137 |
"Tobias Reich <[email protected]>" |
| 138 |
], |
| 139 |
"description": "Tries to execute a function and discards any error that occurs", |
| 140 |
"main": "src/index.js", |
| 141 |
"keywords": [ |
| 142 |
"try", |
| 143 |
"catch", |
| 144 |
"error" |
| 145 |
], |
| 146 |
"license": "MIT", |
| 147 |
"homepage": "http://github.com/electerious/nice-try", |
| 148 |
"repository": { |
| 149 |
"type": "git", |
| 150 |
"url": "git+https://github.com/electerious/nice-try.git" |
| 151 |
}, |
| 152 |
"files": [ |
| 153 |
"src" |
| 154 |
], |
| 155 |
"scripts": { |
| 156 |
"coveralls": "cat ./coverage/lcov.info | coveralls", |
| 157 |
"test": "istanbul cover _mocha", |
| 158 |
"prepublish": "npm test" |
| 159 |
}, |
| 160 |
"devDependencies": { |
| 161 |
"chai": "^3.5.0", |
| 162 |
"coveralls": "^2.11.9", |
| 163 |
"istanbul": "^0.4.4", |
| 164 |
"mocha": "^3.0.1" |
| 165 |
}, |
| 166 |
"gitHead": "c39e619380c3a60fdfc2575825458eedf6c3ffdc", |
| 167 |
"bugs": { |
| 168 |
"url": "https://github.com/electerious/nice-try/issues" |
| 169 |
}, |
| 170 |
"_id": "[email protected]", |
| 171 |
"_shasum": "2c597a35778809d58cb6c512ab562f0ace2605f5", |
| 172 |
"_from": ".", |
| 173 |
"_npmVersion": "3.10.5", |
| 174 |
"_nodeVersion": "6.2.0", |
| 175 |
"_npmUser": { |
| 176 |
"name": "electerious", |
| 177 |
"email": "[email protected]" |
| 178 |
}, |
| 179 |
"dist": { |
| 180 |
"shasum": "2c597a35778809d58cb6c512ab562f0ace2605f5", |
| 181 |
"tarball": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.2.tgz" |
| 182 |
}, |
| 183 |
"maintainers": [ |
| 184 |
{ |
| 185 |
"name": "electerious", |
| 186 |
"email": "[email protected]" |
| 187 |
} |
| 188 |
], |
| 189 |
"_npmOperationalInternal": { |
| 190 |
"host": "packages-16-east.internal.npmjs.com", |
| 191 |
"tmp": "tmp/nice-try-1.0.2.tgz_1470429184831_0.9986453240271658" |
| 192 |
}, |
| 193 |
"directories": {} |
| 194 |
}, |
| 195 |
"1.0.3": { |
| 196 |
"name": "nice-try", |
| 197 |
"version": "1.0.3", |
| 198 |
"authors": [ |
| 199 |
"Tobias Reich <[email protected]>" |
| 200 |
], |
| 201 |
"description": "Tries to execute a function and discards any error that occurs", |
| 202 |
"main": "src/index.js", |
| 203 |
"keywords": [ |
| 204 |
"try", |
| 205 |
"catch", |
| 206 |
"error" |
| 207 |
], |
| 208 |
"license": "MIT", |
| 209 |
"homepage": "https://github.com/electerious/nice-try", |
| 210 |
"repository": { |
| 211 |
"type": "git", |
| 212 |
"url": "git+https://github.com/electerious/nice-try.git" |
| 213 |
}, |
| 214 |
"files": [ |
| 215 |
"src" |
| 216 |
], |
| 217 |
"scripts": { |
| 218 |
"coveralls": "cat ./coverage/lcov.info | coveralls", |
| 219 |
"test": "istanbul cover node_modules/mocha/bin/_mocha", |
| 220 |
"prepublish": "npm test" |
| 221 |
}, |
| 222 |
"devDependencies": { |
| 223 |
"chai": "^4.0.1", |
| 224 |
"coveralls": "^2.11.9", |
| 225 |
"istanbul": "^0.4.4", |
| 226 |
"mocha": "^3.0.1" |
| 227 |
}, |
| 228 |
"gitHead": "0d2ac8938432dcfd79be0528bf7d289fc2f692a4", |
| 229 |
"bugs": { |
| 230 |
"url": "https://github.com/electerious/nice-try/issues" |
| 231 |
}, |
| 232 |
"_id": "[email protected]", |
| 233 |
"_shasum": "8883491b1c030d32f652fff9c8e454d31f5168ba", |
| 234 |
"_from": ".", |
| 235 |
"_npmVersion": "4.5.0", |
| 236 |
"_nodeVersion": "7.10.0", |
| 237 |
"_npmUser": { |
| 238 |
"name": "electerious", |
| 239 |
"email": "[email protected]" |
| 240 |
}, |
| 241 |
"dist": { |
| 242 |
"shasum": "8883491b1c030d32f652fff9c8e454d31f5168ba", |
| 243 |
"tarball": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.3.tgz" |
| 244 |
}, |
| 245 |
"maintainers": [ |
| 246 |
{ |
| 247 |
"name": "electerious", |
| 248 |
"email": "[email protected]" |
| 249 |
} |
| 250 |
], |
| 251 |
"_npmOperationalInternal": { |
| 252 |
"host": "s3://npm-registry-packages", |
| 253 |
"tmp": "tmp/nice-try-1.0.3.tgz_1497124665780_0.9773363170679659" |
| 254 |
}, |
| 255 |
"directories": {} |
| 256 |
}, |
| 257 |
"1.0.4": { |
| 258 |
"name": "nice-try", |
| 259 |
"version": "1.0.4", |
| 260 |
"authors": [ |
| 261 |
"Tobias Reich <[email protected]>" |
| 262 |
], |
| 263 |
"description": "Tries to execute a function and discards any error that occurs", |
| 264 |
"main": "src/index.js", |
| 265 |
"keywords": [ |
| 266 |
"try", |
| 267 |
"catch", |
| 268 |
"error" |
| 269 |
], |
| 270 |
"license": "MIT", |
| 271 |
"homepage": "https://github.com/electerious/nice-try", |
| 272 |
"repository": { |
| 273 |
"type": "git", |
| 274 |
"url": "git+https://github.com/electerious/nice-try.git" |
| 275 |
}, |
| 276 |
"files": [ |
| 277 |
"src" |
| 278 |
], |
| 279 |
"scripts": { |
| 280 |
"coveralls": "nyc report --reporter=text-lcov | coveralls", |
| 281 |
"test": "nyc node_modules/mocha/bin/_mocha", |
| 282 |
"prepublish": "npm test" |
| 283 |
}, |
| 284 |
"devDependencies": { |
| 285 |
"chai": "^4.1.1", |
| 286 |
"coveralls": "^2.13.1", |
| 287 |
"nyc": "^11.1.0", |
| 288 |
"mocha": "^3.5.0" |
| 289 |
}, |
| 290 |
"gitHead": "c3b571e36646eb738485d86c56c77c4d3908a02b", |
| 291 |
"bugs": { |
| 292 |
"url": "https://github.com/electerious/nice-try/issues" |
| 293 |
}, |
| 294 |
"_id": "[email protected]", |
| 295 |
"_npmVersion": "5.3.0", |
| 296 |
"_nodeVersion": "8.1.2", |
| 297 |
"_npmUser": { |
| 298 |
"name": "electerious", |
| 299 |
"email": "[email protected]" |
| 300 |
}, |
| 301 |
"dist": { |
| 302 |
"integrity": "sha512-2NpiFHqC87y/zFke0fC0spBXL3bBsoh/p5H1EFhshxjCR5+0g2d6BiXbUFz9v1sAcxsk2htp2eQnNIci2dIYcA==", |
| 303 |
"shasum": "d93962f6c52f2c1558c0fbda6d512819f1efe1c4", |
| 304 |
"tarball": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.4.tgz" |
| 305 |
}, |
| 306 |
"maintainers": [ |
| 307 |
{ |
| 308 |
"name": "electerious", |
| 309 |
"email": "[email protected]" |
| 310 |
} |
| 311 |
], |
| 312 |
"_npmOperationalInternal": { |
| 313 |
"host": "s3://npm-registry-packages", |
| 314 |
"tmp": "tmp/nice-try-1.0.4.tgz_1502220875294_0.13720005913637578" |
| 315 |
}, |
| 316 |
"directories": {} |
| 317 |
}, |
| 318 |
"1.0.5": { |
| 319 |
"name": "nice-try", |
| 320 |
"version": "1.0.5", |
| 321 |
"authors": [ |
| 322 |
"Tobias Reich <[email protected]>" |
| 323 |
], |
| 324 |
"description": "Tries to execute a function and discards any error that occurs", |
| 325 |
"main": "src/index.js", |
| 326 |
"keywords": [ |
| 327 |
"try", |
| 328 |
"catch", |
| 329 |
"error" |
| 330 |
], |
| 331 |
"license": "MIT", |
| 332 |
"homepage": "https://github.com/electerious/nice-try", |
| 333 |
"repository": { |
| 334 |
"type": "git", |
| 335 |
"url": "git+https://github.com/electerious/nice-try.git" |
| 336 |
}, |
| 337 |
"files": [ |
| 338 |
"src" |
| 339 |
], |
| 340 |
"scripts": { |
| 341 |
"coveralls": "nyc report --reporter=text-lcov | coveralls", |
| 342 |
"test": "nyc node_modules/mocha/bin/_mocha" |
| 343 |
}, |
| 344 |
"devDependencies": { |
| 345 |
"chai": "^4.1.2", |
| 346 |
"coveralls": "^3.0.0", |
| 347 |
"nyc": "^12.0.1", |
| 348 |
"mocha": "^5.1.1" |
| 349 |
}, |
| 350 |
"gitHead": "87013431e0877520763863f77dcb77dfd11eb2a9", |
| 351 |
"bugs": { |
| 352 |
"url": "https://github.com/electerious/nice-try/issues" |
| 353 |
}, |
| 354 |
"_id": "[email protected]", |
| 355 |
"_npmVersion": "5.6.0", |
| 356 |
"_nodeVersion": "8.11.3", |
| 357 |
"_npmUser": { |
| 358 |
"name": "electerious", |
| 359 |
"email": "[email protected]" |
| 360 |
}, |
| 361 |
"dist": { |
| 362 |
"integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", |
| 363 |
"shasum": "a3378a7696ce7d223e88fc9b764bd7ef1089e366", |
| 364 |
"tarball": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", |
| 365 |
"fileCount": 5, |
| 366 |
"unpackedSize": 3747, |
| 367 |
"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" |
| 368 |
}, |
| 369 |
"maintainers": [ |
| 370 |
{ |
| 371 |
"name": "electerious", |
| 372 |
"email": "[email protected]" |
| 373 |
} |
| 374 |
], |
| 375 |
"directories": {}, |
| 376 |
"_npmOperationalInternal": { |
| 377 |
"host": "s3://npm-registry-packages", |
| 378 |
"tmp": "tmp/nice-try_1.0.5_1535223789413_0.5231590849746954" |
| 379 |
}, |
| 380 |
"_hasShrinkwrap": false |
| 381 |
}, |
| 382 |
"2.0.0": { |
| 383 |
"name": "nice-try", |
| 384 |
"version": "2.0.0", |
| 385 |
"authors": [ |
| 386 |
"Tobias Reich <[email protected]>" |
| 387 |
], |
| 388 |
"description": "Tries to execute a function and discards any error that occurs", |
| 389 |
"main": "src/index.js", |
| 390 |
"keywords": [ |
| 391 |
"try", |
| 392 |
"catch", |
| 393 |
"error" |
| 394 |
], |
| 395 |
"license": "MIT", |
| 396 |
"homepage": "https://github.com/electerious/nice-try", |
| 397 |
"repository": { |
| 398 |
"type": "git", |
| 399 |
"url": "git+https://github.com/electerious/nice-try.git" |
| 400 |
}, |
| 401 |
"scripts": { |
| 402 |
"coveralls": "nyc report --reporter=text-lcov | coveralls", |
| 403 |
"test": "nyc node_modules/mocha/bin/_mocha" |
| 404 |
}, |
| 405 |
"devDependencies": { |
| 406 |
"chai": "^4.1.2", |
| 407 |
"coveralls": "^3.0.0", |
| 408 |
"nyc": "^12.0.1", |
| 409 |
"mocha": "^5.1.1" |
| 410 |
}, |
| 411 |
"gitHead": "3f015226c11668df52c2c2d4799fbb684b739e52", |
| 412 |
"bugs": { |
| 413 |
"url": "https://github.com/electerious/nice-try/issues" |
| 414 |
}, |
| 415 |
"_id": "[email protected]", |
| 416 |
"_npmVersion": "5.6.0", |
| 417 |
"_nodeVersion": "8.11.4", |
| 418 |
"_npmUser": { |
| 419 |
"name": "electerious", |
| 420 |
"email": "[email protected]" |
| 421 |
}, |
| 422 |
"dist": { |
| 423 |
"integrity": "sha512-/o4KoXbUkEjD2NDwvBCkSzEDOfMuHPmbzSD5Pp2Bb5U/69MnEvpc4YfW2Y1BJqJpcaam04+fR0kF8n5xm8b6MQ==", |
| 424 |
"shasum": "0ccb36ce82be13528f0217334adcf870c8eb3356", |
| 425 |
"tarball": "https://registry.npmjs.org/nice-try/-/nice-try-2.0.0.tgz", |
| 426 |
"fileCount": 5, |
| 427 |
"unpackedSize": 3845, |
| 428 |
"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" |
| 429 |
}, |
| 430 |
"maintainers": [ |
| 431 |
{ |
| 432 |
"name": "electerious", |
| 433 |
"email": "[email protected]" |
| 434 |
} |
| 435 |
], |
| 436 |
"directories": {}, |
| 437 |
"_npmOperationalInternal": { |
| 438 |
"host": "s3://npm-registry-packages", |
| 439 |
"tmp": "tmp/nice-try_2.0.0_1540740205675_0.9418092813552867" |
| 440 |
}, |
| 441 |
"_hasShrinkwrap": false |
| 442 |
}, |
| 443 |
"2.0.1": { |
| 444 |
"name": "nice-try", |
| 445 |
"version": "2.0.1", |
| 446 |
"authors": [ |
| 447 |
"Tobias Reich <[email protected]>" |
| 448 |
], |
| 449 |
"description": "Tries to execute a function and discards any error that occurs", |
| 450 |
"main": "src/index.js", |
| 451 |
"keywords": [ |
| 452 |
"try", |
| 453 |
"catch", |
| 454 |
"error" |
| 455 |
], |
| 456 |
"license": "MIT", |
| 457 |
"homepage": "https://github.com/electerious/nice-try", |
| 458 |
"repository": { |
| 459 |
"type": "git", |
| 460 |
"url": "git+https://github.com/electerious/nice-try.git" |
| 461 |
}, |
| 462 |
"scripts": { |
| 463 |
"coveralls": "nyc report --reporter=text-lcov | coveralls", |
| 464 |
"test": "nyc node_modules/mocha/bin/_mocha" |
| 465 |
}, |
| 466 |
"devDependencies": { |
| 467 |
"chai": "^4.1.2", |
| 468 |
"coveralls": "^3.0.0", |
| 469 |
"nyc": "^15.0.0", |
| 470 |
"mocha": "^7.0.1" |
| 471 |
}, |
| 472 |
"gitHead": "95d9ba8f65ecb216145dc5b2695b250635daadd8", |
| 473 |
"bugs": { |
| 474 |
"url": "https://github.com/electerious/nice-try/issues" |
| 475 |
}, |
| 476 |
"_id": "[email protected]", |
| 477 |
"_nodeVersion": "12.14.1", |
| 478 |
"_npmVersion": "6.13.7", |
| 479 |
"dist": { |
| 480 |
"integrity": "sha512-+F6drVcPo6ABeuxhTieYy8aH/JkyrxM0g2nNK9p9mIHAVypyKqPr2fC2qLNNmVUtMWGGXSIJSJQAjpQ+B8bllg==", |
| 481 |
"shasum": "7099dfc79b1fe8ac04870288385217a48a5d6e25", |
| 482 |
"tarball": "https://registry.npmjs.org/nice-try/-/nice-try-2.0.1.tgz", |
| 483 |
"fileCount": 5, |
| 484 |
"unpackedSize": 3765, |
| 485 |
"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" |
| 486 |
}, |
| 487 |
"maintainers": [ |
| 488 |
{ |
| 489 |
"name": "electerious", |
| 490 |
"email": "[email protected]" |
| 491 |
} |
| 492 |
], |
| 493 |
"_npmUser": { |
| 494 |
"name": "electerious", |
| 495 |
"email": "[email protected]" |
| 496 |
}, |
| 497 |
"directories": {}, |
| 498 |
"_npmOperationalInternal": { |
| 499 |
"host": "s3://npm-registry-packages", |
| 500 |
"tmp": "tmp/nice-try_2.0.1_1584699647085_0.5007244220982261" |
| 501 |
}, |
| 502 |
"_hasShrinkwrap": false |
| 503 |
}, |
| 504 |
"2.1.0": { |
| 505 |
"name": "nice-try", |
| 506 |
"version": "2.1.0", |
| 507 |
"authors": [ |
| 508 |
"Tobias Reich <[email protected]>" |
| 509 |
], |
| 510 |
"description": "Tries to execute a function and discards any error that occurs", |
| 511 |
"main": "src/index.js", |
| 512 |
"keywords": [ |
| 513 |
"try", |
| 514 |
"catch", |
| 515 |
"error" |
| 516 |
], |
| 517 |
"license": "MIT", |
| 518 |
"homepage": "https://github.com/electerious/nice-try", |
| 519 |
"repository": { |
| 520 |
"type": "git", |
| 521 |
"url": "git+https://github.com/electerious/nice-try.git" |
| 522 |
}, |
| 523 |
"scripts": { |
| 524 |
"coveralls": "nyc report --reporter=text-lcov | coveralls", |
| 525 |
"test": "nyc node_modules/mocha/bin/_mocha" |
| 526 |
}, |
| 527 |
"devDependencies": { |
| 528 |
"chai": "^4.1.2", |
| 529 |
"coveralls": "^3.1.0", |
| 530 |
"mocha": "^8.1.3", |
| 531 |
"nyc": "^15.1.0" |
| 532 |
}, |
| 533 |
"gitHead": "ffb8047abf3f14c33bb4ddf5144b3e418d9eb083", |
| 534 |
"bugs": { |
| 535 |
"url": "https://github.com/electerious/nice-try/issues" |
| 536 |
}, |
| 537 |
"_id": "[email protected]", |
| 538 |
"_nodeVersion": "14.5.0", |
| 539 |
"_npmVersion": "6.14.5", |
| 540 |
"dist": { |
| 541 |
"integrity": "sha512-ZR863POogZo2DpqQkqeUHM01Fg73CVSVoP2Gq7Wjn8AYv7R1rRkvXx4Bf6PsXhyBGDhsN6rKCPflGDjn3+flWg==", |
| 542 |
"shasum": "d818aaf628993b4de39d11e9b53be224152b38c3", |
| 543 |
"tarball": "https://registry.npmjs.org/nice-try/-/nice-try-2.1.0.tgz", |
| 544 |
"fileCount": 5, |
| 545 |
"unpackedSize": 4368, |
| 546 |
"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" |
| 547 |
}, |
| 548 |
"maintainers": [ |
| 549 |
{ |
| 550 |
"name": "electerious", |
| 551 |
"email": "[email protected]" |
| 552 |
} |
| 553 |
], |
| 554 |
"_npmUser": { |
| 555 |
"name": "electerious", |
| 556 |
"email": "[email protected]" |
| 557 |
}, |
| 558 |
"directories": {}, |
| 559 |
"_npmOperationalInternal": { |
| 560 |
"host": "s3://npm-registry-packages", |
| 561 |
"tmp": "tmp/nice-try_2.1.0_1602353155224_0.6618185573080881" |
| 562 |
}, |
| 563 |
"_hasShrinkwrap": false |
| 564 |
} |
| 565 |
}, |
| 566 |
"readme": "# nice-try\n\n[](https://travis-ci.org/electerious/nice-try) [](https://coveralls.io/github/electerious/nice-try?branch=master) [](https://david-dm.org/electerious/nice-try#info=dependencies) [](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.", |
| 567 |
"maintainers": [ |
| 568 |
{ |
| 569 |
"name": "electerious", |
| 570 |
"email": "[email protected]" |
| 571 |
} |
| 572 |
], |
| 573 |
"time": { |
| 574 |
"modified": "2020-10-10T18:05:57.654Z", |
| 575 |
"created": "2016-07-30T15:03:26.611Z", |
| 576 |
"1.0.0": "2016-07-30T15:03:26.611Z", |
| 577 |
"1.0.1": "2016-08-05T20:32:14.000Z", |
| 578 |
"1.0.2": "2016-08-05T20:33:06.707Z", |
| 579 |
"1.0.3": "2017-06-10T19:57:46.715Z", |
| 580 |
"1.0.4": "2017-08-08T19:34:36.228Z", |
| 581 |
"1.0.5": "2018-08-25T19:03:09.537Z", |
| 582 |
"2.0.0": "2018-10-28T15:23:25.854Z", |
| 583 |
"2.0.1": "2020-03-20T10:20:47.213Z", |
| 584 |
"2.1.0": "2020-10-10T18:05:55.358Z" |
| 585 |
}, |
| 586 |
"homepage": "https://github.com/electerious/nice-try", |
| 587 |
"keywords": [ |
| 588 |
"try", |
| 589 |
"catch", |
| 590 |
"error" |
| 591 |
], |
| 592 |
"repository": { |
| 593 |
"type": "git", |
| 594 |
"url": "git+https://github.com/electerious/nice-try.git" |
| 595 |
}, |
| 596 |
"bugs": { |
| 597 |
"url": "https://github.com/electerious/nice-try/issues" |
| 598 |
}, |
| 599 |
"license": "MIT", |
| 600 |
"readmeFilename": "README.md" |
| 601 |
} |