Skip to content
JS
Package

nice-try

Tries to execute a function and discards any error that occurs

v4.0.2, 16 Aug 2025MITESM onlyTypes: None
$ npm install nice-try

Key numbers

As of 25 Sept 2026
Weekly downloads
13.3m
-4% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
1 year ago
v4.0.2
GitHub stars
69
7 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
6

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15m20mSept 2025Mar 2026Sept 2026High 18.9m (21 Oct 2025)Low 6.9m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

13,252,949 downloads last week, 56,173,946 in the last month. The 12-month change of -4% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
014 in total
Latest version
4.0.2, 16 Aug 20251 year ago
First published
30 Jul 2016
Last push to GitHub
19 Sept 20265 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
6
Dependents on npm
651

Major versions

  1. v4 first release 4.0.0, 7 Jul 2025
  2. v3 first release 3.0.0, 28 Feb 2021
  3. v2 first release 2.0.0, 28 Oct 2018
  4. v1 first release 1.0.0, 30 Jul 2016

Recent releases

VersionPublished
4.0.216 Aug 2025
4.0.17 Jul 2025
4.0.07 Jul 2025
3.0.117 Sept 2022
3.0.028 Feb 2021
2.1.010 Oct 2020
2.0.120 Mar 2020
2.0.028 Oct 2018
1.0.525 Aug 2018
1.0.48 Aug 2017
1.0.310 Jun 2017
1.0.25 Aug 2016
1.0.15 Aug 2016
1.0.030 Jul 2016
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
4.4 kB
Dependencies (0)
None
npm install nice-try
  • jsDelivrhttps://cdn.jsdelivr.net/npm/nice-try@4.0.2/
  • unpkghttps://unpkg.com/nice-try@4.0.2/
  • esm.shhttps://esm.sh/nice-try@4.0.2
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.