# endpoints-sdk-cli

> endpoints sdk cli

Latest version **3.1.10** (published 2026-06-24) · 0 weekly downloads

## Install

```sh
npm install endpoints-sdk-cli
pnpm add endpoints-sdk-cli
yarn add endpoints-sdk-cli
bun add endpoints-sdk-cli
```

Provides the command `mes`.

## Health

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

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

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 3.1.10 |
| Published | 2026-06-24 |
| First published | 2019-12-20 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 3 |
| Unpacked size | 19.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 2 |
| Author | hrdtbs |
| Maintainers | myuon, hrdtbs |

## Links

- npm: https://www.npmjs.com/package/endpoints-sdk-cli
- Repository: https://github.com/matsuri-tech/endpoints-sdk-cli
- Homepage: https://github.com/matsuri-tech/endpoints-sdk-cli#readme
- Issues: https://github.com/matsuri-tech/endpoints-sdk-cli/issues
- npm.io page: https://npm.io/package/endpoints-sdk-cli

## Dependencies (3)

- [commander](https://npm.io/package/commander.md) 15.0.0
- [json-schema-to-typescript](https://npm.io/package/json-schema-to-typescript.md) 15.0.4
- [@apidevtools/json-schema-ref-parser](https://npm.io/package/@apidevtools/json-schema-ref-parser.md) 15.4.0

## Recent versions

- 3.1.10 (latest) — 2026-06-24
- 3.1.11-alpha-1788849262253-420121a.0 (alpha) — 2026-09-08
- 3.1.11-alpha-1788759256373-7939b55.0 — 2026-09-07
- 3.1.11-alpha-1788758897045-15139e0.0 — 2026-09-07
- 3.1.11-alpha-1788699393422-f7922ee.0 — 2026-09-06
- 3.1.11-alpha-1788641707949-89f0065.0 — 2026-09-05
- 3.1.11-alpha-1788421593246-b91789d.0 — 2026-09-03
- 3.1.11-alpha-1788392473653-25cee3e.0 — 2026-09-02
- 3.1.11-alpha-1788289188106-68694d6.0 — 2026-09-01
- 3.1.11-alpha-1787950482759-adf13ba.0 — 2026-08-28
- 3.1.11-alpha-1787850606892-68c34ab.0 — 2026-08-27
- 3.1.11-alpha-1787709790022-fdca969.0 — 2026-08-26
- 3.1.11-alpha-1787702982393-22c5d04.0 — 2026-08-26
- 3.1.11-alpha-1787417946703-88160ae.0 — 2026-08-22
- 3.1.11-alpha-1787183476606-6494a37.0 — 2026-08-19
- … 221 more at https://npm.io/package/endpoints-sdk-cli/versions

## README

# matsuri-tech/endpoints-sdk-cli (mes)

Endpoints SDK for JavaScript

## Usage

```shell
pnpm add -D endpoints-sdk-cli
npx mes --help
```

## Commands

- [`mes init`](#mes-init)
- [`mes add [REPOSITORY]`](#mes-add-repository)
- [`mes install`](#mes-install)
- [`mes update [SERVICE]`](#mes-update-service)

### `mes init`

initialize endpoints.config.json

```shell
npx mes init
```

### `mes add [REPOSITORY]`

add service to dependencies & make endpoints files.

```shell
npx mes add [REPOSITORY]
```

Examples:

```shell
mes add [username/repository_name]
mes add [username/repository_name] -b [branch_name]
mes add [username/repository_name] -w [workspace_name]
mes add [username/repository_name] -e [period_name]
```

### `mes install`

generate endpoints files based on endpoints.config.json

```shell
npx mes install
```

### `mes update [SERVICE]`

update service version & regenerate endpoints files

```shell
npx mes update [SERVICE]
```

## Support of `create-react-app`

```json
{
  "environment_identifier": "process.env.REACT_APP_ENV"
}
```

## Override root url

```json
{
  "dependencies": {
    "my-service": {
      "version": "ba832b61d0319f42b3cbb30c815cbdecfece959a",
      "repository": "git@github.com:hoge/my-service.git",
      "roots": {
        "dev": "https://dev.hoge.com",
        "prod": "https://hoge.com",
        "local": "http://localhost:3000"
      }
    }
  }
}
```

---
_Source: https://npm.io/package/endpoints-sdk-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
