Yuncheol Kwak

feat: added language guessing module

import {franc} from 'franc';
import langs from 'langs';
function getLang(se) {
let langCode = "";
if(se.length < 10) {
langCode = franc(se, {minLength:`${se.length}`});
} else {
langCode = franc(se);
}
return langs.where('3', langCode).local;
}
export {getLang};
\ No newline at end of file
{
"dependencies": {
"googleapis": "^100.0.0",
"youtube-v3-api": "^1.1.1"
}
"youtube-v3-api": "^1.1.1",
"franc": "^6.0.0",
"langs": "^2.0.0"
},
"type": "module"
}
......