sprinkle

A simple to use string formatting library


License
Artistic-1.0-cl8

Documentation

sprinkle

Package Version Hex Docs

gleam add sprinkle
import sprinkle.{format}

pub fn main() {
  let output = format("My name is {name} and I like to do {activity}!", [
    #("name", "Lily"),
    #("activity", "programming")
  ])
}

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

Development

gleam run   # Run the project
gleam test  # Run the tests
gleam shell # Run an Erlang shell