Skip to content
JS
Package

babel-plugin-macros

Allows you to build compile-time libraries

v3.1.0, 5 May 2021MITCommonJSTypes: None
$ npm install babel-plugin-macros

Key numbers

As of 25 Sept 2026
Weekly downloads
24.5m
+39% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
5 years ago
v3.1.0
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
010m20m30m40mSept 2025Mar 2026Sept 2026High 32.1m (25 Aug 2026)Low 10.4m (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.

24,507,023 downloads last week, 114,864,888 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
037 in total
Latest version
3.1.0, 5 May 20215 years ago
First published
14 May 2015
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
1,259

Major versions

  1. v3 first release 3.0.0, 26 Nov 2020
  2. v2 first release 2.0.0, 10 Dec 2017
  3. v1 first release 1.0.0, 20 Jan 2016
  4. v0 first release 0.0.1, 14 May 2015

Recent releases

VersionPublished
3.1.05 May 2021
3.0.117 Dec 2020
3.0.026 Nov 2020
2.8.07 Dec 2019
2.7.122 Nov 2019
2.7.020 Nov 2019
2.6.215 Nov 2019
2.6.15 Jun 2019
2.6.030 May 2019
2.5.129 Mar 2019
2.5.08 Feb 2019
2.4.57 Jan 2019
2.4.44 Jan 2019
2.4.317 Dec 2018
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=10
Runtimes
-
Unpacked size (npm)
37 kB
Dependencies (3)
resolvecosmiconfig@babel/runtime
npm install babel-plugin-macros
  • jsDelivrhttps://cdn.jsdelivr.net/npm/babel-plugin-macros@3.1.0/
  • unpkghttps://unpkg.com/babel-plugin-macros@3.1.0/
  • esm.shhttps://esm.sh/babel-plugin-macros@3.1.0
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

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