@courseproof/provider-linux-foundation
v0.1.1
Published
[](https://opensource.org/licenses/MIT)
Maintainers
Readme
@courseproof/provider-linux-foundation
Provider for verifying Linux Foundation certificates. Detects and verifies certificate URLs from Linux Foundation by fetching the page and extracting structured data.
Detection
The provider detects URLs matching the following patterns:
linuxfoundation.org/certificate/…
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 { LinuxfoundationProvider } from "@courseproof/provider-linux-foundation";
import { CourseProof } from "@courseproof/core";
const cp = new CourseProof();
cp.registerProvider(new LinuxfoundationProvider());
const result = await cp.verify("https://linuxfoundation.org/certificate/…/verify/abc123");Installation
npm install @courseproof/provider-linux-foundationLicense
MIT — see LICENSE for details.
Part of the CourseProof monorepo.
