# @kubernetes/typescript-node

> NodeJS client for kubernetes-client-typescript

Latest version **0.1.1** (published 2017-07-25) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @kubernetes/typescript-node
pnpm add @kubernetes/typescript-node
yarn add @kubernetes/typescript-node
bun add @kubernetes/typescript-node
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2017-07-25 |
| First published | 2017-07-23 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 9 |
| Known vulnerabilities | 0 (+5 in 3 direct dependencies) |
| Install scripts | no |
| GitHub stars | 11 |
| Author | Kubernetes Authors |
| Maintainers | mbohlool, brendandburns |
| Keywords | kubernetes, client |

## Links

- npm: https://www.npmjs.com/package/@kubernetes/typescript-node
- Repository: https://github.com/kubernetes-client/typescript
- Homepage: https://github.com/kubernetes-client/typescript#readme
- Issues: https://github.com/kubernetes-client/typescript/issues
- npm.io page: https://npm.io/package/@kubernetes/typescript-node

## Dependencies (9)

- [chai](https://npm.io/package/chai.md) ^4.1.0
- [mocha](https://npm.io/package/mocha.md) ^3.4.2
- [base-64](https://npm.io/package/base-64.md) ^0.1.0
- [js-yaml](https://npm.io/package/js-yaml.md) ^3.5.2
- [request](https://npm.io/package/request.md) ^2.72.0
- [shelljs](https://npm.io/package/shelljs.md) ^0.7.8
- [bluebird](https://npm.io/package/bluebird.md) ^3.3.5
- [jsonpath](https://npm.io/package/jsonpath.md) ^0.2.11
- [underscore](https://npm.io/package/underscore.md) ^1.8.3

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 0.1.1 (latest) — 2017-07-25
- 0.1.0 — 2017-07-23

## README

# typescript client for Kubernetes

[![Build Status](https://travis-ci.org/kubernetes-client/typescript.svg?branch=master)](https://travis-ci.org/kubernetes-client/typescript)

[Alpha] Typescript client for kubernetes

Needs lots of work...

# Installing
Install nodejs

```sh
# Typescript modules
sudo npm install -g typescript ts-node

# Required libraries for the client
sudo npm install -g request bluebird js-yaml base-64
```

# Example Code
```js
import config = require('./config');

let k8sApi = config.Config.defaultClient();

k8sApi.listNamespacedPod('default')
    .then((res) => {
        console.log(res.body);
    });
```

# Running via container

```console
$ docker run -v $HOME:/root -it brendanburns/ts-k8s
```

# Running locally
## With `ts-node`
```sh
ts-node example.ts
```

## With `tsc`
```sh
tsc example.ts
node example.js
```

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