# @azure/ms-rest-js

> Isomorphic client Runtime for Typescript/node.js/browser javascript client libraries generated using AutoRest

Latest version **2.7.0** (published 2023-07-06) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @azure/ms-rest-js
pnpm add @azure/ms-rest-js
yarn add @azure/ms-rest-js
bun add @azure/ms-rest-js
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 2.7.0 |
| Published | 2023-07-06 |
| First published | 2018-11-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 8 |
| Unpacked size | 2.2 MB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 55 |
| Author | Microsoft Corporation |
| Maintainers | amarzavery, vladbarosan, veronicagg, azure-sdk |
| Keywords | isomorphic, browser, javascript, node, microsoft, autorest, clientruntime |

## Links

- npm: https://www.npmjs.com/package/@azure/ms-rest-js
- Repository: https://github.com/Azure/ms-rest-js
- Issues: http://github.com/Azure/ms-rest-js/issues
- npm.io page: https://npm.io/package/@azure/ms-rest-js

## Dependencies (8)

- [uuid](https://npm.io/package/uuid.md) ^8.3.2
- [tslib](https://npm.io/package/tslib.md) ^1.10.0
- [tunnel](https://npm.io/package/tunnel.md) 0.0.6
- [xml2js](https://npm.io/package/xml2js.md) ^0.5.0
- [form-data](https://npm.io/package/form-data.md) ^2.5.0
- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.7
- [@azure/core-auth](https://npm.io/package/@azure/core-auth.md) ^1.1.4
- [abort-controller](https://npm.io/package/abort-controller.md) ^3.0.0

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 2.7.0 (latest) — 2023-07-06
- 2.6.6 — 2023-04-10
- 2.6.4 — 2022-11-28
- 2.6.2 — 2022-07-29
- 2.6.1 — 2022-03-01
- 2.6.0 — 2021-08-18
- 2.5.3 — 2021-07-12
- 2.5.2 — 2021-06-15
- 2.5.1 — 2021-06-10
- 2.5.0 — 2021-05-10
- 2.4.1 — 2021-05-05
- 2.4.0 — 2021-04-19
- 2.3.0 — 2021-03-29
- 2.2.3 — 2021-02-11
- 1.11.2 — 2021-02-11
- … 51 more at https://npm.io/package/@azure/ms-rest-js/versions

## README

# ms-rest-js

[![Build Status](https://dev.azure.com/azure-public/azsdk/_apis/build/status/public.Azure.ms-rest-js%20-%20CI)](https://dev.azure.com/azure-public/azsdk/_build/latest?definitionId=39)

Runtime for isomorphic javascript libraries (that work in the browser and node.js environment) generated via [Autorest](https://github.com/Azure/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 as instructed in `samples/node-samples.ts`
- Run `npx ts-node samples/node-sample.js`

### In the browser
- Run `npm run build`
- Set the subscriptionId and token then
- 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](https://github.com/Azure/ms-rest-js/blob/master/docs/architectureOverview.md).

# 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](https://opensource.microsoft.com/codeofconduct/).
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.

---
_Source: https://npm.io/package/@azure/ms-rest-js · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
