maskurl

0.1.0 • Public • Published

maskurl

hide user password in a url for safe console and log output

installation

$ npm install maskurl

usage

var url = 'http://foo:dinosaurs@reptar.com/'

maskurl(url)
// => http://foo@reptar.com/

license

MIT. (c) 2013 jden jason@denizac.org. See LICENSE.md.

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i maskurl

    Weekly Downloads

    3

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators