Preparing for system design interviews?  Try bugzed.com →

babel-plugin-ts-nameof

JSON →
library 4.2.1 ·javascript
verified Jun 17, 2026

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.

total hits 20
actors 5 distinct systems
last hit 20d ago AhrefsBot
GPTBot
4
ByteDance
4
Script
1
Amazonbot
1
Humans
6

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany