h2non / node-imaginary

Minimalist node.js command-line & programmatic API client for imaginary

Home Page:https://github.com/h2non/imaginary

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update to ES6 class syntax

krazyjakee opened this issue · comments

How do you feel about this?

It would certainly improve readability.

commented

Absolutely! Especially now since recent node.js supports almost the full ES6 language syntax (however, I want to provide support for old node.js versions too, so a transpiler must be used).

Refactoring it is just a matter of time and priorities. If you are genuinely interested, I will accept any PR that introduces any enhancement in this sense.

My latest pull request concludes the best start for the es6 update. I will open new issues for any other enhancements we can now do (promises etc).

commented

Done!