Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/boennemann/url-safe
https://github.com/boennemann/url-safe
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/boennemann/url-safe
- Owner: boennemann
- Created: 2015-01-17T23:55:03.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-10-25T17:06:25.000Z (about 8 years ago)
- Last Synced: 2024-10-13T18:29:15.965Z (2 months ago)
- Language: JavaScript
- Size: 16.6 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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:[email protected]'))
// http://example.comconsole.log(s('http://user:[email protected]', '***'))
// http://***@example.com
```