speakingurl
Advanced tools
Comparing version 0.2.17 to 0.2.18
{ | ||
"name": "speakingurl", | ||
"version": "0.2.17", | ||
"version": "0.2.18", | ||
"description": "Generate of so called 'static' or 'Clean URL' or 'Pretty URL' or 'nice-looking URL' or 'Speaking URL' or 'user-friendly URL' or 'SEO-friendly URL' or 'slug' from a string.", | ||
@@ -5,0 +5,0 @@ "main": "speakingurl.min.js", |
@@ -5,3 +5,3 @@ { | ||
"description": "Generate of so called 'static' or 'Clean URL' or 'Pretty URL' or 'nice-looking URL' or 'Speaking URL' or 'user-friendly URL' or 'SEO-friendly URL' or 'slug' from a string.", | ||
"version": "0.2.17", | ||
"version": "0.2.18", | ||
"keywords": [ | ||
@@ -8,0 +8,0 @@ "slug", |
{ | ||
"name": "pid/speakingurl", | ||
"version": "0.2.17", | ||
"version": "0.2.18", | ||
"type": "library", | ||
@@ -5,0 +5,0 @@ "description": "Generate of so called 'static' or 'Clean URL' or 'Pretty URL' or 'nice-looking URL' or 'Speaking URL' or 'user-friendly URL' or 'SEO-friendly URL' or 'slug' from a string.", |
@@ -78,3 +78,2 @@ module.exports = function(grunt) { | ||
grunt.registerTask('default', ['uglify', 'jshint', 'mocha', 'replace']); | ||
}; |
117
lib/index.js
@@ -1,2 +0,2 @@ | ||
(function() { | ||
(function () { | ||
'use strict'; | ||
@@ -42,11 +42,14 @@ | ||
if (uricFlag) { | ||
allowedChars = allowedChars.concat(uricChars); | ||
allowedChars = allowedChars.concat(uricChars | ||
); | ||
} | ||
if (uricNoSlashFlag) { | ||
allowedChars = allowedChars.concat(uricNoSlashChars); | ||
allowedChars = allowedChars.concat(uricNoSlashChars | ||
); | ||
} | ||
if (markFlag) { | ||
allowedChars = allowedChars.concat(markChars); | ||
allowedChars = allowedChars.concat(markChars | ||
); | ||
} | ||
@@ -56,7 +59,12 @@ } | ||
// escape all necessary chars | ||
allowedChars = (allowedChars.join('') + separator) | ||
.replace(/[-\\^$*+?.()|[\]{}\/]/g, '\\$&'); | ||
allowedChars = (allowedChars.join('' | ||
) + separator) | ||
.replace(/[-\\^$*+?.()|[\]{}\/]/g, | ||
'\\$&' | ||
); | ||
// trim whitspaces | ||
input = input.replace(/(^\s+|\s+$)/g, ''); | ||
input = input.replace(/(^\s+|\s+$)/g, | ||
'' | ||
); | ||
@@ -69,3 +77,4 @@ lastCharWasSymbol = false; | ||
// process custom chars | ||
ch = lastCharWasSymbol && customChars[ch].match(/[A-Za-z0-9]/) ? ' ' + customChars[ch] : customChars[ch]; | ||
ch = lastCharWasSymbol && customChars[ch].match(/[A-Za-z0-9]/ | ||
) ? ' ' + customChars[ch] : customChars[ch]; | ||
@@ -75,3 +84,4 @@ lastCharWasSymbol = false; | ||
// process diactrics chars | ||
ch = lastCharWasSymbol && charMap[ch].match(/[A-Za-z0-9]/) ? ' ' + charMap[ch] : charMap[ch]; | ||
ch = lastCharWasSymbol && charMap[ch].match(/[A-Za-z0-9]/ | ||
) ? ' ' + charMap[ch] : charMap[ch]; | ||
@@ -81,10 +91,19 @@ lastCharWasSymbol = false; | ||
// process symbol chars | ||
symbol[ch] && !(uricFlag && uricChars.join('') | ||
.indexOf(ch) !== -1) && !(uricNoSlashFlag && uricNoSlashChars.join('') | ||
.indexOf(ch) !== -1) && !(markFlag && markChars.join('') | ||
.indexOf(ch) !== -1)) { | ||
symbol[ch] && !(uricFlag && uricChars.join('' | ||
) | ||
.indexOf(ch | ||
) !== -1) && !(uricNoSlashFlag && uricNoSlashChars.join('' | ||
) | ||
.indexOf(ch | ||
) !== -1) && !(markFlag && markChars.join('' | ||
) | ||
.indexOf(ch | ||
) !== -1)) { | ||
ch = lastCharWasSymbol || result.substr(-1) | ||
.match(/[A-Za-z0-9]/) ? separator + symbol[ch] : symbol[ch]; | ||
ch += input[i + 1].match(/[A-Za-z0-9]/) ? separator : ''; | ||
ch = lastCharWasSymbol || result.substr(-1 | ||
) | ||
.match(/[A-Za-z0-9]/ | ||
) ? separator + symbol[ch] : symbol[ch]; | ||
ch += input[i + 1].match(/[A-Za-z0-9]/ | ||
) ? separator : ''; | ||
@@ -94,4 +113,7 @@ lastCharWasSymbol = true; | ||
// process latin chars | ||
if (lastCharWasSymbol && (/[A-Za-z0-9]/.test(ch) || result.substr(-1) | ||
.match(/A-Za-z0-9]/))) { | ||
if (lastCharWasSymbol && (/[A-Za-z0-9]/.test(ch | ||
) || result.substr(-1 | ||
) | ||
.match(/A-Za-z0-9]/ | ||
))) { | ||
ch = ' ' + ch; | ||
@@ -102,17 +124,37 @@ } | ||
// add allowed chars | ||
result += ch.replace(new RegExp('[^\\w\\s' + allowedChars + '_-]', 'g'), separator); | ||
// add allowed chars | ||
result += ch.replace(new RegExp('[^\\w\\s' + allowedChars + '_-]', | ||
'g' | ||
), | ||
separator | ||
); | ||
} | ||
result = result.replace(/\s+/g, separator) // eliminate duplicate separators | ||
.replace(new RegExp('\\' + separator + '+', 'g'), separator) // add separator | ||
.replace(new RegExp('(^\\' + separator + '+|\\' + separator + '+$)', 'g'), ''); // trim separators from start and end | ||
result = result.replace(/\s+/g, | ||
separator | ||
) // eliminate duplicate separators | ||
.replace(new RegExp('\\' + separator + '+', | ||
'g' | ||
), | ||
separator | ||
) // add separator | ||
.replace(new RegExp('(^\\' + separator + '+|\\' + separator + '+$)', | ||
'g' | ||
), | ||
'' | ||
); // trim separators from start and end | ||
if (truncate && result.length > truncate) { | ||
lucky = result.charAt(truncate) === separator; | ||
result = result.slice(0, truncate); | ||
lucky = result.charAt(truncate | ||
) === separator; | ||
result = result.slice(0, | ||
truncate | ||
); | ||
if (!lucky) { | ||
result = result.slice(0, result.lastIndexOf(separator)); | ||
result = result.slice(0, | ||
result.lastIndexOf(separator | ||
) | ||
); | ||
} | ||
@@ -122,3 +164,4 @@ } | ||
if (!maintainCase) { | ||
result = result.toLowerCase(); | ||
result = result.toLowerCase( | ||
); | ||
} | ||
@@ -139,3 +182,5 @@ | ||
return function getSlugWithConfig(input) { | ||
return getSlug(input, opts); | ||
return getSlug(input, | ||
opts | ||
); | ||
}; | ||
@@ -416,3 +461,3 @@ }; | ||
'Ć': 'C', | ||
'Ę': 'e', | ||
'Ę': 'E', | ||
'Ł': 'L', | ||
@@ -444,3 +489,3 @@ 'Ń': 'N', | ||
// 'Š': 'S', // duplicate | ||
'Ū': 'u', | ||
'Ū': 'U', | ||
// 'Ž': 'Z', // duplicate | ||
@@ -566,2 +611,8 @@ // symbols | ||
module.exports.createSlug = createSlug; | ||
} else if (typeof define !== 'undefined') { | ||
define([], | ||
function () { | ||
return getSlug; | ||
} | ||
); | ||
} else { | ||
@@ -576,5 +627,7 @@ // don't overwrite global if exists | ||
} | ||
} catch (e) {} | ||
} catch (e) { | ||
} | ||
} | ||
})(); | ||
})( | ||
); |
{ | ||
"name": "speakingurl", | ||
"version": "0.2.17", | ||
"version": "0.2.18", | ||
"description": "Generate of so called 'static' or 'Clean URL' or 'Pretty URL' or 'nice-looking URL' or 'Speaking URL' or 'user-friendly URL' or 'SEO-friendly URL' or 'slug' from a string.", | ||
@@ -8,12 +8,12 @@ "homepage": "http://pid.github.io/speakingurl/", | ||
"keywords": [ | ||
"slug", | ||
"seo", | ||
"url", | ||
"speakingurl", | ||
"nice url", | ||
"static url" | ||
"slug", | ||
"seo", | ||
"url", | ||
"speakingurl", | ||
"nice url", | ||
"static url" | ||
], | ||
"categories": [ | ||
"Utilities", | ||
"Parsers & Compilers" | ||
"Utilities", | ||
"Parsers & Compilers" | ||
], | ||
@@ -74,6 +74,9 @@ "author": { | ||
"include": [ | ||
"speakingurl.min.js", | ||
"README.md" | ||
"speakingurl.min.js", | ||
"README.md" | ||
] | ||
}, | ||
"volo": { | ||
"url": "http://cdnjs.cloudflare.com/ajax/libs/speakingurl/{version}/speakingurl.min.js" | ||
}, | ||
"scripts": { | ||
@@ -86,7 +89,5 @@ "test": "mocha" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/pid/speakingurl/issues" | ||
}, | ||
"licenses": [ | ||
{ | ||
"bugs": "https://github.com/pid/speakingurl/issues" | ||
, | ||
"licenses": [{ | ||
"type": "BSD", | ||
@@ -93,0 +94,0 @@ "url": "https://raw.github.com/pid/speakingurl/master/LICENCE" |
@@ -34,6 +34,11 @@ # Speaking URL [![NPM version](https://badge.fury.io/js/speakingurl.png)](http://badge.fury.io/js/speakingurl) [![Build Status](https://travis-ci.org/pid/speakingurl.png)](https://travis-ci.org/pid/speakingurl) | ||
or | ||
$ # http://getcomposer.org/ | ||
$ # https://packagist.org/packages/pid/speakingurl | ||
or | ||
copy the file speakingurl.min.js to your script directory | ||
or | ||
use //cdnjs.cloudflare.com/ajax/libs/speakingurl/0.2.17/speakingurl.min.js | ||
use //cdnjs.cloudflare.com/ajax/libs/speakingurl/0.2.18/speakingurl.min.js | ||
@@ -40,0 +45,0 @@ ## Usage |
@@ -1,1 +0,1 @@ | ||
/* speakingurl v0.2.17 (c) 2013 Sascha Droste https://github.com/pid/speakingurl */!function(){"use strict";var a=function(a,b){var e,f,g,h,i,j="object"==typeof b&&b.maintainCase||!1,k="object"==typeof b&&b.separator||"-",l="object"==typeof b&&b.truncate,m="object"==typeof b&&b.lang||"en",n="object"==typeof b&&b.uric||!1,o="object"==typeof b&&b.uricNoSlash||!1,p="object"==typeof b&&b.mark||!1,q=d[m]||d.en,r="object"==typeof b&&b.custom||{},s=[";","?",":","@","&","=","+","$",",","/"],t=[";","?",":","@","&","=","+","$",","],u=[".","!","~","*","'","(",")"],v="",w=[];if("string"!=typeof a)return"";for("string"==typeof b?k=b:"object"==typeof b&&(n&&(w=w.concat(s)),o&&(w=w.concat(t)),p&&(w=w.concat(u))),w=(w.join("")+k).replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&"),a=a.replace(/(^\s+|\s+$)/g,""),i=!1,f=0,h=a.length;h>f;f++)g=a[f],r[g]?(g=i&&r[g].match(/[A-Za-z0-9]/)?" "+r[g]:r[g],i=!1):c[g]?(g=i&&c[g].match(/[A-Za-z0-9]/)?" "+c[g]:c[g],i=!1):!q[g]||n&&-1!==s.join("").indexOf(g)||o&&-1!==t.join("").indexOf(g)||p&&-1!==u.join("").indexOf(g)?(i&&(/[A-Za-z0-9]/.test(g)||v.substr(-1).match(/A-Za-z0-9]/))&&(g=" "+g),i=!1):(g=i||v.substr(-1).match(/[A-Za-z0-9]/)?k+q[g]:q[g],g+=a[f+1].match(/[A-Za-z0-9]/)?k:"",i=!0),v+=g.replace(new RegExp("[^\\w\\s"+w+"_-]","g"),k);return v=v.replace(/\s+/g,k).replace(new RegExp("\\"+k+"+","g"),k).replace(new RegExp("(^\\"+k+"+|\\"+k+"+$)","g"),""),l&&v.length>l&&(e=v.charAt(l)===k,v=v.slice(0,l),e||(v=v.slice(0,v.lastIndexOf(k)))),j||(v=v.toLowerCase()),v},b=function(b){return function(c){return a(c,b)}},c={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"Ae","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"Oe","Ő":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"Ue","Ű":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"ae","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"oe","ő":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"ue","ű":"u","ý":"y","þ":"th","ÿ":"y","ẞ":"SS","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ά":"a","έ":"e","ί":"i","ό":"o","ύ":"y","ή":"h","ώ":"w","ς":"s","ϊ":"i","ΰ":"y","ϋ":"y","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ά":"A","Έ":"E","Ί":"I","Ό":"O","Ύ":"Y","Ή":"H","Ώ":"W","Ϊ":"I","Ϋ":"Y","ş":"s","Ş":"S","ı":"i","İ":"I","ğ":"g","Ğ":"G","Ќ":"Kj","ќ":"kj","Љ":"Lj","љ":"lj","Њ":"Nj","њ":"nj","Тс":"Ts","тс":"ts","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ё":"yo","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ё":"Yo","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","Є":"Ye","І":"I","Ї":"Yi","Ґ":"G","є":"ye","і":"i","ї":"yi","ґ":"g","č":"c","ď":"d","ě":"e","ň":"n","ř":"r","š":"s","ť":"t","ů":"u","ž":"z","Č":"C","Ď":"D","Ě":"E","Ň":"N","Ř":"R","Š":"S","Ť":"T","Ů":"U","Ž":"Z","ą":"a","ć":"c","ę":"e","ł":"l","ń":"n","ś":"s","ź":"z","ż":"z","Ą":"A","Ć":"C","Ę":"e","Ł":"L","Ń":"N","Ś":"S","Ź":"Z","Ż":"Z","ā":"a","ē":"e","ģ":"g","ī":"i","ķ":"k","ļ":"l","ņ":"n","ū":"u","Ā":"A","Ē":"E","Ģ":"G","Ī":"i","Ķ":"k","Ļ":"L","Ņ":"N","Ū":"u","“":'"',"”":'"',"‘":"'","’":"'","∂":"d","ƒ":"f","™":"(TM)","©":"(C)","œ":"oe","Œ":"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o","º":"o","ª":"a","•":"*",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₨":"INR","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY","元":"CNY","円":"YEN","﷼":"IRR","₠":"EWE","฿":"THB"},d={en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"}};if("undefined"!=typeof module)module.exports=a,module.exports.createSlug=b;else try{if(window.getSlug||window.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";window.getSlug=a,window.createSlug=b}catch(e){}}(); | ||
/* speakingurl v0.2.18 (c) 2013 Sascha Droste http://pid.github.io/speakingurl/ */!function(){"use strict";var a=function(a,b){var e,f,g,h,i,j="object"==typeof b&&b.maintainCase||!1,k="object"==typeof b&&b.separator||"-",l="object"==typeof b&&b.truncate,m="object"==typeof b&&b.lang||"en",n="object"==typeof b&&b.uric||!1,o="object"==typeof b&&b.uricNoSlash||!1,p="object"==typeof b&&b.mark||!1,q=d[m]||d.en,r="object"==typeof b&&b.custom||{},s=[";","?",":","@","&","=","+","$",",","/"],t=[";","?",":","@","&","=","+","$",","],u=[".","!","~","*","'","(",")"],v="",w=[];if("string"!=typeof a)return"";for("string"==typeof b?k=b:"object"==typeof b&&(n&&(w=w.concat(s)),o&&(w=w.concat(t)),p&&(w=w.concat(u))),w=(w.join("")+k).replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&"),a=a.replace(/(^\s+|\s+$)/g,""),i=!1,f=0,h=a.length;h>f;f++)g=a[f],r[g]?(g=i&&r[g].match(/[A-Za-z0-9]/)?" "+r[g]:r[g],i=!1):c[g]?(g=i&&c[g].match(/[A-Za-z0-9]/)?" "+c[g]:c[g],i=!1):!q[g]||n&&-1!==s.join("").indexOf(g)||o&&-1!==t.join("").indexOf(g)||p&&-1!==u.join("").indexOf(g)?(i&&(/[A-Za-z0-9]/.test(g)||v.substr(-1).match(/A-Za-z0-9]/))&&(g=" "+g),i=!1):(g=i||v.substr(-1).match(/[A-Za-z0-9]/)?k+q[g]:q[g],g+=a[f+1].match(/[A-Za-z0-9]/)?k:"",i=!0),v+=g.replace(new RegExp("[^\\w\\s"+w+"_-]","g"),k);return v=v.replace(/\s+/g,k).replace(new RegExp("\\"+k+"+","g"),k).replace(new RegExp("(^\\"+k+"+|\\"+k+"+$)","g"),""),l&&v.length>l&&(e=v.charAt(l)===k,v=v.slice(0,l),e||(v=v.slice(0,v.lastIndexOf(k)))),j||(v=v.toLowerCase()),v},b=function(b){return function(c){return a(c,b)}},c={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"Ae","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"Oe","Ő":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"Ue","Ű":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"ae","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"oe","ő":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"ue","ű":"u","ý":"y","þ":"th","ÿ":"y","ẞ":"SS","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ά":"a","έ":"e","ί":"i","ό":"o","ύ":"y","ή":"h","ώ":"w","ς":"s","ϊ":"i","ΰ":"y","ϋ":"y","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ά":"A","Έ":"E","Ί":"I","Ό":"O","Ύ":"Y","Ή":"H","Ώ":"W","Ϊ":"I","Ϋ":"Y","ş":"s","Ş":"S","ı":"i","İ":"I","ğ":"g","Ğ":"G","Ќ":"Kj","ќ":"kj","Љ":"Lj","љ":"lj","Њ":"Nj","њ":"nj","Тс":"Ts","тс":"ts","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ё":"yo","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ё":"Yo","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","Є":"Ye","І":"I","Ї":"Yi","Ґ":"G","є":"ye","і":"i","ї":"yi","ґ":"g","č":"c","ď":"d","ě":"e","ň":"n","ř":"r","š":"s","ť":"t","ů":"u","ž":"z","Č":"C","Ď":"D","Ě":"E","Ň":"N","Ř":"R","Š":"S","Ť":"T","Ů":"U","Ž":"Z","ą":"a","ć":"c","ę":"e","ł":"l","ń":"n","ś":"s","ź":"z","ż":"z","Ą":"A","Ć":"C","Ę":"E","Ł":"L","Ń":"N","Ś":"S","Ź":"Z","Ż":"Z","ā":"a","ē":"e","ģ":"g","ī":"i","ķ":"k","ļ":"l","ņ":"n","ū":"u","Ā":"A","Ē":"E","Ģ":"G","Ī":"i","Ķ":"k","Ļ":"L","Ņ":"N","Ū":"U","“":'"',"”":'"',"‘":"'","’":"'","∂":"d","ƒ":"f","™":"(TM)","©":"(C)","œ":"oe","Œ":"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o","º":"o","ª":"a","•":"*",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₨":"INR","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY","元":"CNY","円":"YEN","﷼":"IRR","₠":"EWE","฿":"THB"},d={en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"}};if("undefined"!=typeof module)module.exports=a,module.exports.createSlug=b;else if("undefined"!=typeof define)define([],function(){return a});else try{if(window.getSlug||window.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";window.getSlug=a,window.createSlug=b}catch(e){}}(); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
93112
40
1457
202
2