# popsicle-user-agent

> Popsicle middleware for setting a default `User-Agent` header

Latest version **1.0.0** (published 2019-06-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install popsicle-user-agent
pnpm add popsicle-user-agent
yarn add popsicle-user-agent
bun add popsicle-user-agent
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-06-11 |
| First published | 2019-06-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 7.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Blake Embrey |
| Maintainers | blakeembrey |
| Keywords | popsicle, cookies, jar, memory, store |

## Links

- npm: https://www.npmjs.com/package/popsicle-user-agent
- Repository: https://github.com/serviejs/popsicle-user-agent
- Issues: https://github.com/serviejs/popsicle-user-agent/issues
- npm.io page: https://npm.io/package/popsicle-user-agent

## Recent versions

- 1.0.0 (latest) — 2019-06-11

## README

# Popsicle User Agent

[![NPM version][npm-image]][npm-url]
[![NPM downloads][downloads-image]][downloads-url]
[![Build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]

> Popsicle middleware for setting a default `User-Agent` header.

## Installation

```
npm install popsicle-user-agent --save
```

## Usage

```js
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](https://github.com/Microsoft/TypeScript) and publishes the definitions directly to NPM.

## License

MIT

[npm-image]: https://img.shields.io/npm/v/popsicle-user-agent.svg?style=flat
[npm-url]: https://npmjs.org/package/popsicle-user-agent
[downloads-image]: https://img.shields.io/npm/dm/popsicle-user-agent.svg?style=flat
[downloads-url]: https://npmjs.org/package/popsicle-user-agent
[travis-image]: https://img.shields.io/travis/serviejs/popsicle-user-agent.svg?style=flat
[travis-url]: https://travis-ci.org/serviejs/popsicle-user-agent
[coveralls-image]: https://img.shields.io/coveralls/serviejs/popsicle-user-agent.svg?style=flat
[coveralls-url]: https://coveralls.io/r/serviejs/popsicle-user-agent?branch=master

---
_Source: https://npm.io/package/popsicle-user-agent · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
