---
title: MAIN
project: jComponent V19
version: 19.194
section: reference
language: en
license: MIT
url: https://totaljs.es/docs/jcomponent-v19/19-194/reference/main/
updated: 2026-11-18T13:58:24.464Z
---

# MAIN

> The main object of the library and its names.

`MAIN` is the object that holds the state of the library. It is available under several names, and its members are described in [M](../m/). For the concepts behind it, read [Introduction](../../guides/introduction/).

## API

### MAIN

Type: `property`

The main object of the library.

All its members are described in [M](../m/).

Example: Read the version
```js
console.log(MAIN.version); // 19.194
```

### M

Type: `property`

A short name of `MAIN`.

Example: The same object
```js
console.log(M === MAIN); // true
```

### jComponent

Type: `property`

Another name of `MAIN`.

Example: The same object
```js
console.log(jComponent === MAIN); // true
```

### $.components

Type: `property`

The same object in the jQuery namespace.

Example: The same object
```js
console.log($.components === MAIN); // true
```
