node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »

os-url

os-url

A node.js utility

Installation

npm install os-url

API

use as a module..

var link = require('os-url')
 
link('github', function(err, data) {
  if (err) return console.error(err)
  console.log(data)
})

or from the command line..

node index.js 'github'
 
//output is: 
https://github.com/ 

License

MIT