npm.io
1.0.1 • Published 2 years ago

@xplora-uk/axios-with-agentkeepalive

Licence
MIT
Version
1.0.1
Deps
2
Size
8 kB
Vulns
0
Weekly
18

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