Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 545 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 545 Bytes

#Wildcard2

A wildcard match module.

Quickstart

Install

    npm install -s wildcard2

Examples

    var wMatch = require('wildcard2');
    console.log(wMatch('abcdefghijk', 'abc*?k'); //true
    console.log(wMatch('abcdefghijk', 'abc*?ki'); //false

That's it!

Contribute

Credits

built with ❤ by Tyler Yang