# @medusajs/medusa-js

> Client for Medusa Commerce Rest API

Latest version **6.1.10** (published 2025-01-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install @medusajs/medusa-js
pnpm add @medusajs/medusa-js
yarn add @medusajs/medusa-js
bun add @medusajs/medusa-js
```

## Health

**Score 60/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high maintenance score; high quality score; popular repo.

Warnings: low downloads.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 6.1.10 |
| Published | 2025-01-20 |
| First published | 2021-05-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=12.0.0 |
| Dependencies | 5 |
| Unpacked size | 1.5 MB |
| Known vulnerabilities | 0 (+24 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 36474 |
| Author | Oliver Juhl |
| Maintainers | sebrindom, oliverjuhl |

## Links

- npm: https://www.npmjs.com/package/@medusajs/medusa-js
- Repository: https://github.com/medusajs/medusa
- Homepage: https://docs.medusajs.com/v1/js-client/overview
- Issues: https://github.com/medusajs/medusa/issues
- npm.io page: https://npm.io/package/@medusajs/medusa-js

## Dependencies (5)

- [qs](https://npm.io/package/qs.md) ^6.10.3
- [uuid](https://npm.io/package/uuid.md) ^9.0.0
- [axios](https://npm.io/package/axios.md) ^0.24.0
- [cross-env](https://npm.io/package/cross-env.md) ^5.2.1
- [retry-axios](https://npm.io/package/retry-axios.md) ^2.6.0

## Recent versions

- 6.1.10 (latest) — 2025-01-20
- 6.1.9-snapshot-20240718083016 (snapshot) — 2024-07-18
- 6.1.9-preview-20240505115807 (preview) — 2024-05-05
- 6.1.9-next-20240505114610 (next) — 2024-05-05
- 6.0.3-beta-20230727162508 (beta) — 2023-07-27
- 6.0.3-alpha-20230713133730 (alpha) — 2023-07-13
- 4.0.1-nextjs-commerce-20230515081748 (nextjs-commerce) — 2023-05-15
- 4.0.0-canary-20230512135047 (canary) — 2023-05-12
- 4.0.1-nextjs-20230507103235 (nextjs) — 2023-05-07
- 2.0.0-rc.8 (rc) — 2023-04-04
- 1.3.5-staging-20221220110309 (staging) — 2022-12-20
- 1.3.5-swap-prod-search-20221216101823 (swap-prod-search) — 2022-12-16
- 1.3.5-hotfix-peerdeps.0 (hotfix-peerdeps) — 2022-12-14
- 1.3.5-hotfix-medusa-js.1 (hotfix-medusa-js) — 2022-12-14
- 1.3.1-alp.0 (alp) — 2022-10-05
- … 823 more at https://npm.io/package/@medusajs/medusa-js/versions

## README

# Medusa JS Client

[![Version](https://img.shields.io/npm/v/stripe.svg)](https://www.npmjs.org/package/@medusajs/medusa-js)

The Medusa JS Client provides easy access to the Medusa API from a client written in Typescript.

## Documentation

You can learn more about how to install and use this client in [our documentation](https://docs.medusajs.com/v1/js-client/overview).

To learn more about the API endpoints that this client allows you to access check out our [API reference](https://docs.medusajs.com/v1/api/store).

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