Official SDK Libraries

For the best developer experience, we recommend using our official SDKs. They handle complex tasks like chunked uploads, automatic retries, and TypeScript type safety out of the box.

Node.js / TypeScript SDK

The @nulldrop/sdk is the primary library for JavaScript and TypeScript environments.

Installation

npm install @nulldrop/sdk

Basic Usage

import { NullDrop } from '@nulldrop/sdk'

const client = new NullDrop({
  apiKey: 'YOUR_API_KEY',
})

const file = await client.upload('./my-photo.jpg')
console.log('File shared at:', file.shareUrl)

Other Languages (WIP)

We are actively working on native SDKs for other languages (Go, Python, etc.). All official libraries will be published under the @nulldrop namespace and follow the ecosystem-specific naming conventions.

Follow our progress and explore the source code on GitHub:

Null Tools Open on GitHub

Technical Documentation

For a complete reference of all API endpoints and SDK methods, visit our dedicated developer portal:

docs.nulldrop.xyz