UNPKG

@newcoin-foundation/newcoin-sdk

Version:
3 lines 144 B
export const normalizeUsername = (username: string, r: string) => { return username.replace(/\./g, r + r.repeat(12 - username.length)); };