diff --git a/README.md b/README.md index 9b016d4..4842160 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ Successive calls will append data, not overwrite it. -d,--debug Prints additional info for debugging. -e,--encoding Output byte-to-text encoding. Available encodings include: binary, octal, dec, base16, BASE16, base26, base32, base36, base58, base64, base64-url, - base85, c, c#, java, go, kotlin, node, perl, php, python3, ruby, rust, swift, raw, utf8 + base85, c, c#, java, go, kotlin, node, js, perl, php, python3, ruby, rust, swift, raw, utf8 -f,--file Prints the random data to given file instead of the command line. Will create the file if it does not exist or append the data if it does. -h,--help Shows this page. diff --git a/pom.xml b/pom.xml index 058d60e..fe85144 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ at.favre.tools dice - 1.4.0 + 1.4.1 3.1.0 @@ -346,4 +346,4 @@ test - \ No newline at end of file + diff --git a/src/main/java/at/favre/tools/dice/encode/EncoderHandler.java b/src/main/java/at/favre/tools/dice/encode/EncoderHandler.java index 8a4d637..cbfd6a1 100644 --- a/src/main/java/at/favre/tools/dice/encode/EncoderHandler.java +++ b/src/main/java/at/favre/tools/dice/encode/EncoderHandler.java @@ -46,6 +46,7 @@ public final class EncoderHandler { new GoByteArrayEncoder(), new KotlinByteArrayEncoder(), new NodeJsEncoder(), + new JsEncoder(), new PerlEncoder(), new PhpEncoder(), new Python3Encoder(),