Skip to content

Instantly share code, notes, and snippets.

@pyk
Created August 8, 2013 01:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pyk/6180637 to your computer and use it in GitHub Desktop.
Save pyk/6180637 to your computer and use it in GitHub Desktop.
var fs = require('fs');
fs.readFile('./resource.json',function(err, data){
if(err) throw err;
console.log(JSON.parse(data));
});
console.log('Selanjutnya...');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment