Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify Hex Name add more characters #12

Open
ewwink opened this issue Jun 3, 2022 · 0 comments
Open

Simplify Hex Name add more characters #12

ewwink opened this issue Jun 3, 2022 · 0 comments

Comments

@ewwink
Copy link

ewwink commented Jun 3, 2022

I think it is good idea if it replace _0xZZZ with readable names like namora/potato/mokaro/kalimu instead of short names a/b/ab/cb

here an idea to generate the names

function generateName() {
    let result = '';
    let chars = '';
    for (let i = 0; i < 6; i++) {
        chars = i % 2 == 0 ? 'bcdfghjklmnprstwy' : 'aiueo';
        result += chars.charAt(Math.floor(Math.random() * chars.length));
    }
    return result;
}
generateName();
// namora/potato/mokaro/kalimu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant