<reponame>DataScienceBootCamp2023/CCDP_final_deployment<filename>static/node_modules/temporary/examples/file.js<gh_stars>0/**
 * Temporary - The lord of tmp.
 * 
 * Author: Veselin Todorov <upchh@example.com>
 * Licensed under the MIT License.
 */

var Tempfile = require('../lib/file');
var file = new Tempfile('foo') // name - optional

console.log(file.path); // file path.

/**
 * You can also use:
 * 
 * file.readFile
 * file.readFileSync
 * file.writeFile
 * file.writeFileSync
 * file.open
 * file.openSync
 * file.close
 * file.closeSync
 * file.unlink
 * file.unlinkSync
 */