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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.00latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.00

Package Sidebar

Install

npm i template-matcher

Weekly Downloads

0

Version

1.0.0

License

none

Last publish

Collaborators

  • bealearts