Add the NPM package `htmlhint`, at version 0.9.13, as `nodePackages.htmlhint`. I have tested this package per nixpkgs manual section 10.1 ("Making patches").