NPM Proxy Adapter

Parent POM of Artipie

Лицензия

Лицензия

MIT
Категории

Категории

Artipie Компиляция и сборка Distribution
Группа

Группа

com.artipie
Идентификатор

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

npm-proxy-adapter
Последняя версия

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

0.1.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

NPM Proxy Adapter
Parent POM of Artipie
Ссылка на сайт

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

https://github.com/artipie/npm-proxy-adapter
Организация-разработчик

Организация-разработчик

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

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

https://github.com/artipie/npm-proxy-adapter

Скачать npm-proxy-adapter

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

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

Зависимости

compile (6)

Идентификатор библиотеки Тип Версия
com.artipie : asto jar 0.17
com.artipie : http jar 0.8
com.artipie : vertx-server jar 0.3
io.vertx : vertx-web-client jar 3.8.5
com.amihaiemil.web : eo-yaml jar 3.1.0
com.jayway.jsonpath : json-path jar 2.4.0

provided (1)

Идентификатор библиотеки Тип Версия
com.google.code.findbugs : annotations jar 3.0.1

runtime (2)

Идентификатор библиотеки Тип Версия
org.slf4j : slf4j-log4j12 jar 1.8.0-alpha2
log4j : log4j jar 1.2.17

test (8)

Идентификатор библиотеки Тип Версия
commons-io : commons-io jar 2.6
org.mockito : mockito-core jar 3.3.3
org.mockito : mockito-junit-jupiter jar 3.3.3
org.skyscreamer : jsonassert jar 1.5.0
org.testcontainers : testcontainers jar 1.13.0
org.testcontainers : junit-jupiter jar 1.13.0
org.testcontainers : mockserver jar 1.13.0
org.mock-server : mockserver-client-java jar 5.5.4

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

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

EO principles respected here DevOps By Rultor.com We recommend IntelliJ IDEA

Build Status Javadoc License Hits-of-Code Maven Central PDD status

npm-proxy-adapter

Usage

This is the dependency you need:

<dependency>
  <groupId>com.artipie</groupId>
  <artifactId>npm-proxy-adapter</artifactId>
  <version>[...]</version>
</dependency>

How it works?

After initial setup of the proxy repository, it can be used to work with NPM. NPM registry to install package from can be specified explicitly npm install --registry=https://artipie.com/npm-proxy-registry <package_name> or setup as default with npm set registry https://artipie.com/npm-proxy-registry command.

NPM sends HTTP requests to specified URL and adapter processes them. It proxies request to the remote repository previously setup. After getting artifact, it caches received data and transform before sending it back to client. The next request will not require remote repository call - the cached data will be used.

Technical details

Detailed explanation about used algorithms and protocols can be found here: implementation.md

How to contribute

Fork repository, make changes, send us a pull request. We will review your changes and apply them to the master branch shortly, provided they don't violate our quality standards. To avoid frustration, before sending us your pull request please run full Maven build:

$ mvn clean install -Pqulice

To avoid build errors use Maven 3.2+.

com.artipie

Artipie

Binary Artifact Management Toolkit

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

Версия
0.1.1
0.1