How Export a Dae File

Hello Friends I’m working with an open source 3D editor (three.js) and I need to export a Collada File, the editor works with javascript
If any of you have this code or know the solution to my problem, I would appreciate it greatly

Three.js code
https://github.com/mrdoob/three.js

Hi Drager, did you figure out how to export a Collada file in three.js?