# NPM Library

## 📦 What is discloud.app?

**discloud.app** is the official **Node.js** library for interacting with the **Discloud API**. This powerful library allows you to programmatically manage your applications, perform uploads, monitor status, control app lifecycle, and much more, all from your JavaScript or TypeScript projects.

## ✨ Key Features

<table data-column-title-hidden data-view="cards"><thead><tr><th align="center"></th><th align="center"></th></tr></thead><tbody><tr><td align="center"><strong>🚀 Application Management</strong></td><td align="center">Upload, update, start, stop, restart, and delete your applications with simple API calls.</td></tr><tr><td align="center"><strong>📊 Real-time Monitoring</strong></td><td align="center">Get application status, view logs, check resource usage, and monitor performance metrics.</td></tr><tr><td align="center"><strong>👥 Team Management</strong></td><td align="center">Manage application moderators, permissions, and collaborative access controls.</td></tr><tr><td align="center"><strong>⚙️ Advanced Configuration</strong></td><td align="center">Handle RAM allocation, APT packages, environment variables, and custom settings.</td></tr><tr><td align="center"><strong>📁 File Operations</strong></td><td align="center">Support for multiple file formats including streams, buffers, and direct file paths.</td></tr><tr><td align="center"><strong>🔒 Secure Authentication</strong></td><td align="center">Built-in token management and secure API communication with error handling.</td></tr></tbody></table>

## 🔗 Useful Links

* **📖** [**API Documentation**](/en/api-and-integrations/api-overview.md) - Complete TypeDoc documentation
* **🐙** [**GitHub Repository**](https://github.com/discloud/discloud.app) - Source code and issues
* **📦** [**NPM Package**](https://www.npmjs.com/package/discloud.app) - Download and version info

## 🚀 Quick Start

Ready to get started? Check out our comprehensive guides:

<table data-card-size="large" data-view="cards"><thead><tr><th data-card-target data-type="content-ref"></th><th align="center"></th><th data-hidden></th><th data-hidden></th><th data-hidden></th></tr></thead><tbody><tr><td><a href="/pages/cL2plcUwCjIHoDYXOaMK">/pages/cL2plcUwCjIHoDYXOaMK</a></td><td align="center">Learn how to install, configure, and authenticate with the library.</td><td></td><td></td><td></td></tr><tr><td><a href="/pages/ncQuTH4u6fNNDPPDRF0t">/pages/ncQuTH4u6fNNDPPDRF0t</a></td><td align="center">Explore practical examples and common use cases for all library features.</td><td></td><td></td><td></td></tr></tbody></table>

## 📋 Prerequisites

Before using the discloud.app library, ensure you have:

✅ **NPM, Yarn, PNPM, or Bun** package manager\
✅ **Discloud API Token** ([Find out how to obtain yours here](/en/faq/general-questions/how-can-i-get-my-discloud-api-token.md))

## 💡 Why Use discloud.app?

Whether you're building **automation scripts**, **CI/CD pipelines**, **monitoring dashboards**, or **administrative tools**, the discloud.app library provides:

* **🎯 Simple & Intuitive API** - Clean, promise-based interface that's easy to learn
* **⚡ High Performance** - Optimized for speed with efficient request handling
* **🛡️ Error Handling** - Comprehensive error management and debugging support
* **🔄 Active Development** - Regular updates

***

## 🆘 Need Help?

If you encounter any issues or have questions:

* 📖 Check the [**Usage Examples**](/en/sdks-and-libraries/npm-library/usage-examples.md) for common scenarios
* 🐛 Report bugs on [**GitHub Issues**](https://github.com/discloud/discloud.app/issues/new?template=bug.yml)
* 💬 Join our [**Discord Community**](https://discord.discloudbot.com)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.discloud.com/en/sdks-and-libraries/npm-library.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
