node-modules-regexp

WebJar for node-modules-regexp

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

node-modules-regexp
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

node-modules-regexp
WebJar for node-modules-regexp
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/jamestalmage/node-modules-regexp

Скачать node-modules-regexp

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/node-modules-regexp/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>node-modules-regexp</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/node-modules-regexp/
implementation 'org.webjars.npm:node-modules-regexp:1.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/node-modules-regexp/
implementation ("org.webjars.npm:node-modules-regexp:1.0.0")
'org.webjars.npm:node-modules-regexp:jar:1.0.0'
<dependency org="org.webjars.npm" name="node-modules-regexp" rev="1.0.0">
  <artifact name="node-modules-regexp" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='node-modules-regexp', version='1.0.0')
)
libraryDependencies += "org.webjars.npm" % "node-modules-regexp" % "1.0.0"
[org.webjars.npm/node-modules-regexp "1.0.0"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

node-modules-regexp Build Status

A regular expression for file paths that contain a node_modules folder.

Install

$ npm install --save node-modules-regexp

Usage

let nodeModules = require('node-modules-regexp');

// alternate string export
let nodeModulesString = require('node-modules-regexp/string');
nodeModules = new RegExp(nodeModulesString);


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

Версии библиотеки

Версия
1.0.0