New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@goofmint/dok-sdk

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@goofmint/dok-sdk

Dok SDK

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

DOK SDK

SDK for DOK that is container GPU cloud service.

CodeRabbit Pull Request Reviews

Usage

npm install @goofmint/dok-sdk

Test

npm test

Supported API

  • Tasks
    • Get tasks
    • Get task
    • Create task
    • Delete task
    • Cancel task
    • Get download URL
    • Get log stream websocket URL
  • Container Registry
    • Get container registries
    • Get container registry
    • Create container registry
    • Delete container registry
    • Update container registry
  • Artifacts
    • Get artifacts
    • Get artifact
    • Get artifact download URL
  • Plan
    • Get plans
  • Cost
    • Get costs
    • Get cost by plan

Sample Code

Initialize DOK client

import DOK from '@goofmint/dok-sdk';

const dok = new DOK({
  accessToken: process.env.ACCESS_TOKEN,
  accessTokenSecret: process.env.ACCESS_TOKEN_SECRET,
});

Get tasks

const { tasks, meta } = await dok.tasks();

Get task

const task = await dok.task(taskId);

Get artifacts

const { artifacts, meta } = await dok.artifacts();

License

MIT

FAQs

Package last updated on 15 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts