Skip to content

Latest commit

 

History

28 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chaplin

Mustache text templates using Erlang's bbmustache package.

Package Version Hex Docs

import chaplin

pub fn main() {
  let assert Ok(template) = chaplin.compile("Hello, {{name}}!")

  let rendered = chaplin.render(template, [
    #("name", chaplin.string("World")),
  ])

  assert rendered == "Hello, World!"
}

Further documentation can be found at https://hexdocs.pm/chaplin.

About

Mustache text templates using Erlang's bbmustache package

Topics

Resources

Stars

12 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages