Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "ua"

Index

Variables

Variables

Const UA

UA: string = new Composer().product(pkg.name, pkg.version).ext(`Node.js/${process.version}`).ext(`${appInfo.name}/${appInfo.version}`).build()

Generates User-Agent string for request.

Const appInfo

appInfo: any = require(`${appRoot}/package.json`)

Const pkg

pkg: any = require('../package.json')

Generated using TypeDoc