{"library":"remark-cli","title":"remark-cli","description":"Command-line interface for processing markdown with the remark ecosystem. Current stable version is 12.0.1, released as part of the remark monorepo. The CLI allows inspecting, linting, and transforming markdown files using over 150 plugins. It is the primary way to integrate remark into CI/CD pipelines or npm scripts. Key differentiators: full access to the unified ecosystem, supports configuration files (JSON, YAML, JS), and can output formatted syntax trees. Requires Node.js 16+. ESM-only package, does not support CommonJS require().","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install remark-cli"],"cli":{"name":"remark","version":null}},"imports":["npx remark . --use remark-validate-links","import { remark } from 'remark'","export default { plugins: ['remark-preset-lint-consistent'] }"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"{\n  \"scripts\": {\n    \"lint:md\": \"remark . --frail --use remark-preset-lint-consistent --quiet\"\n  },\n  \"devDependencies\": {\n    \"remark-cli\": \"^12.0.1\",\n    \"remark-preset-lint-consistent\": \"^6.0.0\"\n  }\n}","lang":"javascript","description":"Configure a lint script for markdown files in package.json using remark-cli with a preset.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}