amatch

1.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i amatch

Weekly Downloads

3

Version

1.0.1

License

MIT

Last publish

Collaborators

  • okunishinishi