Sorry, no results found for "".
Returns an array of resource objects of type plugin
import { buildClient } from "@datocms/cma-client-node";
async function run() { const client = buildClient({ apiToken: process.env.DATOCMS_API_TOKEN });
const plugins = await client.plugins.list();
for (const plugin of plugins) { // Check the 'Returned output' tab for the result ☝️ console.log(plugin); }}
run();
{ id: "RMAMRffBRlmBuDlQsIWZ0g", name: "5 stars", description: "A better rating experience!", url: "https://cdn.rawgit.com/datocms/extensions/master/samples/five-stars/extension.js", parameters: { devMode: true }, package_name: "datocms-plugin-star-rating-editor", package_version: "0.0.4", permissions: ["currentUserAccessToken"], meta: { version: "2" },}