{"library":"vite-plugin-ts-nameof","type":"library","category":null,"description":"Vite plugin that resolves nameof calls (e.g., nameof(MyClass)) at build time, providing type-safe string references to member names. v3.0.0 supports Vite 2–5 and ships TypeScript types. Requires peer dependencies @typescript-nameof/common-types and @typescript-nameof/types. Alternative to babel-plugin-ts-nameof for Vite-based workflows.","language":"javascript","status":"active","version":"3.0.0","tags":["javascript","vite","vite-plugin","ts-nameof","nameof","plugin","typescript","vitejs","awesome"],"last_verified":"Mon Apr 27","install":[{"cmd":"npm install vite-plugin-ts-nameof","imports":["import tsNameof from 'vite-plugin-ts-nameof'","import { tsNameof } from 'vite-plugin-ts-nameof'","// global type definition imported via tsconfig files; // no import needed at runtime, just use nameof() in TS"]},{"cmd":"yarn add vite-plugin-ts-nameof","imports":[]},{"cmd":"pnpm add vite-plugin-ts-nameof","imports":[]}],"homepage":null,"github":"https://github.com/Shinigami92/vite-plugin-ts-nameof","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vite-plugin-ts-nameof","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}