strip-url-auth
v2.0.0
Published
Strip the authentication part of a URL
Downloads
407,638
Maintainers
Readme
strip-url-auth
Strip the authentication part of a URL
Install
$ npm install strip-url-auth
Usage
import stripUrlAuth from 'strip-url-auth';
stripUrlAuth('https://user:[email protected]');
//=> 'https://sindresorhus.com'