# is-kube

> Checks to see if the process is running inside a Kubernetes container

Latest version **1.0.0** (published 2023-07-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-kube
pnpm add is-kube
yarn add is-kube
bun add is-kube
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2023-07-28 |
| First published | 2023-07-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | jordan.burke@gmail.com |
| Maintainers | jordanburke |

## Links

- npm: https://www.npmjs.com/package/is-kube
- npm.io page: https://npm.io/package/is-kube

## Recent versions

- 1.0.0 (latest) — 2023-07-28
- 0.0.1 — 2023-07-28

## README

# is-kube

> Checks to see if the process is running inside a kubernetes container (i.e., similar to is-docker)

## Install

```
$ npm install is-kube
```

## Usage

JavaScript:

```javascript
const isKube = require('is-kube');

if (isKube()) {
  console.log('Running inside a kubernetes container');
}
```

Typescript:

```typescript
import isKube from "is-kube"

if (isKube()) {
  console.log('Running inside a kubernetes container');
}
```

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