lib/modules/create.js
function createFile (filePath, fileContent) {
	var folderPath = filePath.split('/');
	folderPath.pop();
	folderPath = folderPath.join('/');

	if (!Utils.exist(folderPath))
		createFolder(folderPath);

	fs.writeFileSync(filePath, fileContent);
	Utils.log('Created file: ' + filePath);

	return Utils;
}
function createFile (filePath, fileContent) {
	var folderPath = filePath.split('/');
	folderPath.pop();
	folderPath = folderPath.join('/');

	if (!Utils.exist(folderPath))
		createFolder(folderPath);

	fs.writeFileSync(filePath, fileContent);
	Utils.log('Created file: ' + filePath);

	return Utils;
}
function createFile ( filePath , fileContent ) { var folderPath = filePath . split ( '/' ) ; folderPath . pop ( ) ; folderPath = folderPath . join ( '/' ) ; if ( ! Utils . exist ( folderPath ) ) createFolder ( folderPath ) ; fs . writeFileSync ( filePath , fileContent ) ; Utils . log ( 'Created file: ' + filePath ) ; return Utils ; }
/* Utils.create.folder();
Utils.create.file();
Create folder if needed
Then create file
/ * Utils . create . folder () ; Utils . create . file () ; Create folder if needed Then create file