Faster npm
Good news! npm was updated in January and this is no longer an issue!
npm is the premier package repository on the web and we all use it a ton, obviously. npm has started using basic progress bar graphics to notify users of download progress, which is nice, but appears to slow down the entire process. This tweet blew my mind:
Executing the following before an npm install
dramatically speeds up the process:
npm set progress=false
You wont see a beautiful progress bar but you will get faster installs which, in my opinion, is an excellent trade off!
![7 Essential JavaScript Functions]()
I remember the early days of JavaScript where you needed a simple function for just about everything because the browser vendors implemented features differently, and not just edge features, basic features, like addEventListener
and attachEvent
. Times have changed but there are still a few functions each developer should...
![Chris Coyier’s Favorite CodePen Demos]()
David asked me if I'd be up for a guest post picking out some of my favorite Pens from CodePen. A daunting task! There are so many! I managed to pick a few though that have blown me away over the past few months. If you...
![Detect DOM Node Insertions with JavaScript and CSS Animations]()
I work with an awesome cast of developers at Mozilla, and one of them in Daniel Buchner. Daniel's shared with me an awesome strategy for detecting when nodes have been injected into a parent node without using the deprecated DOM Events API.
![MooTools & Printing – Creating a Links Table of Contents]()
One detail we sometimes forget when considering print for websites is that the user cannot see the URLs of links when the page prints. While showing link URLs isn't always important, some websites could greatly benefit from doing so. This tutorial will show you...
The problem was fixed in 3.7.0 back in January. https://github.com/npm/npm/blob/master/CHANGELOG.md#v370-2016-01-29
I think it’s worth mentioning that these settings are saved in a dotfile
~/.npmrc
that can be backed up easily. Automating the machine setup ftw! :D