# @himenon/ts-grpc-health-check

> Grpc Health Check Implements

Latest version **1.3.10** (published 2024-09-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install @himenon/ts-grpc-health-check
pnpm add @himenon/ts-grpc-health-check
yarn add @himenon/ts-grpc-health-check
bun add @himenon/ts-grpc-health-check
```

## Health

**Score 30/100 (F)** — status: abandoned.

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

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.10 |
| Published | 2024-09-12 |
| First published | 2022-09-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=20 |
| Dependencies | 0 |
| Unpacked size | 26.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Himenon |
| Maintainers | himenoglyph |
| Keywords | grpc, health check, typescript |

## Links

- npm: https://www.npmjs.com/package/@himenon/ts-grpc-health-check
- Repository: https://github.com/Himenon/ts-grpc-health-check
- Homepage: https://github.com/Himenon/ts-grpc-health-check#readme
- Issues: https://github.com/Himenon/ts-grpc-health-check/issues
- npm.io page: https://npm.io/package/@himenon/ts-grpc-health-check

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.3.10 (latest) — 2024-09-12
- 1.3.8 — 2024-05-02
- 1.3.7 — 2024-05-02
- 1.3.6 — 2024-05-02
- 1.3.5 — 2024-04-11
- 1.3.4 — 2024-02-04
- 1.3.3 — 2023-08-16
- 1.3.1 — 2022-09-06
- 1.3.0 — 2022-09-05
- 1.2.1 — 2022-09-05
- 1.2.0 — 2022-09-05
- 1.1.7 — 2022-09-05
- 1.1.6 — 2022-09-05
- 1.1.5 — 2022-09-05
- 1.1.4 — 2022-09-05
- … 3 more at https://npm.io/package/@himenon/ts-grpc-health-check/versions

## README

# @himenon/ts-grpc-health-check

## Usage

```bash
npm i @himenon/ts-grpc-health-check
# or
pnpm i @himenon/ts-grpc-health-check
```

```ts
import health from "@himenon/ts-grpc-health-check";

const statusMap = {
  ServiceFoo: proto.grpc.health.v1.HealthCheckResponse.ServingStatus.SERVING,
  ServiceBar: proto.grpc.health.v1.HealthCheckResponse.ServingStatus.NOT_SERVING,
  "": proto.grpc.health.v1.HealthCheckResponse.ServingStatus.NOT_SERVING,
};

const healthImpl = health.createHealthServerImpl(statusMap);

// Add the service and implementation to your pre-existing gRPC-node server
server.addService(health.service, healthImpl);
```

- [grpc/grpc-node - grpc-health-check](https://github.com/grpc/grpc-node/tree/v1.12.4/packages/grpc-health-check)

## Development

```bash
pnpm i
# For Apple Silicon
npm_config_target_arch=x64 npm_config_arch=x64 pnpm i
```

## Release

- Automatic version updates are performed when merged into the `main` branch.

## LICENCE

[@Himenon/template-esm-js](https://github.com/Himenon/template-esm-js)・MIT

---
_Source: https://npm.io/package/@himenon/ts-grpc-health-check · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
