{"id":25897066,"url":"https://github.com/inqnuam/esbuild-plugin-handlebars","last_synced_at":"2025-08-01T00:38:13.842Z","repository":{"id":60091850,"uuid":"540623365","full_name":"Inqnuam/esbuild-plugin-handlebars","owner":"Inqnuam","description":"an esbuild plugin to handle ... handlebars!","archived":false,"fork":false,"pushed_at":"2024-05-27T20:12:17.000Z","size":16,"stargazers_count":5,"open_issues_count":2,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-28T13:15:32.840Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/Inqnuam.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":"2022-09-23T21:30:57.000Z","updated_at":"2025-05-18T17:36:46.000Z","dependencies_parsed_at":"2023-02-14T19:45:58.826Z","dependency_job_id":null,"html_url":"https://github.com/Inqnuam/esbuild-plugin-handlebars","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Inqnuam/esbuild-plugin-handlebars","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inqnuam%2Fesbuild-plugin-handlebars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inqnuam%2Fesbuild-plugin-handlebars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inqnuam%2Fesbuild-plugin-handlebars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inqnuam%2Fesbuild-plugin-handlebars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Inqnuam","download_url":"https://codeload.github.com/Inqnuam/esbuild-plugin-handlebars/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inqnuam%2Fesbuild-plugin-handlebars/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268147524,"owners_count":24203281,"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","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-03-02T23:17:44.932Z","updated_at":"2025-08-01T00:38:13.819Z","avatar_url":"https://github.com/Inqnuam.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# esbuild-plugin-handlebars\n\n\u003e an [esbuild](https://github.com/evanw/esbuild) plugin to handle ... handlebars!\n\n## Installation\n\n```bash\nyarn add -D esbuild-plugin-handlebars\n# or\nnpm install -D esbuild-plugin-handlebars\n```\n\n## Usage\n\n```js\nconst esbuild = require(\"esbuild\");\nconst handlebarsPlugin = require(\"esbuild-plugin-handlebars\");\n\nesbuild\n  .build({\n    entryPoints: [\"input.js\"],\n    outfile: \"output.js\",\n    bundle: true,\n    plugins: [handlebarsPlugin()],\n  })\n  .then((result) =\u003e console.log(result))\n  .catch(() =\u003e process.exit(1));\n```\n\nYou can also set additionalHelpers and precompileOptions:\n\n```js\nconst hbsOptions = {\n  additionalHelpers: {},\n  additionalPartials: {\n    childTemplate: \"./child.hbs\",\n  },\n  precompileOptions: {},\n};\n\n// usual esbuild config\n{\n ...\n plugins: [handlebarsPlugin(hbsOptions)],\n ...\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finqnuam%2Fesbuild-plugin-handlebars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finqnuam%2Fesbuild-plugin-handlebars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finqnuam%2Fesbuild-plugin-handlebars/lists"}