-
-
Couldn't load subscription status.
- Fork 0
2. API Reference
Jared Van Valkengoed edited this page Oct 6, 2025
·
1 revision
- Description: Initializes the deck with a provided array of card objects.
-
Parameters:
-
cards(Array<Object>): Array of Tarot"cards", each with properties likenameandmeaning. -
options(Object): Spread settings.-
positions(Array): An array defining positions in the spread. -
description(string, optional): Brief description of the spread.
-
-
- Returns: The configured spread object.
- Description: Adds a custom spread configuration.
-
Parameters:
-
name(string): Unique name for the spread. -
options(Object): Spread settings.-
positions(Array): An array defining positions in the spread. -
description(string, optional): Brief description of the spread.
-
-
- Returns: The configured spread object.
- Description: Draws cards according to the specified spread.
-
Parameters:
-
spreadName(string): Name of the spread to use for the reading.
-
- Returns: Array of objects with each position and corresponding drawn card.
- Description: Shuffles the deck in place.
- Description: Removes a spread by name.
- Description: Retrieves information about a specific spread.
- Description: Lists all available custom spreads by name.
- Description: Draws a specified number of cards from the deck.
- Description: Retrieves the current spread from the most recent reading.
- Description: Retrieves information about the current deck, including the number of cards and card details.