@fettle/core
v4.3.0
Published
Maintenance-health grading engine: rules, scoring, and report assembly.
Maintainers
Readme
@fettle/core
The maintenance-health grading engine behind Fettle: rules, scoring, the GitHub fetch layer, and report assembly.
pnpm add @fettle/coreimport { assess, renderMarkdown } from '@fettle/core';
const report = await assess(['acme/api', 'acme/web'], { token: process.env.GITHUB_TOKEN });
console.log(report.fleet.averageScore);
console.log(renderMarkdown(report));assess fetches, configures and scores. assessContext scores a RepoContext you
already have, with no network involved.
Full documentation, the scoring math, and the report schema: github.com/rumankazi/fettle.
