libnpmconfig

WebJar for libnpmconfig

Лицензия

Лицензия

ISC
Категории

Категории

config Библиотеки уровня приложения Configuration
Группа

Группа

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

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

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

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

1.2.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

libnpmconfig
WebJar for libnpmconfig
Ссылка на сайт

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

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

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

https://github.com/npm/libnpmconfig

Скачать libnpmconfig

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

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

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.webjars.npm : figgy-pudding jar [3.5.1,4)
org.webjars.npm : find-up jar [3.0.0,4)
org.webjars.npm : ini jar [1.3.5,2)

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

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

libnpmconfig

npm version license Travis Coverage Status

libnpmconfig is a Node.js library for programmatically managing npm's configuration files and data.

Table of Contents

Example

const config = require('libnpmconfig')

console.log('configured registry:', config.read({
  registry: 'https://default.registry/'
}))
// => configured registry: https://registry.npmjs.org

Install

$ npm install libnpmconfig

Contributing

The npm team enthusiastically welcomes contributions and project participation! There's a bunch of things you can do if you want to contribute! The Contributor Guide outlines the process for community interaction and contribution. Please don't hesitate to jump in if you'd like to, or even ask us questions if something isn't clear.

All participants and maintainers in this project are expected to follow the npm Code of Conduct, and just generally be excellent to each other.

Please refer to the Changelog for project history details, too.

Happy hacking!

API

> read(cliOpts, builtinOpts)

Reads configurations from the filesystem and the env and returns a figgy-pudding object with the configuration values.

If cliOpts is provided, it will be merged with the returned config pudding, shadowing any read values. These are intended as CLI-provided options. Do your own process.argv parsing, though.

If builtinOpts.cwd is provided, it will be used instead of process.cwd() as the starting point for config searching.

org.webjars.npm

npm

node package manager

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

Версия
1.2.1