mil-tokyo / tempura

Machine Learning Library for Sushi
http://mil-tokyo.github.io/tempura/
MIT License
47 stars 2 forks source link

Use NodeJs and browserify/NPM to compile files #55

Open Bondifrench opened 8 years ago

Bondifrench commented 8 years ago

I am surprised you are using Python to compile all the JS files from src, especially since for Sushi you are using Node and NPM already. If all your files were formatted as common.js, with NPM and browserify, you would need only one line in your package.json to compile: browserify src/tempura.js > /bin/tempura.js assuming that in your src/tempura.js you had required all the other ones. That would really simplify greatly the readability, since you have translated all the ML functions in javascript, why don't you use NodeJs (ie server side javascript)?

The following is a great article on how to use NPM as your build tool.