import 'helpers'
//aka: require('···')
import Express from 'express'
//aka: const Express = require('···').default || require('···')
import { indent } from 'helpers'
//aka: const indent = require('···').indent
import *as Helpers from 'helpers'
//aka: const Helpers = require('···')
import { indentSpaces as indent } from 'helpers'
//aka: const indent = require('···').indentSpaces
import
is the new require()
.
See: Module imports
Useful links
Top comments (0)