… and it has remained like this until today.

In the meanwhile, my life got much more intricated; family, hobbies, the fact that I was trying to avoid sitting in front of a PC for 14hours/day… and all my side-projects went in the shady part of my hard-drive :-)

My developer life has always gone through phases; I start a project, I reach a “yeah-its-kindof-working” state, I abandon it, I feel bad and sorry, I grab it again, I refactor it… and like this over and over and over. Does it sound familiar to anyone? :-)

Now I’m in the “yeah-lets-refactor-it!” phase, so I decided to turn this project into an NPM package; in this way, I can still share my efforts with the community but I don’t have to worry about taking care of the server, the UI and everything that orbits around an actual web-app.

The NPM package is available here:

https://www.npmjs.com/package/nutrifacts

Nutrifacts.js is a library to extract and calculate nutrition facts, on several levels of detail; the library is capable of processing natural language strings and retrieving information using precise inputs (IDs or labels). It does work without interacting with 3rd-party services or remote Databases.

And here a couple of examples (if you want to see an example without running the code, just scroll a bit further down):