UNPKG

charlike

Version:

Small, fast, simple and streaming project scaffolder for myself, but not only. Supports hundreds of template engines through the @JSTransformers API or if you want custom `render` function passed through options

5 lines 209 B
require('../../modules/es6.regexp.replace'); var REPLACE = require('../../modules/_wks')('replace'); module.exports = function(it, str, replacer){ return RegExp.prototype[REPLACE].call(it, str, replacer); };