# @magnolia/cli-template-helper

> A Magnolia CLI helper package for @magnolia/cli-create-page-plugin and @magnolia/cli-create-component-plugin

Latest version **1.5.0** (published 2026-01-20) · SEE LICENSE IN LICENSE.txt license · 0 weekly downloads

## Install

```sh
npm install @magnolia/cli-template-helper
pnpm add @magnolia/cli-template-helper
yarn add @magnolia/cli-template-helper
bun add @magnolia/cli-template-helper
```

## Health

**Score 60/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.5.0 |
| Published | 2026-01-20 |
| First published | 2024-04-04 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN LICENSE.txt |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 20 |
| Unpacked size | 128.3 KB |
| Known vulnerabilities | 0 (+3 in 1 direct dependencies) |
| Install scripts | no |
| Author | Magnolia International Ltd. |
| Maintainers | magnolia |

## Links

- npm: https://www.npmjs.com/package/@magnolia/cli-template-helper
- npm.io page: https://npm.io/package/@magnolia/cli-template-helper

## Dependencies (20)

- [ora](https://npm.io/package/ora.md) ^9.0.0
- [yaml](https://npm.io/package/yaml.md) ^2.8.1
- [axios](https://npm.io/package/axios.md) ^1.12.2
- [execa](https://npm.io/package/execa.md) ^9.6.0
- [json5](https://npm.io/package/json5.md) ^2.2.3
- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [winston](https://npm.io/package/winston.md) ^3.17.0
- [fs-extra](https://npm.io/package/fs-extra.md) ^11.3.2
- [inquirer](https://npm.io/package/inquirer.md) ^12.9.6
- [commander](https://npm.io/package/commander.md) ^12.1.0
- [decompress](https://npm.io/package/decompress.md) ^4.2.1
- [filenamify](https://npm.io/package/filenamify.md) ^7.0.1
- [handlebars](https://npm.io/package/handlebars.md) ^4.7.8
- [simple-git](https://npm.io/package/simple-git.md) ^3.28.0
- [@inquirer/core](https://npm.io/package/@inquirer/core.md) ^10.2.2
- [is-valid-var-name](https://npm.io/package/is-valid-var-name.md) ^1.0.2
- [npm-registry-fetch](https://npm.io/package/npm-registry-fetch.md) ^19.0.0
- [promised-handlebars](https://npm.io/package/promised-handlebars.md) ^2.0.1
- [@magnolia/cli-helper](https://npm.io/package/@magnolia/cli-helper.md) ^1.1.1
- [@magnolia/cli-plugin-template](https://npm.io/package/@magnolia/cli-plugin-template.md) ^1.2.1

## Recent versions

- 1.5.0 (latest) — 2026-01-20
- 1.0.0-preview.5 (preview) — 2024-08-26
- 1.4.0 — 2025-11-06
- 1.3.3 — 2025-10-08
- 1.3.2 — 2025-10-02
- 1.3.1 — 2025-06-13
- 1.3.0 — 2025-05-28
- 1.2.0 — 2025-04-25
- 1.1.0 — 2025-04-01
- 1.0.3 — 2025-03-17
- 1.0.2 — 2025-02-06
- 1.0.1 — 2025-01-28
- 1.0.0 — 2024-10-14
- 1.0.0-preview.4 — 2024-08-08
- 1.0.0-preview.3 — 2024-05-30
- … 2 more at https://npm.io/package/@magnolia/cli-template-helper/versions

## README

# Template Helper

A [Magnolia CLI](https://docs.magnolia-cms.com/magnolia-cli) helper package for **@magnolia/cli-create-page-plugin** and **@magnolia/cli-create-component-plugin**

## Installation
**TemplateHelper** is included as a dependency in **@magnolia/cli-create-page-plugin** and **@magnolia/cli-create-component-plugin** and does not require separate installation.

## Integration with Magnolia CLI Plugins
**TemplateHelper** is integrated into Magnolia CLI plugins to:

- Facilitate the creation of apps and content types by automating repetitive tasks.
- Provide a consistent user experience across different plugins by centralizing common functionality.
- Avoid code duplication by reusing shared functions between **create-page** and **create-component**.

## Plugin Documentation
For more information on how to use the plugins that depend on TemplateHelper, refer to [Create Page](https://docs.magnolia-cms.com/magnolia-cli) and [Create Component](https://docs.magnolia-cms.com/magnolia-cli) plugin documentation.

---
_Source: https://npm.io/package/@magnolia/cli-template-helper · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
