1.0.0 • Published 8 years ago

str-is v1.0.0

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

str-is Build Status

Determine if a string matches a pattern.

Install

npm install --save str-is

Usage

var str_is = require('str-is')

str_is('foo/bar', 'foo/bar')
// => true

str_is('foo*', 'foobar')
// => true

str_is('baz*', 'foobar')
// => false

// Or you can call the "is" method in string instances and pass the pattern...
'foobar'.is('foo*')
// => true
1.0.0

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago