Azure runtime for isomorphic javascript libraries generated by Autorest
Перейти к файлу
Rikki Gibson fff96bdb0d Change browser to module in package.json 2018-10-05 14:20:34 -07:00
.scripts Enable strict on scripts, fix problems 2018-09-05 13:43:25 -07:00
lib Add additionalInfo to CloudError (#63) 2018-09-19 18:46:22 -07:00
samples Update node-sample.js 2017-11-07 18:21:04 -08:00
test Use esModuleInterop, etc 2018-10-04 13:11:43 -07:00
.gitattributes initial commit 2017-09-13 12:37:49 -07:00
.gitignore Add rollup config 2018-10-04 13:12:04 -07:00
.travis.yml initial commit 2017-09-13 12:37:49 -07:00
Changelog.md Update changelog 2018-10-04 13:53:20 -07:00
LICENSE initial commit 2017-09-13 12:37:49 -07:00
README.md initial commit 2017-09-13 12:37:49 -07:00
package-lock.json Update ts-node 2018-10-04 14:38:12 -07:00
package.json Change browser to module in package.json 2018-10-05 14:20:34 -07:00
rollup.config.js Add rollup config 2018-10-04 13:12:04 -07:00
tsconfig.es.json Add es6 build step 2018-06-11 08:51:37 -07:00
tsconfig.json Use esModuleInterop, etc 2018-10-04 13:11:43 -07:00
tslint.json Remove generateClientRequestId because it's now in ms-rest-js 2018-05-23 15:02:40 -07:00

README.md

ms-rest-azure-js

Azure 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.

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.