Last active
August 2, 2019 08:05
-
-
Save popovkos/e6052cfc53b097f02f9989d8af47c5b2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('await-fs'); | |
(async () = > { | |
try{ | |
let json = await fs.readFile('package.json','utf8') | |
console.log(json) | |
} catch(err) { | |
console.log(err) | |
} | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment