Package
tslib
Runtime library for TypeScript helper functions
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 316.1m
- +39% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 1 year ago
- v2.8.1
- GitHub stars
- 1.3k
- 145 forks
- Open issues / PRs
- 36 / 21
- Contributors
- 41
- Commits, last 52 weeks
- 1
Downloads
Last week 2026-09-15 to 2026-09-21
316,086,217 downloads last week, 1,534,420,343 in the last month. The 12-month change of +39% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 045 in total
- Latest version
- 2.8.1, 31 Oct 20241 year ago
- First published
- 30 Dec 2014
- Last push to GitHub
- 30 Jun 202686 days before the snapshot
- Repository archived
- No
- Open issues
- 36
- Open pull requests
- 21
- Commits, last 52 weeks
- 1
- Dependents on npm
- 143,139
Major versions
- v2 first release 2.0.0, 13 May 2020
- v1 first release 1.0.0, 28 Jun 2016
Recent releases
| Version | Published |
|---|---|
| 2.8.1 | 31 Oct 2024 |
| 2.8.0 | 15 Oct 2024 |
| 2.7.0 | 23 Aug 2024 |
| 2.6.3 | 4 Jun 2024 |
| 2.6.2 | 18 Aug 2023 |
| 2.6.1 | 24 Jul 2023 |
| 2.6.0 | 26 Jun 2023 |
| 2.5.3 | 2 Jun 2023 |
| 2.5.2 | 18 May 2023 |
| 2.5.1 | 17 May 2023 |
| 2.5.0 | 26 Jan 2023 |
| 2.4.1 | 31 Oct 2022 |
| 2.4.0 | 22 Apr 2022 |
| 2.3.1 | 11 Aug 2021 |
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 88 kB
- Dependencies (0)
- None
npm install tslibCDN
jsDelivr: 37.5m requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/tslib@2.8.1/ - unpkg
https://unpkg.com/tslib@2.8.1/ - esm.sh
https://esm.sh/tslib@2.8.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| ts-node | 34.3m | - | 2 years ago | CommonJS | - |
Indexability: Indexed.