This took me way longer than it should have to work this out as I'm not a iOS developer so this may help someone. I was trying to make a wrapper plugin for OSCKit so I could use it in my Ionic / Capacitor App.
As per usual (~May 2025)
npm init @capacitor/plugin
cd capacitor-osckit
npm install