how to import path in es6 modules code example Example: import path nodejs const path = require('path')