@xplora-uk/axios-with-agentkeepalive
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

axios-with-agentkeepalive

axios with agentkeepalive

It uses:

requirements

  • Node v18.16.0+ for version 1.x

usage

npm i @xplora-uk/axios-with-agentkeepalive
const axiosWithAgentLib = require('@xplora-uk/axios-with-agentkeepalive');

maintenance

installation

npm i

code

src/
  __tests__/
    axios.test.ts  test cases for axios
  agents.ts        functions to create HTTP/S agents
  axios.ts         functions for axios
  index.ts         exports the features of this library
  types.ts         TypeScript types

build

npm run build

test

npm run test:coverage

publish

It is important to increment version number using semantic versioning in package.json and re-create package-lock.json

# https://docs.npmjs.com/cli/v9/commands/npm-login
# using a member in xplora-uk
npm login

# https://docs.npmjs.com/cli/v9/commands/npm-publish
npm publish --access public

Package Sidebar

Install

npm i @xplora-uk/axios-with-agentkeepalive

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

7.73 kB

Total Files

11

Last publish

Collaborators

  • nbxplora
  • ark8
  • haci-xplora