Package
@lifeomic/attempt
Library that can be used to retry functions that return promise
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 866.3k
- - over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 2 years ago
- v3.1.0
- GitHub stars
- 197
- 15 forks
- Open issues / PRs
- 5 / 3
- Contributors
- -
- Commits, last 52 weeks
- 8
No weekly download data in the snapshot.
866,281 downloads last week, 4,217,664 in the last month. No 52-week series has been fetched yet.
- Releases, last 12 months
- 012 in total
- Latest version
- 3.1.0, 21 Mar 20242 years ago
- First published
- 13 Feb 2018
- Last push to GitHub
- 13 Sept 202611 days before the snapshot
- Repository archived
- No
- Open issues
- 5
- Open pull requests
- 3
- Commits, last 52 weeks
- 8
- Dependents on npm
- 236
Major versions
- v3 first release 3.0.0, 12 Sept 2018
- v2 first release 2.0.1, 13 Feb 2018
Recent releases
| Version | Published |
|---|---|
| 3.1.0 | 21 Mar 2024 |
| 3.0.3 | 15 Apr 2022 |
| 3.0.2 | 17 Jan 2022 |
| 3.0.1 | 22 Oct 2021 |
| 2.0.7 | 22 Oct 2021 |
| 3.0.0 | 12 Sept 2018 |
| 2.0.6 | 16 Feb 2018 |
| 2.0.5 | 16 Feb 2018 |
| 2.0.4 | 14 Feb 2018 |
| 2.0.3 | 13 Feb 2018 |
| 2.0.2 | 13 Feb 2018 |
| 2.0.1 | 13 Feb 2018 |
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 33 kB
- Dependencies (0)
- None
npm install @lifeomic/attempt- jsDelivr
https://cdn.jsdelivr.net/npm/@lifeomic/attempt@3.1.0/ - unpkg
https://unpkg.com/@lifeomic/attempt@3.1.0/ - esm.sh
https://esm.sh/@lifeomic/attempt@3.1.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| basic-ftp | 18.8m | - | 28 days ago | CommonJS | - |
| emittery | 35.2m | - | 6 months ago | ESM only | - |
| evt | 640.6k | - | 1 year ago | CommonJS | - |
| synckit | 39.1m | - | 3 months ago | ESM + CommonJS | - |
| ambi | 41.1k | - | 2 years ago | ESM + CommonJS | - |
| try-to-catch | 50.3k | - | 2 months ago | ESM only | - |
| async-await-mutex-lock | 63.9k | - | 1 year ago | CommonJS | - |
| ts-retry-promise | 518.8k | - | 2 years ago | CommonJS | - |
Indexability: Indexed.