Skip to main content

What is Sorionlib?

Sorionlib is a powerful JavaScript/TypeScript library designed to simplify common development tasks. It provides a unified toolkit for building applications with features like API clients, Discord bot tools, database helpers, and core utilities.

Get started

Follow our quickstart guide to start using Sorionlib in minutes.

Installation

npm install sorionlib

Quick example

import { Sorion } from "sorionlib";

const client = new Sorion({
  logging: true,
  prefix: "!"
});

client.start();

Features

Core utilities

Helper functions for strings, arrays, objects, dates, and more.

API client

Built-in HTTP client with authentication, retries, and error handling.

Discord tools

Command builder, event system, and middleware for Discord bots.

Database helpers

Simplified connections and CRUD operations for MongoDB and MariaDB.

Learn more

Installation

Detailed installation instructions and requirements.

Configuration

Configure Sorionlib for your project.

Advanced guides

Custom modules, performance optimization, and async patterns.

FAQ

Answers to frequently asked questions.

Community

Join our Discord

Get help, share your projects, and connect with other developers.