Magento 2 Code can be run externally using include ('app/bootstrap.php). After loading , we can create create $objectManager to load different model.
Is it possible to load Magento javascript library/js widget ?
For exemple payment integration is using js library to encrypt sensitive data and I want to run this logic in my external code.
Can I run the js library which is implemented as a method renderer js?
Adyen payement example
https://github.com/Adyen/adyen-magento2/blob/6.0.0/view/frontend/web/js/view/payment/method-renderer...
Thanks in advance