Skip to content
JS
Package

class-transformer

Proper decorator-based transformation / serialization / deserialization of plain javascript objects to class constructors

v0.5.1, 22 Nov 2021MITESM + CommonJSTypes: Bundled
$ npm install class-transformer

Key numbers

As of 25 Sept 2026
Weekly downloads
8.9m
+80% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
4 years ago
v0.5.1
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15mSept 2025Mar 2026Sept 2026High 12.9m (25 Aug 2026)Low 3.8m (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.

8,860,655 downloads last week, 45,334,651 in the last month. The 12-month change of +80% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
021 in total
Latest version
0.5.1, 22 Nov 20214 years ago
First published
25 Jul 2016
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
6,499

Major versions

  1. v0 first release 0.1.0, 28 Jul 2016

Recent releases

VersionPublished
0.5.122 Nov 2021
0.5.020 Nov 2021
0.4.120 Nov 2021
0.4.014 Feb 2021
0.3.214 Jan 2021
0.3.129 Jul 2020
0.2.320 May 2019
0.2.28 May 2019
0.2.17 May 2019
0.2.04 Nov 2018
0.1.1017 Oct 2018
0.1.94 Feb 2018
0.1.83 Oct 2017
0.1.727 Jun 2017
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
758 kB
Dependencies (0)
None
npm install class-transformer

CDN

jsDelivr: 60.5k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/class-transformer@0.5.1/
  • unpkghttps://unpkg.com/class-transformer@0.5.1/
  • esm.shhttps://esm.sh/class-transformer@0.5.1
Sources: npm registry, npm downloads API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet; no category.