Skip to content

Omikorin/bun-plugin-handlebars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bun plugin Handlebars

A Bun plugin for integrating Handlebars templating into your Bun projects.

Monorepo structure

This project is a monorepo managed with Bun workspaces. It contains the following packages:

Package Description
bun-plugin-hbs Integrates Handlebars, including support for partials and helpers.
create-bun-hbs A template for setting up Bun projects with Handlebars.

Usage

Using the plugin

Install the plugin:

bun add -D bun-plugin-hbs

See the bun-plugin-hbs README for detailed usage instructions, API documentation, and code examples.

Using the project template

If you want to quickly scaffold a new Bun project with Handlebars integration, use the command below:

bun create bun-hbs

This provides a starter template with example templates and partials.

See the create-bun-hbs README for setup steps and example usage.

Development

Install all dependencies for the monorepo:

bun install

Contributing

Contributions are welcome! Feel free to submit issues and pull requests.

License

This project is licensed under the ISC license.


Made with 🩵 by Michał Korczak