Inspiration

It was inspired by and based on Martin Kleppe's esoteric subset of JavaScript, JSF***.

What it does

A NodeJS project that can convert plain JS code into invisible code that can be executed in that state.

How we built it

I used JSF***, "an esoteric subset of JavaScript, where code is written using only six characters: [, ], (, ), !, and +." We convert plain JS code to this subset of Javascript and replace the 6 characters with an invisible Unicode character. To execute the code, we use that same invisible character map to convert it back to JSF, and then evaluate that code.

Challenges we ran into

  • Many errors
  • Small issues like characters showing when highlighted
  • The resulting size is large

Accomplishments that we're proud of

  • Performance
  • The package's small size

What we learned

  • That in a popular language like JavaScript, almost anything is possible, like this project, or making the entire language in just 6 characters, and still be valid code

What's next for Invisible JS

  • Global Scope support

Built With

Share this project:

Updates