# Dependencies & Plugins

## Core Dependencies

Nectar mainly depends on one library — [Framework7](https://v7.framework7.io).

Besides this, Nectar also requires [jQuery](https://jquery.com), as following third-party jQuery based plugins are used in the project:

* [jQuery Validation](https://jqueryvalidation.org)
* [jQuery Marquee](https://github.com/aamirafridi/jQuery.Marquee)
* [Rate Yo!](https://rateyo.fundoocode.ninja)

We have also included a library [LazyLoad](https://github.com/rgrove/lazyload), which you can use to lazily load CSS and JS files on-the-fly.

| Dependency                                     | Version | Notes                                                                                                                                                                                                                                    |
| ---------------------------------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Framework7](https://v7.framework7.io)         | 7.1.5   | -                                                                                                                                                                                                                                        |
| [jQuery](https://jquery.com)                   | 3.6.3   | If you do not use any jQuery based plugin in your app, then you can remove jQuery. Framework7 comes with its own DOM manipulation library [Dom7](https://framework7.io/docs/dom7), which is similar to jQuery. You can use that instead. |
| [LazyLoad](https://github.com/rgrove/lazyload) | -       | This is used to lazily load other libraries and plugins, ie, only when they are required. Therefore, they are not directly loaded using \<link> or \<script> tag.                                                                        |

## Other Libraries & Plugins

To extend the functionalities of Framework7, Nectar uses some useful CSS, JavaScript and jQuery based plugins.

| Plugin                                                                                 | Version | Notes                                                                                                                                              |
| -------------------------------------------------------------------------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| [AlaSQL](https://alasql.org)                                                           | 2.5.3   |                                                                                                                                                    |
| [anime.js](https://animejs.com)                                                        | 3.2.1   |                                                                                                                                                    |
| [EasyQRCodeJS](https://github.com/ushelp/EasyQRCodeJS)                                 | 4.4.13  |                                                                                                                                                    |
| [EasyTimer.js](https://albert-gonzalez.github.io/easytimer.js)                         | 4.5.4   |                                                                                                                                                    |
| [Faker](https://fakerjs.dev)                                                           | -       | This is used to generate fake random data in Nectar. It might not be required in your app. Therefore you should remove its reference in index.html |
| [Fast Sort](https://github.com/snovakovic/fast-sort)                                   |         |                                                                                                                                                    |
| [FileSaver.js](https://github.com/eligrey/FileSaver.js)                                | 2.0.5   |                                                                                                                                                    |
| [Font Awesome](https://fontawesome.com)                                                | 6.2.1   |                                                                                                                                                    |
| [Framework7 Icons](https://framework7.io/icons)                                        | 5.0.5   |                                                                                                                                                    |
| [Framework7 Plugin — Keypad](https://github.com/framework7io/framework7-plugin-keypad) | 7.0.0   |                                                                                                                                                    |
| [highlight.js](https://highlightjs.org)                                                | 11.7.0  |                                                                                                                                                    |
| [i18next](https://www.i18next.com)                                                     | 22.4.9  |                                                                                                                                                    |
| [i18nextHttpBackend](https://github.com/i18next/i18next-http-backend)                  | 2.1.1   |                                                                                                                                                    |
| [loc-i18next](https://github.com/mthh/loc-i18next)                                     | 0.1.4   |                                                                                                                                                    |
| [jQuery Marquee](https://github.com/aamirafridi/jQuery.Marquee)                        | 1.6.0   |                                                                                                                                                    |
| [jQuery Validation](https://jqueryvalidation.org)                                      | 1.19.5  |                                                                                                                                                    |
| [Juxtapose](https://juxtapose.knightlab.com)                                           | 1.1.6   |                                                                                                                                                    |
| [Lottie Player](https://github.com/LottieFiles/lottie-player)                          | 1.7.0   |                                                                                                                                                    |
| [Material Icons](https://fonts.google.com/icons?selected=Material+Icons)               | -       |                                                                                                                                                    |
| [Moment.js](https://momentjs.com)                                                      | 2.29.4  |                                                                                                                                                    |
| [purePajinate](https://github.com/obuisard/purePajinate)                               | 1.0.2   |                                                                                                                                                    |
| [QR Scanner](https://github.com/nimiq/qr-scanner)                                      | 1.4.2   |                                                                                                                                                    |
| [Rate Yo!](https://rateyo.fundoocode.ninja)                                            | 2.3.5   |                                                                                                                                                    |
| [rss-parser](https://github.com/rbren/rss-parser)                                      | 3.12.0  |                                                                                                                                                    |
| [Shepherd](https://shepherdjs.dev)                                                     | 11.0.1  |                                                                                                                                                    |
| [Show More](https://github.com/tomik23/show-more)                                      | -       |                                                                                                                                                    |
| [Signature Pad](https://github.com/szimek/signature_pad)                               | 4.1.4   |                                                                                                                                                    |

{% hint style="info" %}
If you do not require any of the above third-party libraries or plugins in your app, then you should remove their reference from index.html
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://pmsgz.gitbook.io/nectar/getting-started/dependencies-and-plugins.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
