Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 382 Bytes

README.md

File metadata and controls

11 lines (9 loc) · 382 Bytes

unreadable

Turn your name into an extremely unreadable JS expression.

Usage

import unreadable from '@hkh12/unreadable';

unreadable('hi') // '(((""+Math)[+!!{}+!!{}+!!{}+!!{}+!!{}+!!{}+!!{}+!!{}+!!{}+!!{}+!!{}])+(((typeof ("")[+[]]))[+!!{}+!!{}+!!{}+!!{}+!!{}]))'
eval(unreadable('hi')) // 'hi'
unreadable('Hello') // It only accepts a-z (lowercased), 0-9, and spaces