forked from ariya/phantomjs
-
Notifications
You must be signed in to change notification settings - Fork 1
API Reference FileSystem
muxator edited this page Apr 5, 2013
·
7 revisions
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.
## Module: FileSystem ## A set of API functions is available to access files and directories, modeled after the [CommonJS Filesystem proposal](http://wiki.commonjs.org/wiki/Filesystem).To start using, you must require
a reference to the fs
module:
var fs = require('fs');