mirror of
https://github.com/Azure/setup-kubectl.git
synced 2026-07-30 10:29:28 +08:00
7f7e5ba5ea
Co-authored-by: Oliver King <oking3@uncc.edu>
node-modules-regexp 
A regular expression for file paths that contain a
node_modulesfolder.
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