amatch
v1.0.1
Published
Namespace string matcher
Downloads
1
Readme
amatch
Namespace string matcher
Installation
$ npm install amatch --save
Usage
'use strict'
const amatch = require('amatch')
{
let match = amatch('foo:*,bar:*')
console.log(match('foo:1234')) // => true
console.log(match('bar:1234')) // => true
console.log(match('baz:1234')) // => false
}
License
This software is released under the MIT License.