JSPM

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

simplest template engine

Package Exports

  • rendy
  • rendy/legacy

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 (rendy) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Rendy License NPM version Dependency Status Build Status Coverage

Simple template engine compatible with handlebars and mustache.

Install

NPM_INFO

npm i rendy

How to use?

const rendy = require('rendy');
const tmpl = 'hello {{ who }}';
const who = 'world';

rendy(tmpl, {
    who
});
// returns
'hello world'

Environments

In old node.js environments that not fully supports es2015, rendy can be used with:

var rendy = require('rendy/legacy');

License

MIT