Selling a p5.js code

Hello

I know very little of MIT licensing.

I got two questions.

First: Am I allowed to sell my processing.js or p5.js project without any trouble? I’m not talking about p5.js library; only the source code of the app I developed.

And second, can I use p5.js on commercial projects e.g making a game or a tool and exporting it as a hybrid app for iOS or Android, or perhaps for web browsers without featuring it in the app?

What problems may I encounter?

The code you write is yours only.

As long as you don’t change the p5.js source itself you’re clear AFAIK.