mirror of
https://github.com/bendtherules/ts-transformer-visualizer.git
synced 2026-08-18 22:01:45 +00:00
32 lines
709 B
Markdown
32 lines
709 B
Markdown
# ts-transformer-visualizer
|
|
|
|
> Visualize AST changes caused by a typescript transformer, live. Very helpful for demo.
|
|
|
|
[](https://www.npmjs.com/package/ts-transformer-visualizer) [](https://standardjs.com)
|
|
|
|
## Install
|
|
|
|
```bash
|
|
npm install --save ts-transformer-visualizer
|
|
```
|
|
|
|
## Usage
|
|
|
|
```tsx
|
|
import * as React from 'react'
|
|
|
|
import MyComponent from 'ts-transformer-visualizer'
|
|
|
|
class Example extends React.Component {
|
|
render () {
|
|
return (
|
|
<MyComponent />
|
|
)
|
|
}
|
|
}
|
|
```
|
|
|
|
## License
|
|
|
|
MIT © [bendtherules](https://github.com/bendtherules)
|