{"id":20549933,"url":"https://github.com/itsthatguy/sails-hook-handlebars","last_synced_at":"2026-06-06T15:31:57.297Z","repository":{"id":29471531,"uuid":"33008129","full_name":"itsthatguy/sails-hook-handlebars","owner":"itsthatguy","description":null,"archived":false,"fork":false,"pushed_at":"2015-03-27T20:48:50.000Z","size":120,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-16T16:46:29.614Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itsthatguy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-27T20:40:00.000Z","updated_at":"2015-03-27T20:48:44.000Z","dependencies_parsed_at":"2022-09-02T06:22:14.930Z","dependency_job_id":null,"html_url":"https://github.com/itsthatguy/sails-hook-handlebars","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/itsthatguy%2Fsails-hook-handlebars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsthatguy%2Fsails-hook-handlebars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsthatguy%2Fsails-hook-handlebars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsthatguy%2Fsails-hook-handlebars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsthatguy","download_url":"https://codeload.github.com/itsthatguy/sails-hook-handlebars/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242157179,"owners_count":20081036,"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-16T02:22:04.850Z","updated_at":"2026-06-06T15:31:57.292Z","avatar_url":"https://github.com/itsthatguy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sails-hook-handlebars\n\nAllows using handlebars on the backend for templating dynamic data. (for use with sailsjs)\n\n## installation:\n\n```\nnpm install sails-hook-handlebars --save\n```\n\n## usage:\n\n```javascript\nsails.hook.handlebars.render(\u003ctemplatePath\u003e, \u003ccontext\u003e);\n```\n\n\n## example:\n\n### template file\n\n\n```handlebars\n{{!-- assets/templates/myTemplate.hbs --}}\n\nHello. My name is {{name}}.\n```\n\n### javascript file\n\n```javascript\nsails.hook.handlebars.render('myTemplate', {name: \"Kevin\"});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsthatguy%2Fsails-hook-handlebars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsthatguy%2Fsails-hook-handlebars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsthatguy%2Fsails-hook-handlebars/lists"}