path-ignore
v1.0.1
Published
ignore util for auth middleware
Downloads
11
Readme
ignore util
usage
const pathIgnore = require('path-ignore');
const test = pathIgnore(['/foo', '/bar']);
api
authIgnore
params
- rules: An Express-style string, an array of strings, or a regular expression.
return a tester function