Skip to content

@eodash/eodash / Configuration / createEodash

Function: createEodash() ​

ts
function createEodash<T>(config): Promise<T>;

Creates an eodash instance configuration. Accepts a config object directly, or an async factory that receives the eodash store and returns the config.

Type Parameters ​

T ​

T extends Eodash

Parameters ​

config ​

T | ((store) => Promise<T>)

Returns ​

Promise<T>