This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Run this with `babel-node generateSVG.js` | |
*/ | |
import fs from 'fs'; | |
import path from 'path'; | |
import { Readable } from 'stream'; | |
import childProcess from 'child_process'; | |
import phantomjs from 'phantomjs'; | |
import im from 'imagemagick'; | |
import tmp from 'tmp'; |