Please or Register to create posts and topics.

Add new JS library to Script Block

What are the libraries that can be added to the script block and how can I add a new library?

There is no library ecosystem. There are the functions available in the documentation and some core Javascript functions on top.

You can put your own javascript files in %AppData%\Roaming\Aaronia AG\Aaronia RTSA-Suite PRO\blocks\scripts and import objects in a script block, but that is about it.

for example, I would like to use X library and I have to install with "npm". How can I do it?

As said, there is no library ecosystem. You could try to import things from a .js file, but it is very unlikely that code intended for use in browsers or with Node.js will work.