It's a nice idea in theory, but I think it's ultimately impractical and/or biased to certain developers.
For instance you want to donate to Babel. Well the babel-core npm package uses 6 3rd party open sourced npm packages, at the time of writing this. Are you also going to donate to those developers or will you hope the Babel devs pass it along?
Then those npm packages babel-core use could also be using even more open source npm packages. You could be looking at potentially hundreds of open source npm packages in any given project.
Don't get me wrong, it's a nice idea, but I see it only being a thing for the bigger more popular open source projects. While the smaller ones will be ignored.
If there was a way to make sure everyone get's their fair share, this would be a great idea.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.