wow so syntax very doge much future

npm install dogescript
14 downloads in the last day
124 downloads in the last week
576 downloads in the last month


dogescript NPM version

(aka when Zach went insane)

This is an implementation of the best new compile-to-JS language, dogescript. Wow.

And yes, I am very aware I went about a very, er, non-conventional, way of parsing a language, and is probably riddled with bugs and edge-cases. However, this is dogescript, so anything goes!

         such dogescript
     very compiled
       npm wow


npm install -g dogescript


Command Line

dogescript without a file launches a REPL.

dogescript location/to/dogescript.djs pipes the result to stdout. Use a command like dogescript dogescript.djs > compiled.js to save to a file.


  • --beautify - Runs the code through a beautifier.
  • --true-doge - Implements "true doge" mode, which splits lines by 3 spaces, instead of by newlines. This stays behind a flag until the spacing it exports is identical to non-true-doge mode.


dogescript(file, beauty, trueDoge)

  • file - A string of Dogescript.
  • beauty - A boolean, set to true if you want the output to be ran through a beautifier.
  • trueDoge - A boolean, set to true if you want to enable true-doge mode.


Check out for some documentation. Otherwise, look at the example files in this repo.

Projects using dogescript

npm loves you