https://github.com/redraskal/bun-docker
TypeScript Docker API for Bun using unix sockets.
https://github.com/redraskal/bun-docker
bun colima docker typescript unix-socket
Last synced: 3 months ago
JSON representation
TypeScript Docker API for Bun using unix sockets.
- Host: GitHub
- URL: https://github.com/redraskal/bun-docker
- Owner: redraskal
- License: mit
- Created: 2023-07-17T06:38:03.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-23T00:52:10.000Z (almost 2 years ago)
- Last Synced: 2023-07-23T01:54:46.339Z (almost 2 years ago)
- Topics: bun, colima, docker, typescript, unix-socket
- Language: TypeScript
- Homepage:
- Size: 188 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bun-docker
TypeScript Docker API for Bun using unix sockets.
- API generated with [openapi-typescript](https://github.com/drwpow/openapi-typescript)
- Supports [colima](https://github.com/abiosoft/colima) for macOS/Linux[Latest Docker API spec](https://docs.docker.com/engine/api/latest)
```ts
import createDockerClient from "bun-docker";const { get } = await createDockerClient();
const { data, error } = await get("/info", {});console.log(data);
console.log(error);
``````bash
bun i redraskal/bun-docker#main
```This project was created using `bun init` in bun v0.6.15. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.