Use Custom JS Packages in Automation Scripts?

Hi All,

Is it possible to install JS packages (using npm/yarn) such as lodash or a custom script that can be used in Automation scripts?

Thanks,

Tommy.