{"id":17399039,"url":"https://github.com/cdata/handlebars-amd","last_synced_at":"2025-07-08T09:36:18.009Z","repository":{"id":3219710,"uuid":"4254692","full_name":"cdata/handlebars-amd","owner":"cdata","description":"NodeJS module that helps you compile Handlebars templates into AMD modules.","archived":false,"fork":false,"pushed_at":"2012-05-07T22:37:16.000Z","size":91,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-02T00:32:01.422Z","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":"PHPMailer/PHPMailer","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cdata.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":"2012-05-07T22:07:22.000Z","updated_at":"2014-01-18T09:35:18.000Z","dependencies_parsed_at":"2022-08-20T15:40:19.385Z","dependency_job_id":null,"html_url":"https://github.com/cdata/handlebars-amd","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/cdata%2Fhandlebars-amd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdata%2Fhandlebars-amd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdata%2Fhandlebars-amd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdata%2Fhandlebars-amd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdata","download_url":"https://codeload.github.com/cdata/handlebars-amd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245931897,"owners_count":20695964,"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-10-16T15:04:04.327Z","updated_at":"2025-03-27T22:17:23.553Z","avatar_url":"https://github.com/cdata.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Handlebars AMD\n\nHandlebars is a cool template system that allows you to precompile your templates as JavaScript for great performance. One thing that Handlebars could stand to play nicely with is AMD module loaders (like RequireJS and CloudFlareJS). This node module allows you to compile entire directories of Handlebars templates (recursively) into a named AMD module.\n\n## Installing\n\n```sh\n# For command line:\nnpm install -g handlebars-amd\n\n# For Node apps:\nnpm install handlebars-amd\n```\n\n## Usage\n\nOn the command line:\n\n```sh\nhandlebars-amd -i ./my/templates -n 'app/templates' -m\n```\n\nIn your web server:\n\n```javascript\nrequire('handlebars-amd').compile(\n    './my/templates', // Template directory.. \n    'app/templates', // Resulting module name.. \n    true // Minify!\n).then(function(compiled) {\n\n    // Compiled is a string of JavaScript that contains your module!\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdata%2Fhandlebars-amd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdata%2Fhandlebars-amd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdata%2Fhandlebars-amd/lists"}