import all js code example
Example 1: alias import javascript
import {default as alias} from 'my-module';
Example 2: import all from javascript
import * as module from "./module.js";
import {default as alias} from 'my-module';
import * as module from "./module.js";