babel-plugin-ts-nameof
JSON →A Babel plugin (v4.2.1) that implements the `nameof` keyword for TypeScript, mimicking C# `nameof` to get the string name of a variable, property, type, or member. It transforms compile-time expressions into their string representations, enabling refactor-safe string usage. Stable, maintained, and designed for use with Babel's TypeScript support. Different from ts-nameof (TypeScript compiler transformer) as it integrates into Babel pipelines. Requires @types/ts-nameof for type declarations.
Traffic · last 30 days ↓36% vs prev 7d
total hits 29
actors 8 distinct systems
last hit 2d ago AhrefsBot
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇸🇬 Singapore · 🇨🇦 Canada · VN
Resources
API endpoints
full doc /v1/registry/babel-plugin-ts-nameof
compatibility /v1/registry/babel-plugin-ts-nameof/compatibility