url-safe
returns a url w/o the auth part for safe logging
Last updated 11 years ago by boennemann .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm 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 (11 years ago)

3 Versions

  • 2.0.0                                ...           11 years ago
  • 1.0.1                                ...           12 years ago
  • 1.0.0                                ...           12 years ago
Maintainers (1)
Downloads
Total 20
Today 0
This Week 1
This Month 16
Last Day 0
Last Week 7
Last Month 4
Dependencies (0)
None
Dev Dependencies (2)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE