popsicle-redirects

WebJar for popsicle-redirects

Лицензия

Лицензия

MIT
Группа

Группа

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

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

popsicle-redirects
Последняя версия

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

1.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

popsicle-redirects
WebJar for popsicle-redirects
Ссылка на сайт

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

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

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

https://github.com/serviejs/popsicle-redirects

Скачать popsicle-redirects

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

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

Зависимости

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

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

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

Popsicle Redirects

NPM version NPM downloads Build status Test coverage

Popsicle middleware for following HTTP redirects.

Installation

npm install popsicle-redirects --save

Usage

import { redirects } from "popsicle-redirects";

const middleware = redirects(transport());

Options

  • fn Wrap a throwback compatible middleware function in redirect behavior
  • maxRedirects Set the maximum number of redirects to attempt before throwing an error (default: 5)
  • confirmRedirect Confirmation function for following 307 and 308 non-idempotent redirects (default: () => false)

TypeScript

This project is written using TypeScript and publishes the definitions directly to NPM.

License

MIT

org.webjars.npm

ServieJS

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

Версия
1.1.0