{"_id":"@azure/ms-rest-azure-env","_rev":"2992017","name":"@azure/ms-rest-azure-env","description":"Isomorphic library that provides Azure endpoints for different Azure Environments/Clouds.","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"amarzavery","email":""},{"name":"azure-sdk","email":""},{"name":"veronicagg","email":""},{"name":"vladbarosan","email":""}],"time":{"modified":"2023-08-28T09:18:10.000Z","created":"2018-11-12T19:10:19.728Z","2.0.0":"2019-07-11T17:14:49.508Z","1.1.2":"2019-01-14T19:12:34.901Z","1.1.1":"2018-11-29T22:10:31.874Z","1.1.0":"2018-11-12T19:10:19.728Z"},"users":{},"author":{"name":"Microsoft Corporation","email":"azsdkteam@microsoft.com","url":"https://github.com/Azure/ms-rest-azure-env"},"repository":{"type":"git","url":"git+ssh://git@github.com/Azure/ms-rest-azure-env.git"},"versions":{"2.0.0":{"name":"@azure/ms-rest-azure-env","author":{"name":"Microsoft Corporation","email":"azsdkteam@microsoft.com","url":"https://github.com/Azure/ms-rest-azure-env"},"version":"2.0.0","description":"Isomorphic library that provides Azure endpoints for different Azure Environments/Clouds.","tags":["node","isomorphic","azure","environment","endpoint"],"keywords":["node","isomorphic","azure","environment","endpoint"],"main":"./dist/msRestAzureEnv.js","module":"./es/lib/azureEnvironment.js","types":"./es/lib/azureEnvironment.d.ts","license":"MIT","devDependencies":{"@types/mocha":"^5.2.5","@types/should":"^13.0.0","mocha":"^5.2.0","npm-run-all":"^4.1.5","rollup":"^0.67.3","rollup-plugin-sourcemaps":"^0.4.2","should":"13.2.3","ts-node":"^7.0.1","tslint":"^5.11.0","typescript":"^3.1.6","uglify-js":"^3.4.9"},"homepage":"https://github.com/Azure/ms-rest-azure-env","repository":{"type":"git","url":"git+ssh://git@github.com/Azure/ms-rest-azure-env.git"},"bugs":{"url":"http://github.com/Azure/ms-rest-azure-env/issues"},"scripts":{"build":"run-s build:tsc build:rollup build:minify","build:tsc":"tsc -p tsconfig.es.json","build:rollup":"rollup -c rollup.config.js","build:minify":"uglifyjs -c -m --comments --source-map \"content='./dist/msRestAzureEnv.js.map'\" -o ./dist/msRestAzureEnv.min.js ./dist/msRestAzureEnv.js","prepack":"npm install && npm run build","test":"npm run build && run-p test:tslint test:unit","test:tslint":"tslint -p . -c tslint.json --exclude test/**/*.ts","test:unit":"mocha"},"sideEffects":false,"_resolved":"","_integrity":"","_from":"file:d:/a/r1/a/_public.Azure.ms-rest-azure-env/drop/azure-ms-rest-azure-env-2.0.0.tgz","_id":"@azure/ms-rest-azure-env@2.0.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"45809f89763a480924e21d3c620cd40866771625","size":12183,"noattachment":false,"key":"/@azure/ms-rest-azure-env/-/@azure/ms-rest-azure-env-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@azure/ms-rest-azure-env/download/@azure/ms-rest-azure-env-2.0.0.tgz"},"maintainers":[{"name":"amarzavery","email":""},{"name":"azure-sdk","email":""},{"name":"veronicagg","email":""},{"name":"vladbarosan","email":""}],"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ms-rest-azure-env_2.0.0_1562865289327_0.001577224498187757"},"_hasShrinkwrap":false,"publish_time":1562865289508,"_cnpm_publish_time":1562865289508,"_cnpmcore_publish_time":"2021-12-16T17:33:23.980Z"},"1.1.2":{"name":"@azure/ms-rest-azure-env","author":{"name":"Microsoft Corporation","email":"azsdkteam@microsoft.com","url":"https://github.com/Azure/ms-rest-azure-env"},"version":"1.1.2","description":"Isomorphic library that provides Azure endpoints for different Azure Environments/Clouds.","tags":["node","isomorphic","azure","environment","endpoint"],"keywords":["node","isomorphic","azure","environment","endpoint"],"main":"./dist/msRestAzureEnv.js","module":"./es/lib/azureEnvironment.js","types":"./es/lib/azureEnvironment.d.ts","license":"MIT","devDependencies":{"@types/mocha":"^5.2.5","@types/should":"^13.0.0","mocha":"^5.2.0","npm-run-all":"^4.1.5","rollup":"^0.67.3","rollup-plugin-sourcemaps":"^0.4.2","should":"13.2.3","ts-node":"^7.0.1","tslint":"^5.11.0","typescript":"^3.1.6","uglify-js":"^3.4.9"},"homepage":"https://github.com/Azure/ms-rest-azure-env","repository":{"type":"git","url":"git+ssh://git@github.com/Azure/ms-rest-azure-env.git"},"bugs":{"url":"http://github.com/Azure/ms-rest-azure-env/issues"},"scripts":{"build":"run-s build:tsc build:rollup build:minify","build:tsc":"tsc -p tsconfig.es.json","build:rollup":"rollup -c rollup.config.js","build:minify":"uglifyjs -c -m --comments --source-map \"content='./dist/msRestAzureEnv.js.map'\" -o ./dist/msRestAzureEnv.min.js ./dist/msRestAzureEnv.js","prepack":"npm install && npm run build","test":"npm run build && run-p test:tslint test:unit","test:tslint":"tslint -p . -c tslint.json --exclude test/**/*.ts","test:unit":"mocha"},"sideEffects":false,"_resolved":"","_integrity":"","_from":"file:..\\_public.Azure.ms-rest-azure-env\\drop\\azure-ms-rest-azure-env-1.1.2.tgz","_id":"@azure/ms-rest-azure-env@1.1.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"sergeyshandar","email":"sergey.shandar@gmail.com"},"dist":{"shasum":"8505873afd4a1227ec040894a64fdd736b4a101f","size":12199,"noattachment":false,"key":"/@azure/ms-rest-azure-env/-/@azure/ms-rest-azure-env-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@azure/ms-rest-azure-env/download/@azure/ms-rest-azure-env-1.1.2.tgz"},"maintainers":[{"name":"amarzavery","email":""},{"name":"azure-sdk","email":""},{"name":"veronicagg","email":""},{"name":"vladbarosan","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ms-rest-azure-env_1.1.2_1547493154741_0.08849582791830457"},"_hasShrinkwrap":false,"publish_time":1547493154901,"_cnpm_publish_time":1547493154901,"_cnpmcore_publish_time":"2021-12-16T17:33:24.199Z"},"1.1.1":{"name":"@azure/ms-rest-azure-env","author":{"name":"Microsoft Corporation","email":"azsdkteam@microsoft.com","url":"https://github.com/Azure/ms-rest-azure-env"},"version":"1.1.1","description":"Isomorphic library that provides Azure endpoints for different Azure Environments/Clouds.","tags":["node","isomorphic","azure","environment","endpoint"],"keywords":["node","isomorphic","azure","environment","endpoint"],"main":"./dist/msRestAzureEnv.js","module":"./es/lib/azureEnvironment.js","types":"./es/lib/azureEnvironment.d.ts","license":"MIT","devDependencies":{"@types/mocha":"^5.2.5","@types/should":"^13.0.0","mocha":"^5.2.0","npm-run-all":"^4.1.5","rollup":"^0.67.3","rollup-plugin-sourcemaps":"^0.4.2","should":"13.2.3","ts-node":"^7.0.1","tslint":"^5.11.0","typescript":"^3.1.6","uglify-js":"^3.4.9"},"homepage":"https://github.com/Azure/ms-rest-azure-env","repository":{"type":"git","url":"git+ssh://git@github.com/Azure/ms-rest-azure-env.git"},"bugs":{"url":"http://github.com/Azure/ms-rest-azure-env/issues"},"scripts":{"build":"run-s build:tsc build:rollup build:minify","build:tsc":"tsc -p tsconfig.es.json","build:rollup":"rollup -c rollup.config.js","build:minify":"uglifyjs -c -m --comments --source-map \"content='./dist/msRestAzureEnv.js.map'\" -o ./dist/msRestAzureEnv.min.js ./dist/msRestAzureEnv.js","prepack":"npm install && npm run build","test":"npm run build && run-p test:tslint test:unit","test:tslint":"tslint -p . -c tslint.json --exclude test/**/*.ts","test:unit":"mocha"},"sideEffects":false,"_resolved":"","_integrity":"","_from":"file:..\\_public.Azure.ms-rest-azure-env\\drop\\azure-ms-rest-azure-env-1.1.1.tgz","_id":"@azure/ms-rest-azure-env@1.1.1","_npmVersion":"6.4.1","_nodeVersion":"10.14.1","_npmUser":{"name":"sergeyshandar","email":"sergey.shandar@gmail.com"},"dist":{"shasum":"869f626de04599fb131c4cd5507ba4844544762c","size":12199,"noattachment":false,"key":"/@azure/ms-rest-azure-env/-/@azure/ms-rest-azure-env-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@azure/ms-rest-azure-env/download/@azure/ms-rest-azure-env-1.1.1.tgz"},"maintainers":[{"name":"amarzavery","email":""},{"name":"azure-sdk","email":""},{"name":"veronicagg","email":""},{"name":"vladbarosan","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ms-rest-azure-env_1.1.1_1543529431705_0.6601803805870927"},"_hasShrinkwrap":false,"publish_time":1543529431874,"_cnpm_publish_time":1543529431874,"_cnpmcore_publish_time":"2021-12-16T17:33:24.398Z"},"1.1.0":{"name":"@azure/ms-rest-azure-env","author":{"name":"Microsoft Corporation","email":"azsdkteam@microsoft.com","url":"https://github.com/Azure/ms-rest-azure-env"},"version":"1.1.0","description":"Isomorphic library that provides Azure endpoints for different Azure Environments/Clouds.","tags":["node","isomorphic","azure","environment","endpoint"],"keywords":["node","isomorphic","azure","environment","endpoint"],"main":"./dist/msRestAzureEnv.js","module":"./es/lib/azureEnvironment.js","types":"./es/lib/azureEnvironment.d.ts","license":"MIT","devDependencies":{"@types/mocha":"^2.2.40","@types/should":"^8.1.30","mocha":"^5.2.0","npm-run-all":"^4.1.3","rollup":"^0.66.4","should":"5.2.0","ts-node":"^7.0.1","tslint":"^5.11.0","typescript":"^3.1.1","uglify-js":"^3.4.9"},"homepage":"https://github.com/Azure/ms-rest-azure-env","repository":{"type":"git","url":"git+ssh://git@github.com/Azure/ms-rest-azure-env.git"},"bugs":{"url":"http://github.com/Azure/ms-rest-azure-env/issues"},"scripts":{"build":"run-s build:tsc build:rollup build:minify","build:tsc":"tsc -p tsconfig.es.json","build:rollup":"rollup -c rollup.config.js","build:minify":"uglifyjs -c -m --comments --source-map \"content='./dist/msRestAzureEnv.js.map'\" -o ./dist/msRestAzureEnv.min.js ./dist/msRestAzureEnv.js","prepack":"npm install && npm run build","test":"npm run build && run-p test:tslint test:unit","test:tslint":"tslint -p . -c tslint.json --exclude test/**/*.ts","test:unit":"mocha"},"sideEffects":false,"_resolved":"","_integrity":"","_from":"file:..\\_public.Azure.ms-rest-azure-env\\drop\\azure-ms-rest-azure-env-1.1.0.tgz","_id":"@azure/ms-rest-azure-env@1.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"sergeyshandar","email":"sergey.shandar@gmail.com"},"dist":{"shasum":"fc301591a1c0be26f98e7a65a4a045fd506ac45e","size":11866,"noattachment":false,"key":"/@azure/ms-rest-azure-env/-/@azure/ms-rest-azure-env-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@azure/ms-rest-azure-env/download/@azure/ms-rest-azure-env-1.1.0.tgz"},"maintainers":[{"name":"amarzavery","email":""},{"name":"azure-sdk","email":""},{"name":"veronicagg","email":""},{"name":"vladbarosan","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ms-rest-azure-env_1.1.0_1542049819518_0.030694100262812496"},"_hasShrinkwrap":false,"publish_time":1542049819728,"_cnpm_publish_time":1542049819728,"_cnpmcore_publish_time":"2021-12-16T17:33:24.620Z"}},"readme":"# ms-rest-azure-env [![Build Status](https://dev.azure.com/azure-public/adx/_apis/build/status/public.Azure.ms-rest-azure-env)](https://dev.azure.com/azure-public/adx/_build/latest?definitionId=7)\n\nAn isomorphic javascript library with typescript type definitions that provides a mechanism to access Azure Endpoints in different Azure clouds. It also provides a mechanism to add a custom environment.\n\n### Example\n\n```javascript\nimport { Environment, EnvironmentParameters } from \"@azure/ms-rest-azure-env\";\n\n// Accesing predefined environment endpoints.\nconsole.log(Environment.AzureCloud.resourceManagerEndpointUrl);\nconsole.log(Environment.ChinaCloud.resourceManagerEndpointUrl);\n\n//Adding a custom environment with required endpoint values.\nlet df: AzureEnvironmentParameters = {\n  name: \"Dogfood\",\n  portalUrl: \"http://go.microsoft.com/fwlink/?LinkId=254433\",\n  managementEndpointUrl: \"https://management.core.windows.net\",\n  resourceManagerEndpointUrl: \"https://management.azure.com/\",\n  activeDirectoryEndpointUrl: \"https://login.microsoftonline.com/\",\n  activeDirectoryResourceId: \"https://management.core.windows.net/\"\n};\nEnvironment.add(df);\nlet dfoodEnv = Environment.get(\"Dogfood\");\nconsole.log(dfoodEnv);\nconsole.log(`Accessing the custom environment info: ${(<any>Environment)[\"Dogfood\"].managementEndpointUrl}`);\n```\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\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","_attachments":{},"homepage":"https://github.com/Azure/ms-rest-azure-env","bugs":{"url":"http://github.com/Azure/ms-rest-azure-env/issues"},"license":"MIT"}