
This plugin is for Joomla developers. The plugin registers Fabric.js package in Joomla Web Assets Manager. It allows you to use Fabric.js anywhere in Joomla 4: into modules, components, plugins.
To do this in your code, use
use Joomla\CMS\Factory;
$wa = Factory::getApplication()->getDocument()->getWebAssetManager();
$wa->useScript('fabric-bundle');
Read more https://extensions.joomla.org/browse/new/extension/wt-fabric-js