UNPKG

@ndbx/runtime

Version:

The `@ndbx/runtime` package provides a runtime environment to embed NodeBox visualizations directly into React applications. NodeBox is a powerful tool for creating interactive and generative visualizations, and this runtime allows you to integrate those

10 lines (9 loc) 428 B
export declare function startCase(str: string): string; /** * Replaces {{key}} in a template string with values[key]. * * @param template The string containing {{ placeholders }}. * @param values A map from placeholder names to their replacement strings. * @returns A new string with all placeholders substituted. */ export declare function evalTemplate(template: string, values: Record<string, any>): string;