I have created a program that creates company profiles by extracting data from several rest api's, web scraping and so on. I Just came across node-red and I wanted to use it to visualize the steps that my code does when data flows through and gets enriched.
The code is written as an ES6 module and I use: import { myfunction} from "mymodule"; I also use the module in the nextjs part of my system so I can't just rewrite it to javascript.
I'd like to use functions from my library/module in node-red. Tried to set "type": "module" in package.json But that did not work. There must be some best practices to do this. I find it hard to believe that es6 modules cannot be used with node-red.
I have fixed the link. But I think I have misinterpreted the question, and therefore I have a feeling you will be very disappointed after opening my link...