Revert "remove the npmlog module"

This reverts commit cc6c45f674047286da81a7b04a6a91107a6ddb2b.