normalize-package-data
normalize-package-data copied to clipboard
[QUESTION] Remove unkown fields?
Currently, the code corrects known fields, but leaves unknown fields alone. Is it a goal to give people the ability to put arbitrary fields in package.json?
Another option is to warn about any unknown field. An unknown field could indicate a typo that is not hard-coded into the module.
Or both warn and remove.