Add JS to text or way to add codeblocks

I want to add JS to create codeblocks

Hi, not sure I quite follow. Do you mean you want to use JavaScript in the Studio editor interface? The best way to programmatically work with video editing is using our SDK’s.

We have one for Node.js SDK here available as an npm module: shotstack-sdk - npm

And a bunch of examples here which use it: GitHub - shotstack/node-demos: Shotstack Node demos - Edit videos in the cloud with Node and the Shotstack Video Editing API