template-matcher

1.0.0 • Public • Published

template-matcher

lodash.template pattern matching extracted into an seperate module

Install

npm install template-matcher --save

Usage

var matcher = require('template-matcher');
 
var matches = matcher('<div><input type="${attr}"/>${content}</div>', /* options */); // Same params as lodash.template
console.log(matches); // ['attr', 'content']

Credit

See lodash.template

Readme

Keywords

none

Package Sidebar

Install

npm i template-matcher

Weekly Downloads

0

Version

1.0.0

License

none

Last publish

Collaborators

  • bealearts