Convertir Node.js en es6

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