App Methods
Documentation Not Yet Completed
- This document is under construction.
GalataJS already offers several functions for better usability and it is entirely up to you whether to use them or not.
These are listed and explained under the following headings.
use
It is used to register a third party plugin to the application. Here is the abstract and a small example
abstract
type use = (plugin: Plugin, ...options: any[]) => this;
example
app.use(anyPlugin, {
option1: "value1",
option2: "value2"
});