import NPC from 'dnd-npc'; const npc = new NPC({ raceType: "warforged" }); // Generates a Warforged with a random sub-race and class. const character = await npc.generate(); import NPC from 'dnd-npc'; const npc = new NPC({ classType: "fighter" }); // Generates a fighter ...