From 6405d98781e3413f7550663710e13842ef5c19ca Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Fri, 15 Nov 2013 17:20:35 +0100 Subject: .aliases: Add `npme` `npme` is like `npm` except it uses a registry located in Europe, causing it to be much faster for Europeans. See for more information. Closes #284. --- .aliases | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.aliases b/.aliases index 99dca7a..b398852 100644 --- a/.aliases +++ b/.aliases @@ -144,3 +144,6 @@ alias afk="/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resource # Reload the shell (i.e. invoke as a login shell) alias reload="exec $SHELL -l" + +# Faster npm for europeans +command -v npm > /dev/null && alias npme="npm --registry http://registry.npmjs.eu" -- cgit v1.2.3