GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - NexusTools/node-nhp: nhp is a hypertext preprocessor which uses xml processing instructions similar to php, but a javascript like language.

BranchesTags
Open more actions menu

Latest commit

 

History

104 Commits
104 Commits

Folders and files

NameName
Last commit message
Last commit date
bin
bin
 
 
docs
docs
 
 
lib
lib
 
 
test
test
 
 
.gitignore
.gitignore
 
 
.npmignore
.npmignore
 
 
.travis.yml
.travis.yml
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
index.d.ts
index.d.ts
 
 
index.js
index.js
 
 
index.js.map
index.js.map
 
 
index.ts
index.ts
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 
types-metadata.json
types-metadata.json
 
 

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

  • Getting started: installation, rendering, and Express integration.
  • Template language: promise-aware expressions, directives, includes, and loops.
  • API reference: the NHP and Template APIs, options, and lifecycle.
  • Command line: compiling .nhp files from a package script or terminal.

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

Readme
Apache-2.0 license
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.