From b4968938d46fc01f7ba3aa206a136d73deb29050 Mon Sep 17 00:00:00 2001 From: missing Date: Thu, 21 Jul 2022 00:27:23 -0700 Subject: [PATCH] update README.md --- README.md | 17 +++++++++++++++-- src/foobar | 1 - 2 files changed, 15 insertions(+), 3 deletions(-) delete mode 100644 src/foobar diff --git a/README.md b/README.md index 58c83f8..dba80b7 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,16 @@ -# jsfuck +# A JS -> JSFuck transpiler -JS -> JSFuck transpiler \ No newline at end of file +JS goes in stdin. JSFuck comes out stdout. Thats it. + +Works on node. Works in the browser. Works everywhere. + +Each char of input produces around 500 chars of output, plus ~146000 chars of output regardless of input. + +*Please* do not use this in production. + +```sh +> echo 'console.log("abc");' | jsfuck | node +abc +> echo 'console.log("abc");' | jsfuck | wc -c +155328 +``` \ No newline at end of file diff --git a/src/foobar b/src/foobar deleted file mode 100644 index 46712b4..0000000 --- a/src/foobar +++ /dev/null @@ -1 +0,0 @@ -(+!![] + !![] + !![] + !![] + !![] + !![] + !![] + !![] + !![] + !![] + !![] + !![] + !![] + !![] + !![] + !![] + !![] + !![] + !![] + !![] + !![] + !![])[(!![] + [])[+[]] + ([][([][[]] + [])[+!![] + !![] + !![] + !![]] + (![] + [])[+!![] + !![]] + (![] + [])[+!![]] + (!![] + [])[+[]]] + [])[+!![] + !![] + !![] + !![] + !![] + !![]] + (([] + [])[([][([][[]] + [])[+!![] + !![] + !![] + !![]] + (![] + [])[+!![] + !![]] + (![] + [])[+!![]] + (!![] + [])[+[]]] + [])[+!![] + !![] + !![]] + ([][([][[]] + [])[+!![] + !![] + !![] + !![]] + (![] + [])[+!![] + !![]] + (![] + [])[+!![]] + (!![] + [])[+[]]] + [])[+!![] + !![] + !![] + !![] + !![] + !![]] + ([][[]] + [])[+!![]] + (![] + [])[+!![] + !![] + !![]] + (!![] + [])[+[]] + (!![] + [])[+!![]] + ([][[]] + [])[+[]] + ([][([][[]] + [])[+!![] + !![] + !![] + !![]] + (![] + [])[+!![] + !![]] + (![] + [])[+!![]] + (!![] + [])[+[]]] + [])[+!![] + !![] + !![]] + (!![] + [])[+[]] + ([][([][[]] + [])[+!![] + !![] + !![] + !![]] + (![] + [])[+!![] + !![]] + (![] + [])[+!![]] + (!![] + [])[+[]]] + [])[+!![] + !![] + !![] + !![] + !![] + !![]] + (!![] + [])[+!![]]] + [])] \ No newline at end of file