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 185 B
require('../../modules/es6.regexp.search'); var SEARCH = require('../../modules/_wks')('search'); module.exports = function(it, str){ return RegExp.prototype[SEARCH].call(it, str); };