How to include it in your project

donnerjack13589 edited this page Sep 4, 2010 · 2 revisions

You can install nTPL using npm:
npm install nTPL
Or by running this command from your console:
curl http://github.com/donnerjack13589/nTPL/raw/master/install.sh | sh
From this moment you can use nTPL in your scripts.
var nTPL = require("nTPL").plugins("nTPL.block", "nTPL.filter").nTPL;

Also I’ve wrote some simple nTPL modules, that’re included in source:

  • nTPL.block
  • nTPL.filter

Read more info about:
Block module, Filter module