@courseproof/provider-freecodecamp
v0.1.1
Published
[](https://opensource.org/licenses/MIT)
Maintainers
Readme
@courseproof/provider-freecodecamp
Provider for verifying freeCodeCamp certificates. Detects and verifies certificate URLs from freeCodeCamp by fetching the page and extracting structured data.
Detection
The provider detects URLs matching the following patterns:
freecodecamp.org/certification/…
Verification
When verify(url) is called, the provider:
- Fetches the certificate page
- Extracts structured data using JSON-LD, HTML selectors, or regex patterns
- Returns a
CertificateResultwith the parsed certificate information
Usage
import { FreecodecampProvider } from "@courseproof/provider-freecodecamp";
import { CourseProof } from "@courseproof/core";
const cp = new CourseProof();
cp.registerProvider(new FreecodecampProvider());
const result = await cp.verify("https://freecodecamp.org/certification/…/verify/abc123");Installation
npm install @courseproof/provider-freecodecampLicense
MIT — see LICENSE for details.
Part of the CourseProof monorepo.
