JSPM

@profoundlogic/hogan

3.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 66463
  • Score
    100M100P100Q153957F
  • License Apache-2.0

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

Package Exports

  • @profoundlogic/hogan
  • @profoundlogic/hogan/lib/hogan.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@profoundlogic/hogan) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@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