throwor
1.0.0 • Public • Published
fs.readFile(
"testData.txt",
"utf8",
throwOr(/* err, */data => {
// Usually you need to write:
// if (err) throw err;
console.log(data)
}),
);
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.0.0
2
Version History
- VersionDownloads (Last 7 Days)
- 1.0.0
2
Package Sidebar
Install
Weekly Downloads