Was this not working for you? What version of NPM are you using?