Package
tsafe
A collection of utilities to step up your TypeScript game
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 811.9k
- +367% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 11 months ago
- v1.8.12
- GitHub stars
- 480
- 7 forks
- Open issues / PRs
- 6 / 2
- Contributors
- -
- Commits, last 52 weeks
- 4
Downloads
Last week 2026-09-15 to 2026-09-21
811,876 downloads last week. The 12-month change of +367% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 279 in total
- Latest version
- 1.8.12, 1 Oct 202511 months ago
- First published
- 29 Mar 2021
- Last push to GitHub
- 1 Oct 2025358 days before the snapshot
- Repository archived
- No
- Open issues
- 6
- Open pull requests
- 2
- Commits, last 52 weeks
- 4
- Dependents on npm
- -
Major versions
- v1 first release 1.0.0, 13 Aug 2022
- v0 first release 0.0.1, 29 Mar 2021
Recent releases
| Version | Published |
|---|---|
| 1.8.12 | 1 Oct 2025 |
| 1.8.11 | 1 Oct 2025 |
| 1.8.10 | 9 Sept 2025 |
| 1.8.9 | 7 Sept 2025 |
| 1.8.8 | 7 Sept 2025 |
| 1.8.7 | 6 Sept 2025 |
| 1.8.6 | 6 Sept 2025 |
| 1.8.5 | 18 Nov 2024 |
| 1.8.4 | 10 Nov 2024 |
| 1.8.3 | 10 Nov 2024 |
| 1.8.2 | 10 Nov 2024 |
| 1.8.1 | 9 Nov 2024 |
| 1.8.0 | 9 Nov 2024 |
| 1.7.5 | 2 Oct 2024 |
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 135 kB
- Dependencies (0)
- None
npm install tsafe- jsDelivr
https://cdn.jsdelivr.net/npm/tsafe@1.8.12/ - unpkg
https://unpkg.com/tsafe@1.8.12/ - esm.sh
https://esm.sh/tsafe@1.8.12
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| type-plus | 46.9k | - | 2 years ago | ESM + CommonJS | - |
| type-fest | 285.1m | - | 7 days ago | ESM only | - |
| tsutils | 16.1m | - | 5 years ago | - | - |
| utility-types | 7.8m | - | 2 years ago | CommonJS | - |
| ts-toolbelt | 7.1m | - | 5 years ago | CommonJS | - |
| just-diff | 4.6m | - | 3 years ago | ESM + CommonJS | - |
| just-diff-apply | 4.4m | - | 3 years ago | ESM + CommonJS | - |
| just-curry-it | 729.3k | - | 3 years ago | ESM + CommonJS | - |
Indexability: Indexed.