I recently embarked in a journey of brining together some technologies that I have worked with. That being Node, Notion, and iOS shortcuts.
With the release of the notion api I wanted to create my own custom shortcuts to fit my own needs.
I found out that Scriptable on iOS let’s you run JavaScript meaning that if somehow I’m able to get a node module in more of a plain js form (no use of require for example) then I could run it on scriptable hence the journey I have embarked on.
So far I have discovered browserify and someone created a way trying to use a browserify as a service website however it seems to be down now.
I tried running browserify using the standalone flag but it fails to execute because browserify exposes the package inside of global namespace (say for example window) since it’s intended to be run on a browser.
I would appreciate if someone could offer pointers to be able to transform the notion sdk into something that can be imported into scriptable.