url-safe
returns a url w/o the auth part for safe logging
Last updated 5 years ago by boennemann .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install url-safe 
SYNC missed versions from official npm registry.

url-safe

Build Status Coverage Status Dependency Status devDependency Status npm version

npm i -S url-safe

var s = require('url-safe')

console.log(s('http://user:pass@example.com'))
// http://example.com

console.log(s('http://user:pass@example.com', '***'))
// http://***@example.com

Current Tags

  • 2.0.0                                ...           latest (5 years ago)

3 Versions

  • 2.0.0                                ...           5 years ago
  • 1.0.1                                ...           6 years ago
  • 1.0.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 4
This Week 8
This Month 8
Last Day 3
Last Week 24
Last Month 85
Dependencies (0)
None
Dev Dependencies (2)

Copyright 2014 - 2016 © taobao.org |