Zend certified PHP/Magento developer

Create an extension using Javascript

I am new to Magento development and finding the process a little overwhelming. I am a Javascript developer without any PHP experience. To help me get started I decided to Vue Storefront’s SDKs (using NextJS). So far it’s working great.

I would like to extend my store by creating an extension that I can share with other Magento developers in the future (ideally on Adobe marketplace). Can I create this using Javascript or do I have to write this in PHP?

The extension will be responsible for a few things, such as adding more functionality to products.

My initial thought was to create a NPM package using the magento-api package, would this be a way to create an extension?