Did you ever need to make a presentation using powerpoint, keynote or google docs?
So, here javascreen!
javascreen is based on some opensource tools:
- @alexgorbatchev SyntaxHighlighter
- @kamicane clint
- @sgentle phantomjs-node
- @mishoo UglifyJS
This tool uses the phantomjs to node.js bridge, you need to have phantomjs installed. I added the osx phantom executable to be sure that in the future the tool continue to work
to run you must have node.js ready and up to date, and npm installed.
then you can type:
npm install clint
npm install phantom
npm install uglify-js
--help, -h : general usage information.
--destination, -d : file to save.
--viewportWidth, -x : viewport width (default: 800)
--viewportHeight, -y : viewport height (default: 600)
--prettyprint, -p : run code beautifier
./javascreen -s example.js
./javascreen -s example2.js -x 1280
./javascreen -s javascreen -d javascreen.png -x 1280
./javascreen -s ugly.js -p