template-matcher
lodash.template pattern matching extracted into an seperate module
Last updated 5 years ago by bealearts .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install template-matcher 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.0                                ...           latest (5 years ago)

1 Versions

  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |