uralsjs-ssr-app
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

uralsjs-ssr-app

Server side rendering application

API

/**
 * Function renders static html by ModelSets Record 
 */
export const ssrApp = <Keys extends string | number>(
    modelSets: Record<Keys, ModelSet<unknown, unknown>>, 
    html: string
) => string

Example

See example in ts/test folder

Author

Anatoly Starodubtsev tostar74@mail.ru

License MIT

/uralsjs-ssr-app/

    Package Sidebar

    Install

    npm i uralsjs-ssr-app

    Weekly Downloads

    0

    Version

    0.1.2

    License

    MIT

    Unpacked Size

    16.5 kB

    Total Files

    31

    Last publish

    Collaborators

    • pantagruel74