mirror of
https://github.com/crazy-max/ghaction-upx.git
synced 2024-12-23 16:46:09 -07:00
.. | ||
index.js | ||
license | ||
package.json | ||
readme.md |
node-modules-regexp
A regular expression for file paths that contain a
node_modules
folder.
Install
$ npm install --save node-modules-regexp
Usage
const nodeModules = require('node-modules-regexp');
nodeModules.test('/foo/node_modules/bar.js');
//=> true
nodeModules.test('/foo/bar.js');
//=> false
API
The returned value is a regular expression, soooo.....
License
MIT © James Talmage