@kit-data-manager/pid-component
Version:
The PID-Component is a web component that can be used to evaluate and display FAIR Digital Objects, PIDs, ORCiDs, and possibly other identifiers in a user-friendly way. It is easily extensible to support other identifier types.
14 lines (13 loc) • 334 B
TypeScript
export declare class DOI {
private readonly _doi;
constructor(doi: string);
get doi(): string;
static isDOI(text: string): boolean;
static getDOIFromString(doi: string): DOI;
static fromJSON(serialized: string): DOI;
toURL(): string;
toString(): string;
toObject(): {
doi: string;
};
}