use import function on library javascript code example
Example: javascript import
import { module } from "./path"; // single module
import Module from "./path"; // default export
import Module, { module } from "./path"; // both
import { module } from "./path"; // single module
import Module from "./path"; // default export
import Module, { module } from "./path"; // both