Runtime for isomorphic javascript libraries generated by Autorest
Branch: master
Clone or download
daschult Merge pull request #330 from Azure/daschult/userAgentHeaderName
Add userAgentHeaderName to ServiceClientOptions
Latest commit 2aa565f Feb 11, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Add GitHub-related configuration (#275) Nov 14, 2018
.scripts Fix default HTTP client tests (#321) Jan 22, 2019
.typings Add karma for browser tests (#316) Jan 15, 2019
.vscode Make unit tests stable Nov 27, 2018
docs Move architectureOverview to docs folder Jun 27, 2018
lib Merge branch 'master' into daschult/userAgentHeaderName Feb 11, 2019
samples RequestPolicyCreator -> RequestPolicyFactory (#184) Aug 9, 2018
test Improve tests Feb 11, 2019
.gitattributes Initial commit Sep 13, 2017
.gitignore Add karma for browser tests (#316) Jan 15, 2019
.travis.yml Enable browser tests with npm test (#108) May 30, 2018
Changelog.md Update changelog for version 1.4.0-1.5.0 (#319) Jan 17, 2019
LICENSE Initial commit Aug 30, 2017
README.md
ThirdPartyNotices.txt
azure-pipelines-job.yml Update test result and code coverage paths Dec 14, 2018
azure-pipelines.yml Add Node 10 and 11 to test matrix Jan 15, 2019
index.html Rollup (#243) Oct 4, 2018
karma.conf.ts Fix default HTTP client tests (#321) Jan 22, 2019
mocha.config.json Fix default HTTP client tests (#321) Jan 22, 2019
package.json Update version to 1.7.0 Feb 11, 2019
rollup.config.ts
tsconfig.es.json Require granular uuidv4. Remove process polyfill. Remove withCredenti… Jun 6, 2018
tsconfig.json Fix default HTTP client tests (#321) Jan 22, 2019
tslint.json
webpack.testconfig.ts Fix including proxy policy in browser (#328) Jan 30, 2019

README.md

ms-rest-js

Build Status

Runtime for isomorphic javascript libraries (that work in the browser and node.js environemnt) generated via Autorest.

Requirements

  • node.js version > 6.x
  • npm install -g typescript

Installation

  • After cloning the repo, execute npm install

Execution

node.js

  • Set the subscriptionId and token
  • Run node samples/node-sample.js

In the browser

  • Set the subscriptionId and token and then run
  • 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.

Architecture Overview

You can find an explanation of how this repository's code works by going to our architecture overview.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.