UNPKG

@miyagi/core

Version:

miyagi is a component development tool for JavaScript template engines.

44 lines (28 loc) 1.61 kB
<div align="center"> <img src="logo.svg" width="300" height="60" alt="miyagi"> </div> # miyagi _miyagi_ is a component development tool for JavaScript templating engines. ## Benefits - No overhead in your project: _miyagi_ only needs one configuration file. - Works with any directory structure (as long as you have one folder per component). - Helps you developing your components encapsulated. - Mock data (static or dynamic) allows developing independently from a backend. - Validates your mock data against your JSON schema files. - Documentation of your components using markdown. - You can customize the layout, so it fits the design of your project. - Use any kind of templating engine by providing your own render function. - Allows creating a static build. - Lots of functionality invokable via CLI or JavaScript API. - Automatically created design tokens overview based on CSS custom properties. ## Requirements - NodeJS `20.11.0` or higher ## Demos ### Handlebars [handlebars.demos.miyagi.dev](https://handlebars.demos.miyagi.dev) (Code: [https://github.com/miyagi-dev/demos/tree/main/handlebars](https://github.com/miyagi-dev/demos/tree/main/handlebars)) ### Web Components [web-components.demos.miyagi.dev](https://web-components.demos.miyagi.dev) (Code: [https://github.com/miyagi-dev/demos/tree/main/web-components](https://github.com/miyagi-dev/demos/tree/main/web-components)) ## Documentation [https://docs.miyagi.dev](https://docs.miyagi.dev) ## Sponsor <a href="https://factorial.io"><img src="https://logo.factorial.io/color.png" width="40" height="56" alt="Factorial"></a>