import path nodejs

JavaScript
const path = require('path')
Source

Also in JavaScript: