New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

speakingurl

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

speakingurl - npm Package Compare versions

Comparing version 0.1.2 to 0.1.5

7

package.json
{
"name": "speakingurl",
"version": "0.1.2",
"description": "Generate of so called 'static' or 'nice-looking' or 'SpeakingURL' from a string.",
"version": "0.1.5",
"description": "Generate of so called 'static' or 'nice-looking' or 'SpeakingURL' or 'slug' from a string.",
"keywords": [

@@ -11,3 +11,4 @@ "speakingUrl",

"static url",
"nice looking URL"],
"nice looking URL",
"slug"],
"author": {

@@ -14,0 +15,0 @@ "name": "Sascha Droste",

@@ -1,10 +0,13 @@

[![Build Status](https://travis-ci.org/pid/speakingurl.png)](https://travis-ci.org/pid/speakingurl)
[![Build Status](https://travis-ci.org/pid/speakingurl.png)](https://travis-ci.org/pid/speakingurl) [![NPM version](https://badge.fury.io/js/speakingurl.png)](http://badge.fury.io/js/speakingurl)
# Speaking URL
Generate of so called "static" or "nice-looking" or "SpeakingURL" from a string.
Generate of so called "static" or "nice-looking" or "SpeakingURL" or "slug" from a string.
Converting table taken from
https://github.com/yvg/js-replace-diacritics & https://github.com/dypsilon/js-replace-diacritics (AMD)
## Contribution
The current state is definitely not complete - we need you to improve it!
started with the transformation table taken from https://github.com/dypsilon/js-replace-diacritics (AMD)
## Installation

@@ -28,20 +31,18 @@

var makeUrl = require('speakingurl'),
var makeSlug = require('speakingurl'),
url, string;
string = "Möchtest du eine schöne URL?";
slug = makeSlug(string);
console.log(slug); // Output: moechtest-du-eine-schoene-url
url = makeUrl(string);
console.log(url); // Output: moechtest-du-eine-schoene-url
string = "Première neige repéré!!";
url = makeUrl(string);
slug = makeSlug(string);
console.log(slug); // Output: premiere-neige-repere
console.log(url); // Output: premiere-neige-repere
```
## License
[BSD](https://github.com/pid/speakingurl/blob/master/LICENCE)
[BSD](https://raw.github.com/pid/speakingurl/master/LICENCE)

@@ -59,2 +60,2 @@ The BSD 3-Clause License (BSD3)

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc