SDKs
LoonFS SDKs for TypeScript, Python, and Go and a Bash-like interface.
LoonFS offers SDKs auto-generated from the same OpenAPI spec behind the HTTP API. Each SDK includes typed operations (and errors) as well as helpers for uploading and downloading files.
SDKs broadly serve three use cases:
- Server: trusted server-side code that connects directly to LoonFS
- Client: untrusted application code that talks through a proxy
- Proxy: backend request proxies between clients and LoonFS
SDK v0.4.x targets LoonFS API v0.4.x.
| SDK | Server | Client | Proxy |
|---|---|---|---|
| TypeScript | @loonfs/sdk/server | @loonfs/sdk/client | @loonfs/sdk/proxy |
| Python | loonfs.server | — | loonfs.proxy |
| Go | github.com/loonfs/loonfs-sdk-go/server | — | github.com/loonfs/loonfs-sdk-go/proxy |
Just Bash
Section titled “Just Bash”@loonfs/just-bash is a Bash-like interface for working with files in a LoonFS namespace.
npm install @loonfs/just-bash