Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bottenderjs/bottender-codemod
Bottender codemod scripts
https://github.com/bottenderjs/bottender-codemod
Last synced: about 2 months ago
JSON representation
Bottender codemod scripts
- Host: GitHub
- URL: https://github.com/bottenderjs/bottender-codemod
- Owner: bottenderjs
- Created: 2019-12-02T09:25:05.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T02:08:45.000Z (about 2 years ago)
- Last Synced: 2024-11-02T21:31:55.270Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.47 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-codemods - bottender-codemod - Bottender codemod scripts. (Misc / ant-design)
README
# bottender-codemod
This repository contains a collection of codemod scripts for use with
[JSCodeshift](https://github.com/facebook/jscodeshift) that help update Bottender
APIs.### Usage
`npx bottender-codemod [...options]`
- `transform` - name of transform, see available transforms below.
- `path` - files or directory to transform
- use the `--dry` option for a dry-run and use `--print` to print the output for comparisonThis will start an interactive wizard, and then run the specified transform.
### Included Transforms
#### `camelcase`
Converts api calls and attributes on context into camel case.
```sh
npx bottender-codemod camelcase
```