Persistence - sgml/signature GitHub Wiki

v8 File API

/* File System Object */
var fs = require('fs');

/* Read File */
fs.readFile('foo.json', bar)

function bar (err, data)
  {
  /* If an error exists, show it, otherwise show the file */
  err ? Function("error","throw error")(err) : console.log(JSON.parse(data.toString()) );
  };
⚠️ **GitHub.com Fallback** ⚠️