chop-package

By calling the "chop" package it will "render" the template, replacing {{x}} with data[x] , and return the resulting string.

Browse on unpkg