2.0.0 • Published 3 years ago

strip-url-auth v2.0.0

Weekly downloads
187,256
License
MIT
Repository
github
Last release
3 years ago

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:pass@sindresorhus.com');
//=> 'https://sindresorhus.com'