# @profoundlogic/hogan

> A maintained fork of Hogan.js by Profound Logic. Removes deprecated mkdirp usage and ensures compatibility with modern Node.js.

Latest version **3.0.4** (published 2025-10-08) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @profoundlogic/hogan
pnpm add @profoundlogic/hogan
yarn add @profoundlogic/hogan
bun add @profoundlogic/hogan
```

Provides the command `hulk`.

## Health

**Score 45/100 (D)** — status: stable.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 3.0.4 |
| Published | 2025-10-08 |
| First published | 2025-10-08 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 652.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Twitter Inc. |
| Maintainers | profoundlogic |
| Keywords | mustache, template |

## Links

- npm: https://www.npmjs.com/package/@profoundlogic/hogan
- Repository: https://github.com/ProfoundLogic/hogan.js-ProfoundLogic
- Homepage: https://github.com/ProfoundLogic/hogan.js-ProfoundLogic#readme
- Issues: https://github.com/ProfoundLogic/hogan.js-ProfoundLogic/issues
- npm.io page: https://npm.io/package/@profoundlogic/hogan

## Dependencies (1)

- [nopt](https://npm.io/package/nopt.md) 1.0.10

## Recent versions

- 3.0.4 (latest) — 2025-10-08
- 3.0.3 — 2025-10-08

## README

# @profoundlogic/hogan

A maintained fork of [Hogan.js](https://github.com/twitter/hogan.js) by [Profound Logic](https://www.profoundlogic.com).

This fork removes deprecated dependencies (notably `mkdirp`) and ensures compatibility with modern versions of Node.js while maintaining full API compatibility with the original Hogan.js templating engine.

- **Original project:** https://github.com/twitter/hogan.js  
- **This fork:** https://github.com/ProfoundLogic/hogan.js-ProfoundLogic  
- **npm:** https://www.npmjs.com/package/@profoundlogic/hogan

---

## Installation

```bash
npm install @profoundlogic/hogan
Usage
js
Copy code
const Hogan = require('@profoundlogic/hogan');

const template = Hogan.compile('Hello {{name}}!');
console.log(template.render({ name: 'World' })); // Hello World!
Why this fork?
hogan.js is no longer maintained and depends on an outdated version of mkdirp, causing deprecation warnings in downstream packages.
This fork replaces mkdirp with native Node.js file operations and will be maintained by Profound Logic.

License & Attribution
Licensed under the Apache License, Version 2.0.
See LICENSE.

Original authors (Twitter):

Robert Sayre

Jacob Thornton

Maintained by:

Profound Logic Software, Inc.

yaml
Copy code

---

This version is **short, professional, and complete** — it has everything npm users (and the diff2html maintainer) need.

---

## 🚀 What to do next

1. Copy that **short version** into your `README.md` file.
2. Save it.
3. Commit it:
   ```bash
   git add README.md
   git commit -m "docs: simplify README for @profoundlogic/hogan"
Bump and publish:

bash
Copy code
npm version 3.0.4 -m "chore: update README and metadata (%s)"
git push --follow-tags
npm publish --access=public

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