{"id":27022,"library":"gomtm-cli","title":"gomtm-cli","description":"A CLI tool for interacting with the GoMTM platform. Version 0.8.2808 is the current stable release. It appears to be a command-line interface, but no detailed documentation or usage examples are provided in the readme. Likely used for automation or management tasks. Release cadence is unknown.","status":"active","version":"0.8.2808","language":"javascript","source_language":"en","source_url":null,"tags":["javascript"],"install":[{"cmd":"npm install gomtm-cli","lang":"bash","label":"npm"},{"cmd":"yarn add gomtm-cli","lang":"bash","label":"yarn"},{"cmd":"pnpm add gomtm-cli","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"ESM-only package.","wrong":"const gomtm = require('gomtm-cli')","symbol":"default","correct":"import gomtm from 'gomtm-cli'"},{"note":"Named export.","wrong":"import GomtmClient from 'gomtm-cli'","symbol":"GomtmClient","correct":"import { GomtmClient } from 'gomtm-cli'"},{"note":"Type export for configuration.","wrong":"import { GomtmConfig } from 'gomtm-cli/gomtmConfig'","symbol":"GomtmConfig","correct":"import { GomtmConfig } from 'gomtm-cli'"}],"quickstart":{"code":"import gomtm from 'gomtm-cli';\n\nasync function main() {\n  const client = await gomtm.init({ apiKey: process.env.API_KEY ?? '' });\n  const result = await client.run('task-name', { param: 'value' });\n  console.log(result);\n}\n\nmain().catch(console.error);","lang":"typescript","description":"Initializes the GoMTM client and runs a task, using environment variable for API key."},"warnings":[{"fix":"Review the source code or contact the maintainer for usage details.","message":"Package is poorly documented; the readme is just the package name. Use with caution.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Pin to specific version and test thoroughly before upgrading.","message":"Version 0.8.x may have breaking changes from 0.7.x due to major version bump pattern. No changelog provided.","severity":"breaking","affected_versions":">=0.8.0"},{"fix":"Use import syntax and set type: module in package.json, or use dynamic import in CJS.","message":"Assume ESM-only; require() will fail if package uses ES modules.","severity":"gotcha","affected_versions":">=0.8.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Switch to import or use dynamic import() in CommonJS files.","cause":"Using CommonJS require() on an ESM-only package.","error":"Error [ERR_REQUIRE_ESM]: require() of ES Module /path/to/node_modules/gomtm-cli/index.js not supported."},{"fix":"Check the package exports; try import { init } from 'gomtm-cli' if default is undefined.","cause":"Using default import incorrectly or the package does not export init as default.","error":"TypeError: gomtm.init is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}