Skip to content
JS
Package

tslib

Runtime library for TypeScript helper functions

v2.8.1, 31 Oct 20240BSDESM + CommonJSTypes: BundledTypeScript tooling
$ npm install tslib

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
0200m400m600mSept 2025Mar 2026Sept 2026High 431.2m (18 Aug 2026)Low 141.7m (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.

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

  1. v2 first release 2.0.0, 13 May 2020
  2. v1 first release 1.0.0, 28 Jun 2016

Recent releases

VersionPublished
2.8.131 Oct 2024
2.8.015 Oct 2024
2.7.023 Aug 2024
2.6.34 Jun 2024
2.6.218 Aug 2023
2.6.124 Jul 2023
2.6.026 Jun 2023
2.5.32 Jun 2023
2.5.218 May 2023
2.5.117 May 2023
2.5.026 Jan 2023
2.4.131 Oct 2022
2.4.022 Apr 2022
2.3.111 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 tslib

CDN

jsDelivr: 37.5m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/tslib@2.8.1/
  • unpkghttps://unpkg.com/tslib@2.8.1/
  • esm.shhttps://esm.sh/tslib@2.8.1
PackageWeekly downloadsGzipLast releaseModuleComparison
ts-node34.3m-2 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.