require-dot-file

WebJar for require-dot-file

Лицензия

Лицензия

MIT
Группа

Группа

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

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

require-dot-file
Последняя версия

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

0.4.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

require-dot-file
WebJar for require-dot-file
Ссылка на сайт

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

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

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

https://github.com/jlukic/require-dot-file

Скачать require-dot-file

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

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

Зависимости

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

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

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

Install

npm install require-dot-file

Usage

This is a simple module used for recursively searching across all parent folders for a file to require.

For example you may want to allow a user to include a dotfile to allow users to configure your project that they can include in their project root.

var
  requireDotFile = require('require-dot-file')
;

// searches for .myconfig in all parent dir recursively (including current dir)
var config = requireDotFile('.myconfig');

// searches for .myconfig file in /path/to/start and its parent dirs
var config = requireDotFile('.myconfig', '/path/to/start');

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

Версия
0.4.0