Skip to content

Repository files navigation

Package Version Build Status Coverage Status Apache License 2.0 Donate to NexusTools

node-nhp

node-nhp is an HTML templating language that uses a variant of moustache syntax and processing-instruction tags for control flow and operations. Templates compile to async JavaScript functions, so expressions, directives, and loops can await promises.

documentation

command line

Projects that depend on nhp can compile templates to HTML with nhp <input.nhp> [output.html] or to standalone JavaScript Node.js modules with nhp -j <input.nhp> [output.js] (--js / --module). When no output path is given, the command writes a file alongside the input. See Command line documentation for details.

legal

node-nhp is licensed under Apache License 2.0

About

nhp is a hypertext preprocessor which uses xml processing instructions similar to php, but a javascript like language.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages