bottender-codemod

0.1.3 • Public • Published

bottender-codemod

This repository contains a collection of codemod scripts for use with JSCodeshift that help update Bottender APIs.

Usage

npx bottender-codemod <transform> <path> [...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 comparison

This will start an interactive wizard, and then run the specified transform.

Included Transforms

camelcase

Converts api calls and attributes on context into camel case.

npx bottender-codemod camelcase <path>

Package Sidebar

Install

npm i bottender-codemod

Weekly Downloads

0

Version

0.1.3

License

MIT

Unpacked Size

42.5 kB

Total Files

23

Last publish

Collaborators

  • chentsulin
  • etrexkuo
  • tw0517tw
  • link515