How to build a NPM/Yarn package for a collection of TFJS functions to run in WebApps (not node.js)

Hello, does anyone know how to put TFJS for WebApp (client side) into a NPM/Yarn package. The TFJS dependency seems yo assume that models would run on node.js (client side). I have not much clue about the JS stuff. Does anyone have boilerpkatebcode for this?

Hi @ulf1 ,

You can use the express npm package to create a web app in Node.js. Inside this app, you can use tfjs to run or build machine learning models for your web application. You can find example code using express here. For tfjs examples, you can follow this link here.

Let me know if it helps. Thank You!!