@hkh12/unreadable

1.1.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @hkh12/unreadable

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

4.3 kB

Total Files

4

Last publish

Collaborators

  • hkh12