JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q27822F
  • License MIT

Adapters to standardise the interfaces on the plethora of available templating engines.

Package Exports

  • adapter-template

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (adapter-template) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

adapter-template

Adapters to standardise the interfaces on the plethora of available templating engines.

Documentation

See the adapter-template wiki for documentation on:

  • how to use the module in your applications;
  • how to use the module in Express;
  • and how to add other template engines.

Template Languages Supported:

  • atpl
  • ect
  • ejs
  • haml
  • handlebars
  • jade
  • liquid
  • swig
  • toffee
  • whiskers

Changelog

2014-09-11 (v0.9.0)

Add support for filters in Liquid.

2014-07-31 (v0.8.0)

Add ECT support.

Allow for engine modules that return a constructor.

Allow the name of an engine's main function to be set in the configuration.

2014-07-31 (v0.7.0)

Add Liquid support.

Add Haml support.

Enable modules to provide synchronous or asynchronous render() methods.

Create a render() method if an engine does not provide one.

2014-07-28 (v0.6.0)

Add handlebars support.

Enable modules to have a different name to the template language they support.

2014-07-25 (v0.5.0)

Add swig support.

2014-07-25 (v0.4.0)

package.json was breaking Wercker.

Improve descriptions in README.

2014-07-25 (v0.3.0)

Ensure package.json is ready for NPM publishing.

2014-07-25 (v0.2.0)

Fix test dependencies for Wercker.

Add Wercker status badge to README.

2014-07-25 (v0.1.0)

Initial release with support for template engines that already provide Express support.