Reference · Options, materials, stacks and wear
cardMaterialsconstant
Every material the package knows, each with a thickness and the page it was read from. docs/materials.md lists them with their sources.
Import it
import { cardMaterials } from "@johnmorrisdotca/fuda-cards";
Definition
const cardMaterials: readonly CardMaterial[]
Examples
import { cardMaterials } from "@johnmorrisdotca/fuda-cards";
for (const material of cardMaterials.slice(0, 3)) console.log(material.id, material.thicknessMm);
// paper-250 0.28
// paper-310-black-core 0.325
// paper-350 0.405paper-250 0.28
paper-310-black-core 0.325
paper-350 0.405What it prints (run when this page was built)