# url-safe

> returns a url w/o the auth part for safe logging

Latest version **2.0.0** (published 2015-07-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install url-safe
pnpm add url-safe
yarn add url-safe
bun add url-safe
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2015-07-23 |
| First published | 2015-01-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Stephan Bönnemann |
| Maintainers | boennemann |
| Keywords | url, safe, logging, filter |

## Links

- npm: https://www.npmjs.com/package/url-safe
- Repository: https://github.com/boennemann/url-safe
- Issues: https://github.com/boennemann/url-safe/issues
- npm.io page: https://npm.io/package/url-safe

## Alternatives

- [cli-color](https://npm.io/package/cli-color.md) — 3.4M weekly downloads
- [log](https://npm.io/package/log.md) — 1.3M weekly downloads
- [logstash-client](https://npm.io/package/logstash-client.md) — 4.5K weekly downloads
- [@nocobase/plugin-logger](https://npm.io/package/@nocobase/plugin-logger.md) — 2.0K weekly downloads
- [child-process-debug](https://npm.io/package/child-process-debug.md) — 695 weekly downloads

## Recent versions

- 2.0.0 (latest) — 2015-07-23
- 1.0.1 — 2015-01-18
- 1.0.0 — 2015-01-18

## README

# url-safe
[![Build Status](https://travis-ci.org/boennemann/url-safe.svg)](https://travis-ci.org/boennemann/url-safe)
[![Coverage Status](https://coveralls.io/repos/boennemann/url-safe/badge.svg?branch=master&service=github)](https://coveralls.io/github/boennemann/url-safe?branch=master)
[![Dependency Status](https://david-dm.org/boennemann/url-safe.svg)](https://david-dm.org/boennemann/url-safe)
[![devDependency Status](https://david-dm.org/boennemann/url-safe/dev-status.svg)](https://david-dm.org/boennemann/url-safe#info=devDependencies)
[![npm version](https://badge.fury.io/js/url-safe.svg)](http://badge.fury.io/js/url-safe)

`npm i -S url-safe`

```js
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
```

---
_Source: https://npm.io/package/url-safe · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
