Show examples in:
List all plugins

Returns

Returns an array of plugin resource objects.

Examples

Example Basic example
import { buildClient } from '@datocms/cma-client-node';
async function run() {
const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });
const plugins = await client.plugins.list();
plugins.forEach((plugin) => {
console.log(plugin);
});
}
run();