1.0.0 • Published 6 years ago
match-chrome v1.0.0
match-chrome
A module for testing URLs against match chrome patterns
options
defaultOptions = {
skipHash: true,
skipQuery: false,
scheme: [
'http',
'https',
'file',
'ftp',
],
returnValue: false,
}
use
import matchChrome from 'match-chrome';
matchChrome('http://127.0.0.1', 'http://127.0.0.1/*') // ok
demo
see test
1.0.0
6 years ago