Skip to content

ProfoundLogic/hogan.js-ProfoundLogic

 
 

Repository files navigation

@profoundlogic/hogan

A maintained fork of Hogan.js by Profound Logic.

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.


Installation

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

About

A compiler for the Mustache templating language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.1%
  • Mustache 1.6%
  • Other 1.3%