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!
One of the worst kept secrets about AJAX on the web is that the underlying API for it, XMLHttpRequest
, wasn't really made for what we've been using it for. We've done well to create elegant APIs around XHR but we know we can do better. Our effort to...
Back in late 2012 it was not easy to find open source projects using requestAnimationFrame()
- this is the hook that allows Javascript code to synchronize with a web browser's native paint loop. Animations using this method can run at 60 fps and deliver fantastic...
Yesterday I showed you WordPress' awesome JSON plugin named JSON API. Now that I can get my blog posts in JSON format, it's time to create an awesome AJAX'ed web app with that data. I've chosen to use the power of Dojo and Dijit to...
CodePen is an amazing source of inspiration for code and design. I am blown away every day by the demos users create. As you'll see below, I have an affinity toward things that move. It was difficult to narrow down my favorites, but here they are!
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