{"library":"babel-plugin-ts-nameof","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"4.2.1","tags":["javascript","nameof","typescript","transforms","babel"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-ts-nameof","imports":["import 'babel-plugin-ts-nameof' // global nameof() available","plugins: ['babel-plugin-ts-nameof']","import 'ts-nameof' // or in tsconfig types"]},{"cmd":"yarn add babel-plugin-ts-nameof","imports":[]},{"cmd":"pnpm add babel-plugin-ts-nameof","imports":[]}],"homepage":null,"github":"https://github.com/dsherret/ts-nameof","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-ts-nameof","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/babel-plugin-ts-nameof/compatibility"}}