converter node.js em ES6

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