Assess, plan, evolve.
Reusable compiler-aware skills that help coding agents understand, plan, and safely evolve your codebase.
11 packages
This codemod migration recipe helps you update your Express.js v4 applications to be compatible with Express.js v5 by addressing deprecated APIs.
Migrates res.sendFile() options to Express 5 - adds an explicit dotfiles option and renames the removed hidden and from options
Migrates express.static.mime (removed in Express 5) to the mime-types package
Migrates express.static() options to Express 5 - adds an explicit dotfiles option and renames the removed hidden and from options
Migrates usage of the legacy APIs `req.param(name)` to the current recommended approaches
Migrates usage of the legacy APIs `res.redirect(url, status)` to use the recommended argument order `res.redirect(status, url)`.
Migrates usage of the legacy APIs `app.del()` to `app.delete()`
Migrates usage of deprecated singular request methods to their pluralized versions in Express.js applications.
Migrates usage of the legacy APIs `res.send(status)`, `res.send(obj, status)`, `res.json(obj, status)` and `res.jsonp(obj, status)` to the current recommended approaches
Migrates usage of the legacy API `res.sendfile(file)` to `res.sendFile(file)`
Migrates usage of the legacy APIs `res.redirect('back')` and `res.location('back')` to the current recommended approaches
Build your own codemod!
Describe the migration you need and Wish will create a codemod for you.
Ready to evolve your codebase?
Build tailored, compiler-aware skills to assess, plan, and automate complex codebase changes.