index.js
function Templates(options) {
  if (!(this instanceof Templates)) {
    return new Templates(options);
  }

  Base.call(this, null, options);
  this.is('templates');
  this.define('isApp', true);
  this.use(utils.option());
  this.use(utils.plugin());
  this.initTemplates();
}
function Templates(options) {
  if (!(this instanceof Templates)) {
    return new Templates(options);
  }

  Base.call(this, null, options);
  this.is('templates');
  this.define('isApp', true);
  this.use(utils.option());
  this.use(utils.plugin());
  this.initTemplates();
}
function Templates ( options ) { if ( ! ( this instanceof Templates ) ) { return new Templates ( options ) ; } Base . call ( this , null , options ) ; this . is ( 'templates' ) ; this . define ( 'isApp' , true ) ; this . use ( utils . option ( ) ) ; this . use ( utils . plugin ( ) ) ; this . initTemplates ( ) ; }
This function is the main export of the templates module.
Initialize an instance of `templates` to create your
application.

```js
var templates = require('templates');
var app = templates();
```
@param {Object} `options`
@api public
This function is the main export of the templates module . Initialize an instance of templates to create your application .