fix(core): update
This commit is contained in:
@@ -23,8 +23,16 @@ PackagePhobia (package size on registry) | [ | [](https://lossless.cloud)
|
||||
|
||||
## Usage
|
||||
Use TypeScript for best in class intellisense
|
||||
For further information read the linked docs at the top of this readme.
|
||||
A modern approach to talking to the hetzner API.
|
||||
|
||||
```typescript
|
||||
import hetznerCloud from '@apiclient.xyz/hetznercloud'
|
||||
const myhetznerAccount = new hetznerCloud.HetznerAccount('myToken');
|
||||
const servers = const myhetznerAccount.getServers();
|
||||
for (const server of servers) {
|
||||
await server.delete();
|
||||
}
|
||||
```
|
||||
|
||||
## Legal
|
||||
> MIT licensed | **©** [Task Venture Capital GmbH](https://task.vc)
|
||||
|
||||
Reference in New Issue
Block a user