package.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "name": "proxy-from-env",
  3. "version": "2.1.0",
  4. "description": "Offers getProxyForUrl to get the proxy URL for a URL, respecting the *_PROXY (e.g. HTTP_PROXY) and NO_PROXY environment variables.",
  5. "main": "index.cjs",
  6. "exports": {
  7. "import": "./index.js",
  8. "require": "./index.cjs"
  9. },
  10. "files": ["index.js", "index.cjs"],
  11. "scripts": {
  12. "lint": "eslint *.js *.mjs *.cjs",
  13. "test": "node --test ./test.js",
  14. "test-require": "node ./test-require.cjs",
  15. "test-coverage": "node --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info ./test.js",
  16. "test-coverage-as-html": "npm run test-coverage && genhtml lcov.info -o coverage/"
  17. },
  18. "repository": {
  19. "type": "git",
  20. "url": "git+https://github.com/Rob--W/proxy-from-env.git"
  21. },
  22. "keywords": [
  23. "proxy",
  24. "http_proxy",
  25. "https_proxy",
  26. "no_proxy",
  27. "environment"
  28. ],
  29. "author": "Rob Wu <rob@robwu.nl> (https://robwu.nl/)",
  30. "license": "MIT",
  31. "bugs": {
  32. "url": "https://github.com/Rob--W/proxy-from-env/issues"
  33. },
  34. "homepage": "https://github.com/Rob--W/proxy-from-env#readme",
  35. "devDependencies": {
  36. "eslint": "^9.39.2"
  37. },
  38. "type": "module",
  39. "engines": {
  40. "node": ">=10"
  41. },
  42. "sideEffects": false
  43. }