@typescript-nameof/nameof
TypeScript icon, indicating that this package has built-in type declarations

0.0.11 • Public • Published

TypeScript nameof Plugin

Build Status

Allows the use of nameof() calls in TypeScript projects.

This package provides support for nameof() calls for ts-patch, ts-jest, ts-loader, ttypescript and every ecosystem which supports TypeScript TransformerFactorys.

nameof() calls enable you to access the names of variables, properties and types:

console.log(nameof(this));  // Prints `this`

Please check out the project repository to find out more on how to set up TypeScript nameof in your build process.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.11510latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.11510
0.0.1050
0.0.91
0.0.7138
0.0.61
0.0.51
0.0.43
0.0.32
0.0.20
0.0.11

Package Sidebar

Install

npm i @typescript-nameof/nameof

Weekly Downloads

707

Version

0.0.11

License

MIT

Unpacked Size

96.2 kB

Total Files

60

Last publish

Collaborators

  • lordgizmo