import module es 6 code example Example 1: alias import javascript import {default as alias} from 'my-module'; Example 2: es6 module syntax es6 module syntax