mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-06-24 13:39:27 +08:00
Add node modules and compiled JavaScript from main (#172)
Co-authored-by: Oliver King <oking3@uncc.edu>
This commit is contained in:
committed by
GitHub
parent
ee3c5aed75
commit
08d466b6ab
+32
@@ -0,0 +1,32 @@
|
||||
# node-modules-regexp [](https://travis-ci.org/jamestalmage/node-modules-regexp)
|
||||
|
||||
> A regular expression for file paths that contain a `node_modules` folder.
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save node-modules-regexp
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
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....](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp).
|
||||
|
||||
## License
|
||||
|
||||
MIT © [James Talmage](http://github.com/jamestalmage)
|
||||
Reference in New Issue
Block a user