impossible import class js in other js node code example
Example 1: javascript import
import { module } from "./path"; // single module
import Module from "./path"; // default export
import Module, { module } from "./path"; // both
Example 2: import all from javascript
import * as module from "./module.js";