{"name":"@azure/core-http","sdk-type":"client","author":{"name":"Microsoft Corporation","email":"azsdkteam@microsoft.com","url":"https://github.com/Azure/azure-sdk-for-js"},"version":"1.0.2-dev.20191204.1","description":"Isomorphic client Runtime for Typescript/node.js/browser javascript client libraries generated using AutoRest","tags":["isomorphic","browser","javascript","node","microsoft","autorest","clientruntime"],"keywords":["isomorphic","browser","javascript","node","microsoft","autorest","clientruntime"],"main":"./dist/coreHttp.node.js","module":"./es/lib/coreHttp.js","types":"./es/lib/coreHttp.d.ts","browser":{"./es/lib/policies/msRestUserAgentPolicy.js":"./es/lib/policies/msRestUserAgentPolicy.browser.js","./es/lib/policies/proxyPolicy.js":"./es/lib/policies/proxyPolicy.browser.js","./es/lib/util/base64.js":"./es/lib/util/base64.browser.js","./es/lib/util/xml.js":"./es/lib/util/xml.browser.js","./es/lib/defaultHttpClient.js":"./es/lib/defaultHttpClient.browser.js"},"license":"MIT","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/core-http","repository":{"type":"git","url":"git+ssh://git@github.com/Azure/azure-sdk-for-js.git"},"bugs":{"url":"http://github.com/Azure/azure-sdk-for-js/issues"},"scripts":{"audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build":"run-p build:lib","build:lib":"run-s build:tsc build:rollup build:minify-browser","build:scripts":"tsc -p ./.scripts/","build:test":"run-s build build:test-browser","build:tsc":"tsc -p tsconfig.es.json","build:rollup":"rollup -c rollup.config.ts 2>&1","build:minify-browser":"terser -c -m --comments --source-map \"content='./dist/coreHttp.browser.js.map'\" -o ./dist/coreHttp.browser.min.js ./dist/coreHttp.browser.js","build:test-browser":"webpack --config webpack.testconfig.ts","check-format":"prettier --list-different --config ../../.prettierrc.json \"lib/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","clean":"rimraf ./es ./dist","execute:samples":"echo skipped","format":"prettier --write --config ../../.prettierrc.json \"lib/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"","integration-test:browser":"echo skipped","integration-test:node":"echo skipped","integration-test":"npm run integration-test:node && npm run integration-test:browser","lint:fix":"eslint package.json tsconfig.json \"lib/**/*.ts\" \"test/**/*.ts\" --fix --fix-type [problem,suggestion]","lint":"eslint package.json tsconfig.json lib test --ext .ts -f html -o core-http-lintReport.html || exit 0","pack":"npm pack 2>&1","prebuild":"npm run clean","test:browser":"npm run build:test && npm run unit-test:browser && npm run integration-test:browser","test:node":"npm run build:test && npm run unit-test:node && npm run integration-test:node","test":"npm run build:test && npm run unit-test && npm run integration-test","unit-test":"npm run unit-test:node && npm run unit-test:browser","unit-test:browser":"node ./node_modules/karma/bin/karma start karma.conf.ts --browsers ChromeNoSecurity --single-run","unit-test:node":"nyc mocha","check:packagejsonversion":"ts-node ./.scripts/checkPackageJsonVersion.ts","check:foronlycalls":"ts-node ./.scripts/checkForOnlyCalls.ts","check:everything":"ts-node ./.scripts/checkEverything.ts","dep:autorest.typescript":"npx ts-node .scripts/testDependentProjects.ts autorest.typescript 'gulp build' 'gulp regenerate' 'npm run local'","dep:ms-rest-azure-js":"npx ts-node .scripts/testDependentProjects.ts ms-rest-azure-js","publish-preview":"mocha --no-colors && shx rm -rf dist/test && node ./.scripts/publish","local":"ts-node ./.scripts/local.ts","latest":"ts-node ./.scripts/latest.ts"},"sideEffects":false,"nyc":{"extension":[".ts"],"exclude":["coverage/**/*","**/*.d.ts","**/*.js"],"reporter":["text","html","cobertura"],"all":true},"dependencies":{"@azure/abort-controller":"^1.0.0","@azure/core-auth":"^1.0.0","@azure/core-tracing":"^1.0.0-dev","@azure/logger":"^1.0.0","@opentelemetry/types":"^0.2.0","@types/node-fetch":"^2.5.0","@types/tunnel":"^0.0.1","form-data":"^3.0.0","node-fetch":"^2.6.0","process":"^0.11.10","tough-cookie":"^3.0.1","tslib":"^1.9.3","tunnel":"^0.0.6","uuid":"^3.3.2","xml2js":"^0.4.19"},"devDependencies":{"@azure/eslint-plugin-azure-sdk":"^2.0.1","@azure/logger-js":"^1.0.2","@rollup/plugin-json":"^4.0.0","@types/chai":"^4.1.6","@types/express":"^4.16.0","@types/glob":"^7.1.1","@types/karma":"^3.0.0","@types/mocha":"^5.2.5","@types/node":"^8.0.0","@types/sinon":"^7.0.13","@types/tough-cookie":"^2.3.5","@types/uuid":"^3.4.3","@types/webpack":"^4.4.13","@types/webpack-dev-middleware":"^2.0.2","@types/xml2js":"^0.4.3","@typescript-eslint/eslint-plugin":"^2.0.0","@typescript-eslint/parser":"^2.0.0","babel-runtime":"^6.26.0","chai":"^4.2.0","eslint":"^6.1.0","eslint-config-prettier":"^6.0.0","eslint-plugin-no-null":"^1.0.2","eslint-plugin-no-only-tests":"^2.3.0","eslint-plugin-promise":"^4.1.1","express":"^4.16.3","fetch-mock":"^8.0.0","glob":"^7.1.2","karma":"^4.0.1","karma-chai":"^0.1.0","karma-chrome-launcher":"^3.0.0","karma-mocha":"^1.3.0","karma-rollup-preprocessor":"^7.0.0","karma-sourcemap-loader":"^0.3.7","karma-typescript-es6-transform":"^4.0.0","karma-webpack":"^4.0.2","mocha":"^6.2.2","mocha-chrome":"^2.0.0","mocha-junit-reporter":"^1.18.0","mocha-multi":"^1.1.3","npm-run-all":"^4.1.5","nyc":"^14.0.0","prettier":"^1.16.4","puppeteer":"^2.0.0","regenerator-runtime":"^0.13.3","rimraf":"^3.0.0","rollup":"^1.16.3","rollup-plugin-commonjs":"^10.0.0","rollup-plugin-multi-entry":"^2.1.0","rollup-plugin-node-resolve":"^5.0.2","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-visualizer":"^3.1.1","shx":"^0.3.2","sinon":"^7.1.0","terser":"^4.0.2","ts-loader":"^6.0.4","ts-node":"^8.3.0","typescript":"~3.6.4","uglify-js":"^3.4.9","webpack":"^4.16.3","webpack-cli":"^3.2.3","webpack-dev-middleware":"^3.1.2","xhr-mock":"^2.4.1","yarn":"^1.6.0"},"//metadata":{"constantPaths":[{"path":"lib/util/constants.ts","prefix":"coreHttpVersion"}]},"_resolved":"","_integrity":"","_from":"file:/home/vsts/work/1/packages/azure-core-http-1.0.2-dev.20191204.1.tgz","readme":"# Azure Core HTTP client library for JS\n\nThis is the core HTTP pipeline for Azure SDK JavaScript libraries which work in the browser and Node.js. This library is primarily intended to be used in code generated by [AutoRest](https://github.com/Azure/Autorest) and [`autorest.typescript`](https://github.com/Azure/autorest.typescript).\n\n## Getting started\n\n### Requirements\n\n- Node.js version > 6.x\n- npm install -g typescript\n\n### Installation\n\n- After cloning the repo, execute `npm install`\n\n## Key concepts\n\nYou can find an explanation of how this repository's code works by going to our [architecture overview](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-http/docs/architectureOverview.md).\n\n## Examples\n\nExamples can be found in the `samples` folder.\n\n## Next steps\n\n### Node.js\n\n- Set the subscriptionId and token\n- Run `node samples/node-sample.js`\n\n### In the browser\n\n- Set the subscriptionId and token and then run\n- Open index.html file in the browser. It should show the response from GET request on the storage account. From Chrome type Ctrl + Shift + I and you can see the logs in console.\n\n## Troubleshooting\n\nIf you run into issues while using this library, please feel free to [file an issue](https://github.com/Azure/azure-sdk-for-js/issues/new).\n\n## Contributing\n\nThis project welcomes contributions and suggestions. Most contributions require you to agree to a\nContributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us\nthe rights to use your contribution. For details, visit https://cla.microsoft.com.\n\nWhen you submit a pull request, a CLA-bot will automatically determine whether you need to provide\na CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions\nprovided by the bot. You will only need to do this once across all repos using our CLA.\n\nIf you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/tree/72bb17fa22d8426555b78e1372dc7ae658ff20a9/CONTRIBUTING.md) to learn more about how to build and test the code.\n\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).\nFor more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or\ncontact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\n\n\n![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcore%2Fcore-http%2FREADME.png)\n","readmeFilename":"README.md","_id":"@azure/core-http@1.0.2-dev.20191204.1","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-RDsi+7CE/rayOUEOFDdNQo6JIi82Mtrx+iTbV2Ps8pbJTwfFEmJFwwbswXnspA6y82kjMFBolNZ5geNSpOUZ/Q==","shasum":"c4fb3350e5f50a41e31d6853cc5eef46b7425d78","tarball":"http://registry-npm.ywwl.com/@azure/core-http/download/@azure/core-http-1.0.2-dev.20191204.1.tgz","fileCount":286,"unpackedSize":1337982,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd58QbCRA9TVsSAnZWagAAAZoP/As4MHfJR1hl8NI1sfsW\n6fSOSOVnJb99WY//rS7IdTJHpgBPEws4KGw9zt75gHuHYNL7Uspgd+Rt0u6q\nX+4FX5f9+tnc/IxN6vbcUz+sn6dUIQiL7w6mStdvK/qNbLFfXz/r/pGWDQkR\nZBF6er+f/IhcZbGw0/kElBQdsPINPPVS/R81cz5uW36J/infH8GotX7yywxT\nhpuQ+fOLtjBbIkNQ3LvlkDAWfb5Gnm6riCZq5zJGWErH2DFnmqAu9b5yVYm6\n2M+Z/Gn0RTFkTVbCzu89cpXikgoh0c28lqwLca2vYqe8hrsYgl2b88u0Uasv\nQalSYUlvHz+RXie4qNgbYou1Fm0zRs8CJ/Bisy6oNa2+KpRnZ/FrISkhhq8A\nKnjwwFkFCkqPONH5LFJovoWGUPN566KA5UzACQVPDlTsRwxYSbjZs2KrdaLN\nlmMolqQMHA/PWeYt8V8gp2WwIhy4RxB+AqwiJHbpgBUZ1twwTESIYsvoUhWF\n0LRCzEzrz9p6d+EIYosnBlwePh24aATg7wWujJIdfAMbcPrWEuYtL+d49SC1\nGFjwoRw6082gKjZl0vEbLcifCmbLAy3BxhCMlvL1eSwV5HRxJxCrhR/ChFmz\nNlK2RH90cQvKtM3gji8b6pTMyTgdixRe4j+4qctgGHC4Br9G/laSxpm8/c0W\n2P6h\r\n=fBOj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDAmHYxYmev7dJHkBMBiUYSR79cbw3yzk62ltMtDOZuuAiBsCEj0JPjIYIWfzUw9uUB4WNcAyPruCumR45FMODu7yA=="}],"size":286772,"noattachment":false,"key":"/@azure/core-http/-/@azure/core-http-1.0.2-dev.20191204.1.tgz"},"maintainers":[{"email":"azure-sdk-npmjs@microsoft.com","name":"azure-sdk"}],"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-http_1.0.2-dev.20191204.1_1575470101273_0.7971121895071112"},"_hasShrinkwrap":false,"publish_time":1575470101464,"deprecated":"This package is no longer supported. Please migrate to use @azure/core-rest-pipeline","_cnpm_publish_time":1575470101464,"dist-tags":{"dev":"3.0.2-alpha.20231205.2","latest":"3.0.5"}}