Browse By

Tag Archives: npm

npm config delete prefix

  It turns out that if you are an NVM package (fantastic tool for switching between nodejs versions) user in macOS you will come across at some point to the following error message when you open a bash or zsh terminal npm config delete prefix or nvm use –delete-prefix

Alexa Rank node package

A simple node package to get Alexa traffic rank for a domain or URL. Install the module : npm install -g alexarank Usage example Using the module is pretty straightforward : var alexa = require(‘alexarank’); alexa(“http://www.devacron.com/”, function(error, result) { if (!error) { console.log(JSON.stringify(result)); } else