# @azure-rest/core-client

> Core library for interfacing with Azure Rest Clients

Latest version **2.9.0** (published 2026-09-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install @azure-rest/core-client
pnpm add @azure-rest/core-client
yarn add @azure-rest/core-client
bun add @azure-rest/core-client
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 2.9.0 |
| Published | 2026-09-03 |
| First published | 2021-04-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=22.0.0 |
| Dependencies | 6 |
| Unpacked size | 262.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2294 |
| Author | Microsoft Corporation |
| Maintainers | azure-sdk, microsoft1es |
| Keywords | azure, cloud |

## Links

- npm: https://www.npmjs.com/package/@azure-rest/core-client
- Repository: https://github.com/Azure/azure-sdk-for-js
- Homepage: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-client-rest/
- Issues: https://github.com/Azure/azure-sdk-for-js/issues
- npm.io page: https://npm.io/package/@azure-rest/core-client

## Dependencies (6)

- [tslib](https://npm.io/package/tslib.md) ^2.6.2
- [@azure/core-auth](https://npm.io/package/@azure/core-auth.md) ^1.10.0
- [@azure/core-tracing](https://npm.io/package/@azure/core-tracing.md) ^1.3.0
- [@azure/abort-controller](https://npm.io/package/@azure/abort-controller.md) ^2.1.2
- [@azure/core-rest-pipeline](https://npm.io/package/@azure/core-rest-pipeline.md) ^1.24.0
- [@typespec/ts-http-runtime](https://npm.io/package/@typespec/ts-http-runtime.md) ^0.3.8

## Recent versions

- 2.9.0 (latest) — 2026-09-03
- 2.5.2-alpha.20260311.2 (dev) — 2026-03-11
- 2.8.0 — 2026-07-13
- 2.7.0 — 2026-06-22
- 2.6.1 — 2026-06-04
- 2.6.0 — 2026-04-08
- 2.5.2-alpha.20260310.2 — 2026-03-10
- 2.5.2-alpha.20260309.3 — 2026-03-09
- 2.5.2-alpha.20260306.4 — 2026-03-06
- 2.5.2-alpha.20260305.6 — 2026-03-05
- 2.5.2-alpha.20260227.2 — 2026-02-27
- 2.5.2-alpha.20260226.1 — 2026-02-26
- 2.5.2-alpha.20260225.1 — 2026-02-25
- 2.5.2-alpha.20260224.3 — 2026-02-24
- 2.5.2-alpha.20260223.3 — 2026-02-23
- … 420 more at https://npm.io/package/@azure-rest/core-client/versions

## README

# Azure Rest Core client library for JavaScript

This library is primarily intended to be used in code generated by the [TypeSpec](https://typespec.io) [`@azure-tools/typespec-ts`](https://github.com/Azure/typespec-azure/tree/main/packages/typespec-ts) emitter, specifically for REST-level clients.

## Getting started

### Requirements

### Currently supported environments

- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)
- Latest versions of Safari, Chrome, Edge, and Firefox.

See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.

### Installation

This package is primarily used in generated code and not meant to be consumed directly by end users.

## Key concepts

## Examples

Examples can be found in the `samples` folder.

## Next steps

You can build and run the tests locally by executing `npm run test`. Explore the `test` folder to see advanced usage and behavior of the public classes.

Learn more about the [TypeSpec](https://typespec.io) [`@azure-tools/typespec-ts`](https://github.com/Azure/typespec-azure/tree/main/packages/typespec-ts) emitter for generating a compatible client on top of this package.

## Troubleshooting

If you run into issues while using this library, please feel free to [file an issue](https://github.com/Azure/azure-sdk-for-js/issues/new).

## Contributing

If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code.

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