I just published my first open source project. Here's what I've learnt.
Aizaz Khaja Aug 7 Updated on Aug 14, 2018
That it's one of the best ways to learn a technology you haven't worked with before.
I just published an npm package/tool that allows you to create static candlestick charts for financial data. All you have to do is plug in some JSON data, set some options and call the
draw() function on it. Check it out here: https://www.npmjs.com/package/candlestickcharts
In a matter of a week's worth of solid work, I managed to:
- Learn how to create an NPM package (after publishing it, this point feels like a cop out since it REALLY is not that difficult. The point is, sometimes we hesitate making progress because of the anticipated workload).
- How to accurately scale and plot a chart using HTML Canvas, from data provided in JSON.
Now to find out how much maintenance work is involved, maybe I'll make another post then 😉. In the mean time, I'm probably going to look into a new project - because let's face it, it's more fun to work on shiny new ideas than maintaining old ones. (Ha.)