Skip to content

Converts Mustache template and input keys into an output string.

Notifications You must be signed in to change notification settings

webpipes/block-formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Converts Mustache template and input keys into an output string.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published