1.0.1 • Published 1 month ago

@xplora-uk/axios-with-agentkeepalive v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

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
1.0.1

1 month ago

1.0.0

3 months ago