by angel_j · 8y ago · 0 comments
ES2015 imports took javascript back to 2008, before node and npm made it awesome.
use NPM and require if you are building tools for other people, that way they can implement your work without adding compilers and obscure configurations to their build. don't nobody want to use be forced to use alternative and backwards incompatible technology
use typescript and import for "business logic"