Menu
Squirrelly LogoSquirrellyDocs (v8)AboutLearnREPL
BlogDocs (v7)CommunityGitHub
๐ŸŒœ
๐ŸŒž
Squirrelly LogoSquirrelly
  • Docs (v8)
  • About
  • Learn
  • REPL
  • Blog
  • Docs (v7)
  • Community
  • GitHub
  • Get Started
    • Overview
    • Installation
    • Security
    • Your First Template
  • Template Syntax
    • Syntax Overview
    • Cheatsheet
    • Async Helpers & Filters
    • References (Interpolate)
    • Filters
    • Helpers
    • Partials and Template Inheritance
    • Built-in Helpers
    • Whitespace Control
    • Auto XML-Escaping
  • API
    • API Overview
    • Rendering
    • Compilation
    • Configuration
    • File Handling
    • Filters API
    • Helpers API
    • Native Helpers API
    • Parsing
    • Partials & Layouts
Version: Next

File Handling

note

Squirrelly works out-of-the-box with Express.js.

app.engine('html', require('squirrelly').renderFile)
// Or, if you want to use the .squirrelly file extension
app.set('view engine', 'squirrelly')

Syntax#

Edit this page
Last updated on 8/18/2020 by Ben Gubler
Previous
ยซ Configuration
Next
Filters API ยป
  • Syntax

Docs

  • Docs

Community

  • Gitter

Social

  • Blog
  • Facebook
Squirrelly Logo
Copyright ยฉ 2025 SquirrellyJS. Built with Docusaurus. Theme inspired by benthos.dev