3

elasticsearch/8/migrate-plugins-extended

How to Use
Run this codemod on your codebase using one of the following commands

The easiest way to run this codemod without installing anything globally:

Documentation

This codemod migrates the plugins option to client.extend() calls.

What Changed

Previously, you could pass plugins as an option to the Client constructor. Now, plugins need to be added using the client.extend() method.

Before

jsx

After

jsx

Ready to contribute?

Build your own codemod and share it with the community.