initial commit

This commit is contained in:
ALIF\Alif Firmansyah
2026-08-27 17:57:30 +07:00
commit c1de380d88
5072 changed files with 1373737 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
/* global describe,it */
var getSlug = require('../lib/speakingurl');
describe('getSlug translate turkish letters', function () {
'use strict';
it('umlaut should be single letter transliteration', function (done) {
getSlug('ÜÄÖüäö', {
lang: 'tr'
})
.should.eql('uaeouaeo');
getSlug('ÜÖÄ äüö', {
lang: 'tr'
})
.should.eql('uoae-aeuo');
done();
});
});