js-awe
Version:
Awesome js utils including - plan: An Asynchronous control flow with a functional taste - Chrono: record and visualize timelines in the console
12 lines • 513 B
TypeScript
// anonymize.js
/**
* Change each number, uppercase letter and lowercase letter
* for a random number, uppercase letter and lowercase letter.
* Rest of characters are kept equal, resulting in a same length
* string. The algorithm returns string filled with * in cases that
* changes were less than half of the characters.
* @param toAnonymise The string to change.
* @returns the randomized string.
*/
export declare function anonymize(toAnonymise: string): string
//# sourceMappingURL=anonymize.d.ts.map