Skip to content

Instantly share code, notes, and snippets.

@yanirs
yanirs / import-parse-class.js
Created January 15, 2015 02:12
PhantomJS script for importing collection dumps to Parse.com
/**
* PhantomJS script for importing collection dumps to Parse.com.
*
* Usage: phantomjs --ssl-protocol any import-parse-class.js <configFile> <dumpFile> <collectionName>
*
* Parameters:
* - configFile: path of a JSON file with contents:
* {
* "email": <Parse user email>,
* "password": <Parse user password>,