Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bluelovers/node-match-chrome
A module for testing URLs against match chrome patterns
https://github.com/bluelovers/node-match-chrome
Last synced: 3 days ago
JSON representation
A module for testing URLs against match chrome patterns
- Host: GitHub
- URL: https://github.com/bluelovers/node-match-chrome
- Owner: bluelovers
- Created: 2017-12-11T00:25:56.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-11T04:33:40.000Z (almost 7 years ago)
- Last Synced: 2024-08-10T06:58:15.265Z (3 months ago)
- Language: TypeScript
- Size: 8.79 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# match-chrome
> A module for testing URLs against match chrome patterns
## options
```javascript
defaultOptions = {
skipHash: true,
skipQuery: false,scheme: [
'http',
'https',
'file',
],returnValue: false,
}
```## use
import matchChrome from 'match-chrome';
matchChrome('http://127.0.0.1', 'http://127.0.0.1/*') // ok
## demo
see [test](test/)