blurl
v0.0.4
Published
blurring password in url
Downloads
10
Readme
blurl
blurring password in url
Install
npm i blurl
Usage
const blurl = require('blurl');
blurl('http://user:[email protected]')
// returns 'http://user:********@www.site.ru'
blurl('http://user:[email protected]', {blurPassword: false})
// returns 'http://user:[email protected]'
blurl('http://user:[email protected]', {blurPassword: [1, 2]})
// returns 'http://user:p*****[email protected]'
License
MIT