Nodular Pudding Multiverse
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

strip-url-auth

1.0.1 • Public • Published

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

install

npm i strip-url-auth

Downloadsweekly downloads

34,179

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability