Skip to content
JS
Package

babel-plugin-const-enum

Transform TypeScript `const` enums

v1.2.0, 6 Nov 2021MITCommonJSTypes: NoneTypeScript tooling
$ npm install babel-plugin-const-enum

Key numbers

As of 25 Sept 2026
Weekly downloads
3.2m
+66% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
4 years ago
v1.2.0
GitHub stars
51
12 forks
Open issues / PRs
3 / 11
Contributors
-
Commits, last 52 weeks
1

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6mSept 2025Mar 2026Sept 2026High 4.7m (25 Aug 2026)Low 1.2m (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.

3,159,077 downloads last week, 16,160,034 in the last month. The 12-month change of +66% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
010 in total
Latest version
1.2.0, 6 Nov 20214 years ago
First published
7 Jul 2019
Last push to GitHub
8 Aug 202647 days before the snapshot
Repository archived
No
Open issues
3
Open pull requests
11
Commits, last 52 weeks
1
Dependents on npm
36

Major versions

  1. v1 first release 1.0.0, 12 Apr 2020
  2. v0 first release 0.0.0, 7 Jul 2019

Recent releases

VersionPublished
1.2.06 Nov 2021
1.1.03 Jul 2021
1.0.115 Apr 2020
1.0.012 Apr 2020
0.0.59 Dec 2019
0.0.410 Nov 2019
0.0.323 Oct 2019
0.0.28 Jul 2019
0.0.17 Jul 2019
0.0.07 Jul 2019
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
15 kB
Dependencies (3)
@babel/traverse@babel/helper-plugin-utils@babel/plugin-syntax-typescript
Peer dependencies (1)
@babel/core
npm install babel-plugin-const-enum
  • jsDelivrhttps://cdn.jsdelivr.net/npm/babel-plugin-const-enum@1.2.0/
  • unpkghttps://unpkg.com/babel-plugin-const-enum@1.2.0/
  • esm.shhttps://esm.sh/babel-plugin-const-enum@1.2.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.