I am trying to build a plugin for Adobe XD. I'd like to use some npm packages along with some Node.js APIs inside my code. Would this be possible?
Javascript support page says you may be able use some npm packages (some might require webpack). However, Node.js apis are not supported.
Can I use npm packages or Node.js APIs?
You may be able to use some npm packages without modification, but chances are good that you’ll need to use webpack or rollup in order to generate a bundle.
Node.js APIs themselves are not supported.