0.1.6 • Published 2 years ago

certi v0.1.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Certi

An configurable URL shortener for Certificates (and other things).

This is the core library part of Certi. If you just want to run a server, try certi-cli.

You can also try the demo on cert.deta.dev or certi.jacob.workers.dev.

Usage

Simply start with the default configs:

import { Certi } from "certi";

main();

async function main() {
    // create Certi instance in memory-store mode
    const certi = new Certi();

    // auto-check with Coursera for the existence of the certificate
    const result = await certi.create({ cert: "https://www.coursera.org/account/accomplishments/certificate/RZU3FVL3SWJ4" });

    if (result.success) {
        console.log(result.url);
    } else {
        console.error(result.error);
    }
}
0.1.4

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago