News for hackers. Stuff that matters.
Re:Propel – Machine learning for Javascript by angel_j on Monday February 26, 2018 @05:40PM (#16469649)
this project does not work out of the box via npm install. seems like you have to get all babel.js with it and maybe use a typescript executor like ts-node

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"

Re:Propel – Machine learning for Javascript by piscisaureus on Tuesday February 27, 2018 @06:33AM (#16472580)
Although propel itself is written in typescript, supporting users that want to write javascript is an explicit design goal. The npm package contains "vanilla" javascript that targets node.js 8.x and later.