Reference · Options, materials, stacks and wear
CardMaterialSourcetype
Where a number was read: the maker's or the standard's page, and what it says there.
Import it
import type { CardMaterialSource } from "@johnmorrisdotca/fuda-cards";
Definition
interface CardMaterialSource {
label: string;
url: string;
says: string;
}
Members
| Name | Type | Description |
|---|---|---|
label | string | |
url | string | |
says | string | What the source says, in short. |
Examples
import { cardMaterial, type CardMaterialSource } from "@johnmorrisdotca/fuda-cards";
const source: CardMaterialSource | undefined = cardMaterial("paper-310-black-core")?.source;
console.log(source?.says); // Black Core Paper, 310gsm, 0.325mm, 13ptBlack Core Paper, 310gsm, 0.325mm, 13ptWhat it prints (run when this page was built)