npm package
Homenice-try
Nice-try is a utility that attempts to execute a function and returns its result, discarding any errors that may occur. It is useful for scenarios where you want to safely call functions that may throw exceptions without interrupting the flow of your application. This package can be integrated into applications to handle function calls gracefully.
- lurq health score
- 60/100
- Confidence
- proven
- Weekly downloads
- 10,969,128
- Latest version
- 4.0.2
- Last release
- Aug 16, 2025
- License
- MIT
Should you depend on nice-try?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks nice-try at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Upgrading nice-try
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 3.0.1 → 4.0.2being extracted
- 2.1.0 → 3.0.1being extracted
- 1.0.5 → 2.1.0being extracted
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 14, 2026; this page refreshes every 168 hours. Source repository.