|
|
|
|
|
by miguelspizza
696 days ago
|
|
This is a perfect use case for LLMs at the moment. I wrote a script to update and express code base to hono. I got Claude to write a regex that would match the handler to the route and called the Claude 3.5 api with an example conversion and some other relevant context. With the right prompt, it produced extremely clean and workable code. ~20 controller files and over 100 route handlers were converted in about 20 minutes and 5 dollars. The engineering cost of migrating code bases is trending to 0 |
|