{"id":19788860,"url":"https://github.com/niklaskorz/tumblate","last_synced_at":"2026-05-12T08:31:31.042Z","repository":{"id":57382169,"uuid":"49839305","full_name":"niklaskorz/tumblate","owner":"niklaskorz","description":"A tumblr template rendering library","archived":false,"fork":false,"pushed_at":"2016-01-18T12:07:14.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T03:54:09.671Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/niklaskorz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-17T22:47:04.000Z","updated_at":"2016-01-17T22:47:20.000Z","dependencies_parsed_at":"2022-09-26T16:50:15.499Z","dependency_job_id":null,"html_url":"https://github.com/niklaskorz/tumblate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklaskorz%2Ftumblate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklaskorz%2Ftumblate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklaskorz%2Ftumblate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklaskorz%2Ftumblate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niklaskorz","download_url":"https://codeload.github.com/niklaskorz/tumblate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241125153,"owners_count":19913841,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T06:29:02.929Z","updated_at":"2026-05-12T08:31:31.004Z","avatar_url":"https://github.com/niklaskorz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tumblate [![Build Status](https://travis-ci.org/niklaskorz/tumblate.svg?branch=master)](https://travis-ci.org/niklaskorz/tumblate)\n\nA tumblr template rendering library.\nWritten in ES2015 and without dependencies.\n\n## Why would I need this?\n\nYou probably don't. Unless you're working on development tools for tumblr template development, like me.\n\n## Installation\n\nTumblate is available on npm. Just run:\n\n    npm install --save tumblate\n\n## Examples\n\nThere are two ways to get started, either by creating a reusable instance of\nthe `Template` class or by using the `render` function.\n\n```js\ntemplateSrc = 'Welcome to {Title}.{block:Description} It is about: {Description}{/block:Description} Have a nice day!'\ndata = {\n  Title: 'My Blog',\n  Description: 'Nothing special. Just random things.'\n}\n\n// ES2015\nimport {Template, render} from 'tumblate';\n\nlet template = new Template(templateSrc);\nconsole.log(template.render(data));\n\nconsole.log(render(templateSrc, data));\n\n// CommonJS\nvar tumblate = require('tumblate');\n\nvar template = new tumblate.Template(templateSrc);\nconsole.log(template.render(data));\n\nconsole.log(tumblate.render(templateSrc, data));\n```\n\n## Missing features\n\nTumblate is currently missing meta variables (i.e., user-definable variables like `{color:Content Background}`)\nand parameters (e.g., `{Likes limit=\"5\" summarize=\"100\" width=\"150\"}`).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniklaskorz%2Ftumblate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniklaskorz%2Ftumblate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniklaskorz%2Ftumblate/lists"}