template
String / MiscApplies a Mustache-style template string to an object or every object in an array, interpolating {{field}} placeholders with the corresponding field values. Supports dot-notation inside placeholders.
Syntax
template:Hello {{name}}templateTemplate string with {{field}} placeholders. Use commas within values by quoting carefully.Use cases
| Use case | Description | URL | |
|---|---|---|---|
| Format user contact line | Produce a human-readable contact entry from structured user data. | https://httpip.es/api/pipe/fetch:https://jsonplaceholder.typicode.com/users/1|template:{{name}} <{{email}}> | |
| Format all users as contact lines | Apply the same template to every user in the array. | https://httpip.es/api/pipe/fetch:https://jsonplaceholder.typicode.com/users|template:{{name}} — {{email}} | |
| Generate repo summary lines | Format each repo as a one-line description including its star count. | https://httpip.es/api/pipe/fetch:https://api.github.com/users/octocat/repos|rsort:stargazers_count|head:5|template:{{name}}: {{stargazers_count}} stars | |
| Format IP info as sentence | Turn IP geolocation data into a natural-language summary string. | https://httpip.es/api/pipe/fetch:https://ipapi.co/json|template:{{ip}} is in {{city}} ({{country_name}}) |