I am starting to use Package Library and defining functions in the library according to this article - Reuse scripts in Postman | Postman Docs
So far so good.
One thing I find cumbersome and repetitive is the step to import the package in each and every one of my requests with a const package = pm.require('…") and I was trying to see if I can do the import step at the collection level so that the package variable is available in all of my requests for that collection (or folder). I searched documentation but all I could find is references to using global functions and doing an eval in each request to request the global function (which is no different than doing an import in every request).
Is this capability possible?
Thanks