How to set the package name of a compiled Js module

I am compiling some modules from kotlin to javascript but using the in javascript looks a bit ugly since I have to go into the whole scope of the organization domain to get the necessary class
Is there any solution please? I always have to use

let package= require("packageName")

I would like to set the package name in order to access directly to the class eg:

let package= require("packageName").ClassName```

Simply, in your Kotlin module, move all your files to the top level src/kotlin folder, instead of being in src/kotlin/com/company/package, and also remove the package at the top of each file.