API Reference FileSystem - fpdetective/phantomjs GitHub Wiki
This is a living document. As the codebase is updated, we hope to keep this document updated as well. Unless otherwise stated, this document currently applies to the latest PhantomJS release: PhantomJS 1.9.0
Note: This page serves as a reference. To learn step-by-step on how to use PhantomJS, please refer to the Quick Start guide.
To start using, you must require a reference to the fs module:
var fs = require('fs');