Comparing version 0.1.0 to 0.2.0
@@ -990,3 +990,71 @@ module.exports = { | ||
'ᵥ': 'v', // LATIN SUBSCRIPT SMALL LETTER V | ||
'ₓ': 'x' // LATIN SUBSCRIPT SMALL LETTER X | ||
'ₓ': 'x', // LATIN SUBSCRIPT SMALL LETTER X | ||
// Cyrillic characters to latin | ||
'Ё': 'YO', | ||
'Й': 'I', | ||
'Ц': 'TS', | ||
'У': 'U', | ||
'К': 'K', | ||
'Е': 'E', | ||
'Н': 'N', | ||
'Г': 'G', | ||
'Ш': 'SH', | ||
'Щ': 'SCH', | ||
'З': 'Z', | ||
'Х': 'H', | ||
'Ъ': '', | ||
'ё': 'yo', | ||
'й': 'i', | ||
'ц': 'ts', | ||
'у': 'u', | ||
'к': 'k', | ||
'е': 'e', | ||
'н': 'n', | ||
'г': 'g', | ||
'ш': 'sh', | ||
'щ': 'sch', | ||
'з': 'z', | ||
'х': 'h', | ||
'ъ': '', | ||
'Ф': 'F', | ||
'Ы': 'I', | ||
'В': 'V', | ||
'А': 'A', | ||
'П': 'P', | ||
'Р': 'R', | ||
'О': 'O', | ||
'Л': 'L', | ||
'Д': 'D', | ||
'Ж': 'ZH', | ||
'Э': 'E', | ||
'ф': 'f', | ||
'ы': 'i', | ||
'в': 'v', | ||
'а': 'a', | ||
'п': 'p', | ||
'р': 'r', | ||
'о': 'o', | ||
'л': 'l', | ||
'д': 'd', | ||
'ж': 'zh', | ||
'э': 'e', | ||
'Я': 'Ya', | ||
'Ч': 'CH', | ||
'С': 'S', | ||
'М': 'M', | ||
'И': 'I', | ||
'Т': 'T', | ||
'Ь': '', | ||
'Б': 'B', | ||
'Ю': 'YU', | ||
'я': 'ya', | ||
'ч': 'ch', | ||
'с': 's', | ||
'м': 'm', | ||
'и': 'i', | ||
'т': 't', | ||
'ь': '', | ||
'б': 'b', | ||
'ю': 'yu' | ||
}; |
{ | ||
"name": "latenize", | ||
"description": "Npm/NodeJS port of Semplice latinise/latenize", | ||
"version": "0.1.0", | ||
"homepage": "https://github.com/FGRibreau/latenize", | ||
"author": "Francois-Guillaume Ribreau <npm@fgribreau.com> (http://fgribreau.com)", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/FGRibreau/latenize.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/FGRibreau/latenize/issues" | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "MIT", | ||
"url": "https://github.com/FGRibreau/latenize/blob/master/LICENSE-MIT" | ||
} | ||
], | ||
"main": "index.js", | ||
"engines": { | ||
"node": ">= 0.6.0" | ||
}, | ||
"scripts": { | ||
"test": "grunt test" | ||
}, | ||
"devDependencies": { | ||
"grunt": "~0.3.15" | ||
}, | ||
"keywords": ["string", "latin"] | ||
"name": "latenize", | ||
"description": "Npm/NodeJS port of Semplice latinise/latenize", | ||
"version": "0.2.0", | ||
"homepage": "https://github.com/FGRibreau/latenize", | ||
"author": "Francois-Guillaume Ribreau <npm@fgribreau.com> (http://fgribreau.com)", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/FGRibreau/latenize.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/FGRibreau/latenize/issues" | ||
}, | ||
"licenses": [{ | ||
"type": "MIT", | ||
"url": "https://github.com/FGRibreau/latenize/blob/master/LICENSE-MIT" | ||
}], | ||
"main": "index.js", | ||
"engines": { | ||
"node": ">= 0.6.0" | ||
}, | ||
"scripts": { | ||
"test": "grunt test" | ||
}, | ||
"devDependencies": { | ||
"grunt": "~0.3.15" | ||
}, | ||
"keywords": ["string", "latin"] | ||
} |
@@ -1,2 +0,2 @@ | ||
# Latenize | ||
# Latenize [![Gittip](http://badgr.co/gittip/fgribreau.png)](https://www.gittip.com/fgribreau/) | ||
@@ -20,2 +20,5 @@ NPM/NodeJS port of Semplice latenize | ||
## Donate | ||
[Donate Bitcoins](https://coinbase.com/checkouts/fc3041b9d8116e0b98e7d243c4727a30) | ||
## License | ||
@@ -22,0 +25,0 @@ [Semplice](http://semplicewebsites.com/removing-accents-javascript) |
@@ -29,4 +29,5 @@ var latenize = require('../index.js'); | ||
'latenize': function(t) { | ||
t.expect(5); | ||
t.expect(6); | ||
t.equal(latenize("Piqué"), "Pique"); | ||
t.equal(latenize("Артём Риженков"), "Artyom Rizhenkov"); | ||
t.equal(latenize("Solución"), "Solucion"); | ||
@@ -33,0 +34,0 @@ t.equal(latenize.isLatin("Piqué"), false); |
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
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
60792
1136
27