popsicle-content-encoding

WebJar for popsicle-content-encoding

Лицензия

Лицензия

MIT
Группа

Группа

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

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

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

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

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

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

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

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

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

https://github.com/serviejs/popsicle-content-encoding

Скачать popsicle-content-encoding

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

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

Зависимости

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

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

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

Popsicle Content Encoding

NPM version NPM downloads Build status Test coverage

Popsicle middleware for supporting Content-Encoding compression.

Installation

npm install popsicle-content-encoding --save

Usage

import { contentEncoding } from "popsicle-content-encoding";

const middleware = compose([contentEncoding(), transport()]);

Automatically populates Accept-Encoding based on node.js supported decompression algorithms, then decodes the matching response body. Does nothing if Accept-Encoding is already set.

TypeScript

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

License

MIT

org.webjars.npm

ServieJS

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

Версия
1.0.0