babel-plugin-syntax-trailing-function-commas weekly downloads statistics
By babel (204 listings) · npm · Babel plugins
Compile trailing function commas to ES5
babel-plugin-syntax-trailing-function-commas has 2,355,283 recorded weekly downloads on npm, a decrease of 51.6% over the past 30 days.
It ranks #151 of 2,251 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by -57.7%.
PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.
About babel-plugin-syntax-trailing-function-commas
babel-plugin-syntax-trailing-function-commas
Compile trailing function commas to ES5
Try in REPL%20%7B%20%2F*%20...%20*%2F%20%7D%0A%0AclownPuppiesEverywhere(%0A%20%20'foo'%2C%0A%20%20'bar'%2C%0A)%3B)
Example
Basic
This is an example from the Proposal.
Let's say you have this function:
If you want to have a new parameter called param3, the diff output would be like that:
In total, you have to change 2 lines for the function declaration and 2 lines for each usage.
If you had your function defined with trailing commas:
Adding a new parameter would only change one line in the function declaration and one line for each usage:
In the end, your diff output will be cleaner and easier to read, it would be much quicker to add a new parameter to your functions, it also makes it easier to copy paste elements and move code around.
Installation
Usage
Via .babelrc (Recommended)
.babelrc
Via CLI
Via Node API
References
• Proposal • Spec • Why you should enforce Dangling Commas for Multiline Statements
Description from the npm listing.
- babel-plugin
Where babel-plugin-syntax-trailing-function-commas sits in the listing
Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Recent observations
Full history (121)Similar npm Babel plugins plugins
Data source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/babel-plugin-syntax-trailing-function-commas. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.