Can you write your own custom extensions without them being a node module / on npm?

Hey,

I’ve written a custom JS function that acts as a ‘mini algorithm’ on a set of data. Currently its just running client side but I’d like to move it server side and use it through the Wappler Extensions.

I’ve already got a couple of custom extensions, but they are all based on available NPM packages that have already been installed in the node_modules folder.

My question, Can i still create a custom NodeJS Wappler Extension, but just use my own JS code? Or does it need to be written and packaged up as a node module first?

NB. I’m semi-familiar with the two files used to create the Wappler Extension (the HJSON and the JS config file) its just my only examples have all been based on existing node modules.,

Community Page
Last updated: