dockerode-ts
Version:
Dockerode wrapped in TypeScript
33 lines (24 loc) • 791 B
Markdown
[](https://github.com/apocas/dockerode) wrapped in TypeScript
The dockerode library is great and has quite a large API surface.
I found myself frequently referring to the source code of `dockerode` since the documentation is not complete.
This is an effort to statically type that API surface which is another form of documentation.
You can view them [here](https://github.com/Seikho/dockerode-ts/blob/master/dockerode.d.ts)
- TypeScript (1.8+)
- NodeJS
```
npm install dockerode-ts
```
```ts
import Dockerode from 'dockerode-ts';
const docker = new Dockerode({ /** options... */ });
```
- Most callbacks are typed as `any`. These should be typed correctly.
MIT