https://github.com/flarebyte/baldrick-codemod-ts
Code modification for typescript projects
https://github.com/flarebyte/baldrick-codemod-ts
npm-cli snippets-collection
Last synced: over 1 year ago
JSON representation
Code modification for typescript projects
- Host: GitHub
- URL: https://github.com/flarebyte/baldrick-codemod-ts
- Owner: flarebyte
- License: mit
- Created: 2022-01-25T19:37:39.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-18T07:35:06.000Z (about 4 years ago)
- Last Synced: 2025-02-04T12:48:13.071Z (over 1 year ago)
- Topics: npm-cli, snippets-collection
- Language: TypeScript
- Homepage:
- Size: 59.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Baldrick-codemod-ts
 




> Code modification and generation for typescript projects
The main motivation is to boost the development effort by providing ready
made snippets:
- Snippets are written in Typescript, and have been unit tested.
- Encourage a zero-dependency approach when the code needed does not
justify importing a whole library.
- Improve the consistency of the code.
You can run the generator in interactive mode by just typing:
```bash
baldrick-codemod-ts
```
It will ask for the snippet name, some parameters specific to the snippet and
a target file.
## Documentation and links
- [Code Maintenance](MAINTENANCE.md)
- [Code Of Conduct](CODE_OF_CONDUCT.md)
- [Api for baldrick-codemod-ts](API.md)
- [Contributing](CONTRIBUTING.md)
- [Glossary](GLOSSARY.md)
- [Diagram for the code base](INTERNAL.md)
- [Vocabulary used in the code base](CODE_VOCABULARY.md)
- [Contributors](https://github.com/flarebyte/baldrick-codemod-ts/graphs/contributors)
- [Dependencies](https://github.com/flarebyte/baldrick-codemod-ts/network/dependencies)
## Installation
This package is [ESM
only](https://blog.sindresorhus.com/get-ready-for-esm-aa53530b3f77).
```bash
yarn global add baldrick-codemod-ts
baldrick-codemod-ts --help
```
Or alternatively run it:
```bash
npx baldrick-codemod-ts --help
```
If you want to tun the latest version from github. Mostly useful for dev:
```bash
git clone git@github.com:flarebyte/baldrick-codemod-ts.git
yarn global add `pwd`
```