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!
![Send Text Messages with PHP]()
Kids these days, I tell ya. All they care about is the technology. The video games. The bottled water. Oh, and the texting, always the texting. Back in my day, all we had was...OK, I had all of these things too. But I still don't get...
![Write Better JavaScript with Promises]()
You've probably heard the talk around the water cooler about how promises are the future. All of the cool kids are using them, but you don't see what makes them so special. Can't you just use a callback? What's the big deal? In this article, we'll...
![Adding Events to Adding Events in MooTools]()
Note: This post has been updated.
One of my huge web peeves is when an element has click events attached to it but the element doesn't sport the "pointer" cursor. I mean how the hell is the user supposed to know they can/should click on...
![WebKit-Specific Style: -webkit-appearance]()
I was recently scoping out the horrid source code of the Google homepage when I noticed the "Google Search" and "I'm Feeling Lucky" buttons had a style definition I hadn't seen before: -webkit-appearance. The value assigned to the style was "push-button." They are buttons so that...
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