popsicle-content-encoding

WebJar for popsicle-content-encoding

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

popsicle-content-encoding
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

popsicle-content-encoding
WebJar for popsicle-content-encoding
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

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

Download popsicle-content-encoding

How to add to project

<!-- 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"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

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

Versions

Version
1.0.0