camellia.js

0.0.1 • Public • Published

Camellia

- The respectful Node.js Discord library -

About

Camellia is a Discord library built in JavaScript for practical and advanced measures, enforcing and upholding performance and speed over true consistency, built in a way like C is. Rather than relying heavily on other modules, it creates its own advantages in performance by using home made and native solutions. "Native" in our sense is defined as "utilizing its own code rather than external modules", preferrably using our own solutions than others, to optimize and maintain our iterations of such.

Camellia aims to be feature-rich, while balancing abstraction and performance along in the mix. Utilizing promises for prominent speeds with responses, and lessening the overall load on a developer by providing advanced coverage of the Discord API and it's features.

In short: This project aims to provide a viable and advanced alternative to discord.js and eris, much like when discordie was at it's prime.

Why use Camellia?

  • Object/Function-oriented calls
  • Performant and capable
    • Fitted heavily for server-usage
  • Advanced features
  • Easy control over code
  • Asynchrous methods

Installation

Node.js v14 or higher is required for this library.

As this library is in heavy beta, the only true way to install it is through it's development builds.

npm i camelliajs/camellia

Optional Packages

As of writing this, there are currently no optional packages. Most of the would-be optional packages are necessities towards building speed with the library.

Example code

const Camellia = require("@camelliajs/camellia");
const bot = new Camellia.Client();

client.on("ready", () => {
    console.log("Ready for usage!");
});

client.on("message", (msg) => {
    if (msg.content === "!ping") {
        msg.channel.send("Pong!");
    }
});

client.connect("token");

Links

Package Sidebar

Install

npm i camellia.js

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

116 kB

Total Files

41

Last publish

Collaborators

  • suiika