{"id":21245369,"url":"https://github.com/jstransformers/jstransformer-toffee","last_synced_at":"2025-03-15T04:41:39.170Z","repository":{"id":29800024,"uuid":"33344347","full_name":"jstransformers/jstransformer-toffee","owner":"jstransformers","description":"toffee template engine for JS Transformers","archived":false,"fork":false,"pushed_at":"2020-04-26T03:36:38.000Z","size":67,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-21T20:15:43.627Z","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/jstransformers.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-03T03:26:03.000Z","updated_at":"2020-04-26T03:36:36.000Z","dependencies_parsed_at":"2022-09-06T19:31:57.779Z","dependency_job_id":null,"html_url":"https://github.com/jstransformers/jstransformer-toffee","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstransformers%2Fjstransformer-toffee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstransformers%2Fjstransformer-toffee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstransformers%2Fjstransformer-toffee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstransformers%2Fjstransformer-toffee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jstransformers","download_url":"https://codeload.github.com/jstransformers/jstransformer-toffee/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243685528,"owners_count":20330980,"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-21T01:50:53.223Z","updated_at":"2025-03-15T04:41:39.145Z","avatar_url":"https://github.com/jstransformers.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jstransformer-toffee\n\n[Toffee](https://github.com/malgorithms/toffee) support for [JSTransformers](http://github.com/jstransformers).\n\n[![Build Status](https://img.shields.io/travis/jstransformers/jstransformer-toffee/master.svg)](https://travis-ci.org/jstransformers/jstransformer-toffee)\n[![Coverage Status](https://img.shields.io/codecov/c/github/jstransformers/jstransformer-toffee/master.svg)](https://codecov.io/gh/jstransformers/jstransformer-toffee)\n[![Dependency Status](https://img.shields.io/david/jstransformers/jstransformer-toffee/master.svg)](http://david-dm.org/jstransformers/jstransformer-toffee)\n[![NPM version](https://img.shields.io/npm/v/jstransformer-toffee.svg)](https://www.npmjs.org/package/jstransformer-toffee)\n\n## Installation\n\n    npm install jstransformer-toffee\n\n## API\n\n```js\nvar toffee = require('jstransformer')(require('jstransformer-toffee'));\nvar opts = {};\n\ntoffee.render('\u003ch1\u003eHello #{place}!\u003c/h1\u003e', opts, {place: 'world'}).body;\n//=\u003e '\u003ch1\u003eHello world!\u003c/h1\u003e'\n\nvar promise = toffee.renderFileAsync('./path/to/hello.toffee', opts, {place: 'world'});\npromise.then(function(data) {\n  console.log(data.body);\n  //=\u003e '\u003ch1\u003eHello world!\u003c/h1\u003e'\n});\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjstransformers%2Fjstransformer-toffee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjstransformers%2Fjstransformer-toffee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjstransformers%2Fjstransformer-toffee/lists"}