popsicle-user-agent

WebJar for popsicle-user-agent

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

popsicle-user-agent
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

popsicle-user-agent
WebJar for popsicle-user-agent
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/serviejs/popsicle-user-agent

Download popsicle-user-agent

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/popsicle-user-agent/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>popsicle-user-agent</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/popsicle-user-agent/
implementation 'org.webjars.npm:popsicle-user-agent:1.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/popsicle-user-agent/
implementation ("org.webjars.npm:popsicle-user-agent:1.0.0")
'org.webjars.npm:popsicle-user-agent:jar:1.0.0'
<dependency org="org.webjars.npm" name="popsicle-user-agent" rev="1.0.0">
  <artifact name="popsicle-user-agent" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='popsicle-user-agent', version='1.0.0')
)
libraryDependencies += "org.webjars.npm" % "popsicle-user-agent" % "1.0.0"
[org.webjars.npm/popsicle-user-agent "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 User Agent

NPM version NPM downloads Build status Test coverage

Popsicle middleware for setting a default User-Agent header.

Installation

npm install popsicle-user-agent --save

Usage

import { userAgent } from "popsicle-user-agent";

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

The only argument is the argument to set as the User-Agent, defaults to Popsicle.

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