Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Converts Mustache template and input keys into an output string.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 Procfile
Octocat-spinner-32 README.md
Octocat-spinner-32 index.js
Octocat-spinner-32 package.json
README.md

Formatter Action Block

Takes two inputs: "template" and "*" meaning it can take any input keys. It uses those keys with the template to produce an output string.

Example Usage

curl -v -X OPTIONS http://block-formatter.herokuapp.com

curl -i -X POST -d '{"inputs":[{"template":"Hello {{name}}!", "name":"Matthew"}]}' -H "Content-Type: application/json" http://block-formatter.herokuapp.com
Something went wrong with that request. Please try again.