How to Convert .OBJ file to .JS file

You can also import the file in the editor and then use one of the export options. In this way, you always work with the latest version of three.js.