Convertir Node.js a ES6

//node js
const namee = require("name")
//es6
import namee from 'name'
Dentetsu