Initial import from local backup (Documents-Playground/pakerpale)

This commit is contained in:
jeonghwa
2026-07-03 05:27:29 +09:00
commit d918e2eddc
2971 changed files with 264195 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
import fs from 'fs';
import path from 'path';
/**
* Returns a list of all locales supported by CLDR.
* @return {string[]}
*/
export default function getLocalesList() {
return fs.readdirSync(path.join(__dirname, '../../node_modules/cldr-dates-full/main/')).filter(function (name) {
return fs.statSync(path.join(__dirname, '../../node_modules/cldr-dates-full/main', name)).isDirectory();
});
}
//# sourceMappingURL=getLocalesList.js.map