function write(filePath, ast) {
	const output = recast.print(ast, { quote: 'single', useTabs: true, trailingComma: true }).code;
	fs.writeFile(filePath, output, err => {
		if (err) {
			throw err;
		}
	});
}
/**
 * Write down an AST into a PATH
 * @param {string} indexPath the path to the index.js file
 * @param {Object} AST the ast of the parsed source code
 * @return undefined
 */
Write down an AST into a PATH
@param {string} indexPath the path to the index.js file
@param {Object} AST the ast of the parsed source code
@return undefined
Write down an AST into a PATH @param { string } indexPath the path to the index . js file @param { Object } AST the ast of the parsed source code @return undefined
function write(filePath, ast) {
	const output = recast.print(ast, { quote: 'single', useTabs: true, trailingComma: true }).code;
	fs.writeFile(filePath, output, err => {
		if (err) {
			throw err;
		}
	});
}
function write ( filePath , ast ) { const output = recast . print ( ast , { quote : 'single' , useTabs : true , trailingComma : true } ) . code ; fs . writeFile ( filePath , output , err => { if ( err ) { throw err ; } } ) ; }
Write down an AST into a PATH
 @param {string} indexPath the path to the index.js file
 @param {Object} AST the ast of the parsed source code
 @return undefined
Write down an AST into a PATH @param { string } indexPath the path to the index . js file @param { Object } AST the ast of the parsed source code @return undefined