@discordx/koa

Discord server NPM version NPM downloads Build status paypal

Create a discord bot with TypeScript and Decorators!

📖 Introduction

This module is an extension of koa, so the internal behavior (methods, properties, ...) is the same

This library allows you to use TypeScript decorators on koa, it simplifies your code and improves the readability!

💻 Installation

Version 16.6.0 or newer of Node.js is required

npm install koa @koa/router @discordx/koa
yarn add koa @koa/router @discordx/koa

Install required types

npm install --save-dev @types/koa__router
yarn add --dev @types/koa__router

🆕 Features

  • @Router to create a router on class
  • Support multiple server in a single nodejs instance (@Api)
  • Support TSyringe
  • Support ECMAScript

📟

Generated using TypeDoc