1
0
Fork 0
forked from gitea/nas
This commit is contained in:
KMY 2025-04-03 09:13:36 +09:00
parent 948f17ae4f
commit 6686142f9e
3 changed files with 6 additions and 4 deletions

View file

@ -1,6 +1,7 @@
// taken from:
// https://github.com/twitter/twemoji/blob/47732c7/twemoji-generator.js#L848-L866
export default function unicodeToFilename(str) {
// eslint-disable-next-line import/no-commonjs, no-undef
exports.unicodeToFilename = (str) => {
let result = '';
let charCode = 0;
let p = 0;