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 stale · no recent hits
total hits 20
actors 5 distinct systems
last hit 20d ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany
Resources
API endpoints
full doc /v1/registry/babel-plugin-ts-nameof
compatibility /v1/registry/babel-plugin-ts-nameof/compatibility