is there a way to code a library using JS that works In microscript

I have had trouble making soft body's before so I want to help others by making a soft body library to make soft body's easier to utilize. I coded my soft body sim in JS because that's my prefered language but I know most people code using microscript.