0.1.2 • Published 9 years ago

ticsta-template-inspector v0.1.2

Weekly downloads
2
License
ISC
Repository
github
Last release
9 years ago

Ticsta template inspector

A module for loading and validating a ticsta template.

Usage

var inspector = require('ticsta-template-inspector');

inspector.validate('/path/to/a/template')
  .then(function(templateInfo){
    // valid template
  })
  .catch(function(error){
    // invalid template
  });

inspector.load('/path/to/a/template')
  .then(function(template){
    // got template
  });