Documentation
    Preparing search index...

    Documentation

    @funcstache

    Using: proven pattern of rendering templates, ES JavaScript capabilities, and defined conventions, to simplify rendering web pages dynamically on the server.

    @funcstache:

    • defines conventions that simplify page creation for developers
    • file-based routing
    • ideal for rendering templates on the server and returning HTML to the client
    • brings the fun back to web development!

    Why? Because client-side rendered SPAs are unnecessary for most websites. Serve usable pages fast to all client devices. And using a client-side library to render pages on the server adds complexity for developers, render time, and code bloat that slows down delivering a web page to a client.

    There are also other capabilities available beyond the basics:

    • progressive enhancement of web pages
    • the closest you'll ever get to "micro-frontends" except for an iframe

    Get started!

    The high level @funcstache/funcstache library is used in Lambdas or NodeJS apps to render web pages.

    If you want to experiment with streaming rendering of mustache templates take a look at the lower-level @funcstache/stache-stream library.