{"size": 578, "ext": "js", "max_stars_repo_path": "Node classwork/fs.js", "max_stars_repo_name": "Temka1358/Mstars-Backend", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "Node classwork/fs.js", "max_issues_repo_name": "Temka1358/Mstars-Backend", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "Node classwork/fs.js", "max_forks_repo_name": "Temka1358/Mstars-Backend", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.4074074074, "max_line_length": 101, "alphanum_fraction": 0.5865051903}
const fs = require("fs")
fs.stat('/Users/mstars_lab1_13/Desktop/Back-end/test.txt', (err, stats) =>{
	if(err){
		console.error(err)
	return	
}
	console.log(stats)
})

fs.readFile('/Users/mstars_lab1_13/Desktop/Back-end/test.txt', (err, stats) =>{
        if(err){
                console.error(err)
        return
}
        console.log(stats)
})

content = "Added content!"
fs.writeFile('/Users/mstars_lab1_13/Desktop/Back-end/test.txt', "\n" + content, {flag:'a+'}, err  =>{
        if(err){
                console.error(err)
        return
}
        console.log(content)
})

