Runtime for isomorphic javascript libraries generated by Autorest
Перейти к файлу
Rikki Gibson 7fc80650b7 Update package-lock.json 2018-04-09 14:09:06 -07:00
dist Update build products 2018-04-09 11:43:25 -07:00
lib Use cookies with CORS 2018-04-05 09:25:16 -07:00
samples Initial commit 2017-09-13 09:52:01 -07:00
test Port Azure/azure-sdk-for-node#2332: Deals with unrecognized polymorphic discriminator 2018-04-02 15:03:21 -07:00
typings Update build products 2018-04-02 16:59:26 -07:00
.gitattributes Initial commit 2017-09-13 09:52:01 -07:00
.gitignore Initial commit 2017-09-13 09:52:01 -07:00
.npmignore add .git to .npmignore 2017-10-10 17:22:18 -07:00
.travis.yml Initial commit 2017-09-13 09:52:01 -07:00
Changelog.md Bump to version 0.2.8 2018-04-02 17:56:55 -07:00
LICENSE Initial commit 2017-08-30 15:48:29 -07:00
README.md Initial commit 2017-09-13 09:52:01 -07:00
gulpfile.js Initial commit 2017-09-13 09:52:01 -07:00
msRestBundle.js Update build products 2018-04-09 11:43:25 -07:00
msRestBundle.js.map Update build products 2018-04-09 11:43:25 -07:00
msRestBundle.min.js Update build products 2018-04-09 11:43:25 -07:00
msRestBundle.min.js.map Update build products 2018-04-09 11:43:25 -07:00
package-lock.json Update package-lock.json 2018-04-09 14:09:06 -07:00
package.json Update package-lock.json 2018-04-09 14:09:06 -07:00
tsconfig.json compiled to ES5 2018-01-29 18:01:54 +01:00
tslint.json Add workaround for empty non-wrapped XML lists. Allow "== undefined". 2018-04-02 16:44:07 -07:00
webpack.config.js Initial commit 2017-09-13 09:52:01 -07:00

README.md

ms-rest-js

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.