1.0.1 • Published 8 years ago

amatch v1.0.1

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

amatch

Build Status Code Climate Code Coverage npm Version JS Standard

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.

Links