babel-plugin-transform-class-constructor-call (deprecated)
JSON →This deprecated Babel plugin (v6.24.1, last release 2017) transforms the withdrawn TC39 proposal for call constructor syntax in ES2015 classes. It allows a class to have a 'call constructor' that is invoked when the class is called without 'new', enabling patterns like Date() returning a string while new Date() returns an instance. The proposal was withdrawn and is superseded by decorators. This plugin is part of Babel v6 era and is not compatible with Babel v7+. Developers should not use it in new projects; instead, use modern patterns like static methods or decorators.
Traffic · last 30 days ↓55% vs prev 7d
total hits 44
actors 8 distinct systems
last hit 1d ago human
top countries 🇨🇦 Canada · 🇺🇸 United States · 🇩🇪 Germany · VN · 🇸🇬 Singapore
Resources
githubgithub.com/babel/babel ↗