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

0.0.4 • Public • Published

GTSC / Nameof

The methods in this package are used to convert TypeScript class/type/property names to embedded strings, so that they are available to your JavaScript code at runtime.

This package is used in conjunction with the @gtsc/nameof-transformer package, without using the transformer for compilation you will end up with an error string embedded in your code instead of the runtime name you are expecting.

Installation

npm install @gtsc/nameof

Examples

Usage of the APIs is shown in the examples docs/examples.md

Reference

Detailed reference documentation for the API can be found in docs/reference/modules.md

Changelog

The changes between each version can be found in docs/changelog.md

Readme

Keywords

none

Package Sidebar

Install

npm i @gtsc/nameof

Weekly Downloads

912

Version

0.0.4

License

Apache-2.0

Unpacked Size

17.7 kB

Total Files

10

Last publish

Collaborators

  • martyniota
  • jmcanterafonseca-iota