how to import third party modules like a folder in cocos2d js

I have written modules for Facebook, Ads , Onesignal and etc… which i was using for other projects with other engines and frameworks, I would like to use the same again in cocos2djs, Is there any easiest way possible for this? Just like (import facebook) and use this?