Open
Description
Currently, there's a local "fixer.js" containing the value-inference code.
If this was put in a separate module, other interfaces to this code could be written.
Normalization of all package data is one application.
Another application could be to make a "class" that takes package data in its constructor, than has methods to get the inferred/fixed value for any field.
pkgData = new PkgData rawPkgData
console.log pkgData.getBugsURL()
Sometimes normalizing all fields isn't needed. For example, in the code for npm bugs
command.
I do consider this a "nice to have". Far from critical.