Socket
Socket
Sign inDemoInstall

punch

Package Overview
Dependencies
2
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    punch

Generate static sites with mustache templates & json


Version published
Weekly downloads
48
decreased by-18.64%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Punch

Generate static sites with Mustache templates & JSON

NOTE: I will update the README with more elaborative details and examples.

Installation

  • Download and Install Node.js.

    http://nodejs.org/#download

  • Install npm

    curl http://npmjs.org/install.sh | sh

  • Then run npm intall punch

Sample

Checkout the sample available at /sample to understand the directory structure and configurations.

Conventions

Templates should be available in mustache format. Other formats are copied directly without going through the renderer.

Content should be either in JSON format or markdown. Markdown is converted to a JSON value with the file name as the key.

Punch will render each template by fetching the relavant content. It moves the rendered file into output directory (preserving the directory structure). Uses .html (or what's specified in the config file) as the default extension (eg. index.mustache -> index.html)

Issues & Suggestions

Please report any bugs or feature requests here: http://github.com/laktek/punch/issues/

Keywords

FAQs

Last updated on 20 Mar 2012

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc