Azure runtime for isomorphic javascript libraries generated by Autorest
Перейти к файлу
Rikki Gibson 2fb7c939fe
Rollup (#65)
* Use esModuleInterop, etc

* Add rollup config

* Depend on uglify-js

* Bump to v1.0.0

* Update to v1.0.0

* Update changelog

* Replace npmignore with pkg.files

* Update lockfile and typescript version

* Update ts-node

* Fix 'main' field
2018-10-04 14:50:00 -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 Rollup (#65) 2018-10-04 14:50:00 -07:00
.gitattributes initial commit 2017-09-13 12:37:49 -07:00
.gitignore Rollup (#65) 2018-10-04 14:50:00 -07:00
.travis.yml initial commit 2017-09-13 12:37:49 -07:00
Changelog.md Rollup (#65) 2018-10-04 14:50:00 -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 Rollup (#65) 2018-10-04 14:50:00 -07:00
package.json Rollup (#65) 2018-10-04 14:50:00 -07:00
rollup.config.js Rollup (#65) 2018-10-04 14:50:00 -07:00
tsconfig.es.json Add es6 build step 2018-06-11 08:51:37 -07:00
tsconfig.json Rollup (#65) 2018-10-04 14:50:00 -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.