@twin.org/nameof-transformer

0.0.1-next.1 • Public • Published

TWIN Nameof TypeScript Transformer

This transformer is used to convert class/type/property names to embedded strings, so that they are available to the code at runtime.

It is used during your TypeScript compilation as part of the build pipeline.

It is necessary that your code is built with a compiler that supports transformers such as ts-patch / ttypescript / ttsc.

You will also need to include the @twin.org/nameof to be able to reference the methods in your code.

Installation

npm install @twin.org/nameof-transformer -D

Configuration

Configuration of the package is shown in docs/configuration.md

Reference

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

Changelog

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

Readme

Keywords

none

Package Sidebar

Install

npm i @twin.org/nameof-transformer

Weekly Downloads

351

Version

0.0.1-next.1

License

Apache-2.0

Unpacked Size

27.8 kB

Total Files

13

Last publish

Collaborators

  • martyniota