pseudocode.js is a JavaScript library that typesets pseudocode beautifully to HTML. Pseudocode.js takes a LaTeX-style input that supports the algorithmic constructs from LaTeX's algorithm packages. With or without LaTeX experience, a user should find the grammar fairly intuitive. The HTML output produced by pseudocode.js is (almost) identical to the pretty algorithms printed on publications that are typeset by LaTeX.