@rxap/ts-morph
Version:
Provides utilities for manipulating TypeScript code using the ts-morph library. It offers a fluent API to add, modify, and remove code elements such as classes, decorators, imports, and properties in both Angular and NestJS projects. This package simplifi
32 lines (25 loc) • 1.31 kB
Markdown
Provides utilities for manipulating TypeScript code using the ts-morph library. It offers a fluent API to add, modify, and remove code elements such as classes, decorators, imports, and properties in both Angular and NestJS projects. This package simplifies common code generation and refactoring tasks.
[](https://www.npmjs.com/package/@rxap/ts-morph)
[](https://commitizen.github.io/cz-cli/)
[](https://github.com/prettier/prettier)



- [Installation](#installation)
- [Generators](#generators)
- [init](#init)
# Installation
**Add the package to your workspace:**
```bash
yarn add @rxap/ts-morph
```
**Execute the init generator:**
```bash
yarn nx g @rxap/ts-morph:init
```
# Generators
## init
> Initialize the package in the workspace
```bash
nx g @rxap/ts-morph:init
```