@courseproof/cli
v0.1.1
Published
[](https://opensource.org/licenses/MIT)
Maintainers
Readme
@courseproof/cli
Command-line interface for CourseProof. Exposes the courseproof binary for verifying certificates from supported learning platforms directly in your terminal.
Binary
After installation, the courseproof command is available:
courseproof verify https://coursera.org/verify/abc123Uses commander for argument parsing, chalk for colored output, and ora for loading spinners.
Library Exports
In addition to the CLI binary, this package also exports a programmatic API:
| Export | Description |
|--------|-------------|
| createFullCourseProof() | Creates a CourseProof instance with 10 providers pre-registered |
| CourseProof | Re-exported from @courseproof/core |
| Certificate, CertificateResult, Provider, AnalyticsReport, ComparisonReport, CourseRecommendation, ExportFormat, InputFormat | Type re-exports from @courseproof/types |
The library registers these providers: Coursera, Udemy, edX, AWS, Microsoft Learn, Google Cloud, TryHackMe, freeCodeCamp, NPTEL, Swayam.
Usage (as library)
import { createFullCourseProof } from "@courseproof/cli";
const cp = createFullCourseProof();
const result = await cp.verify("https://coursera.org/verify/abc123");Installation
npm install @courseproof/cliLicense
MIT — see LICENSE for details.
Part of the CourseProof monorepo.
