Programmatic API. The CLI is a thin layer over these functions; the JSON report format is schemaVersion 0 and may change before 1.0.
schemaVersion
import { render, scan } from '@mcamdali/sdkbump';const report = await scan('path/to/app');console.log(report.verdict.text);console.log(render(report, 'markdown')); Copy
import { render, scan } from '@mcamdali/sdkbump';const report = await scan('path/to/app');console.log(report.verdict.text);console.log(render(report, 'markdown'));
Programmatic API. The CLI is a thin layer over these functions; the JSON report format is
schemaVersion0 and may change before 1.0.