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.

1 Like

I’m searching for an answer to the same question

You can search for npm on this forum but here’s an explanation re: node.js from @kerrishotts:

1 Like

See also these pages in the documentation:
JavaScript support - Can I use npm packages or Node.js APIs? and
API environment - Not a browser and not Node.js.

These should show up if you search docs for “npm package” or “Node.js”.

I used Rollup to bundle a module and it worked perfectly.

1 Like