sfcode
An Online Competing and Development Environment
strip-url-auth Build Status

Strip the authentication part of a URL

Install

$ npm install --save strip-url-auth

Usage

var stripUrlAuth = require('strip-url-auth');
stripUrlAuth('https://user:pass@sindresorhus.com');
//=> 'https://sindresorhus.com'

License

MIT © Sindre Sorhus