popsicle-user-agent
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    116,566
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    116,566

Package Sidebar

Install

npm i popsicle-user-agent

Weekly Downloads

73,697

Version

1.0.0

License

MIT

Unpacked Size

8.14 kB

Total Files

9

Last publish

Collaborators

  • blakeembrey