UNPKG

nice-try

Version:

Tries to execute a function and discards any error that occurs

39 lines (38 loc) 933 B
{ "name": "nice-try", "version": "4.0.1", "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": "https://github.com/electerious/nice-try.git" }, "license": "MIT", "type": "module", "exports": { ".": "./src/index.js", "./promises": "./src/promises.js" }, "main": "src/index.js", "files": [ "src" ], "scripts": { "format": "npm run prettier -- --write", "prettier": "prettier --ignore-path .gitignore '**/*.{js,json,md}'", "test": "npm run prettier -- --check && node --test" }, "devDependencies": { "@ianvs/prettier-plugin-sort-imports": "^4.4.2", "prettier": "^3.6.2", "prettier-plugin-packagejson": "^2.5.18" }, "authors": [ "Tobias Reich <tobias@electerious.com>" ] }