Sort:  

Thanks @cryptonik - In order to run this you have to have node installed. You can save the file as index.js in a directory. Then run npm init to initialize that directory as a node project. You can just press enter for all the default values. Then you would run npm install steem to install the steem API package. You can then run the script by running node index.js - There's also another way to just embed this into an html file and run in your browser, but that require a few minor changes. You can embed the client side library like this:

<script src="https://cdn.steemjs.com/lib/latest/steem.min.js"></script>

But I haven't tried that yet.

beautiful, thanks!