Cómo importar el módulo de ruta en el modo JS

const path = require('path');
Tough Tarsier