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