fs for Sketch
All the sync nodejs fs API is available.
fs.writeFileSync, fs.appendFileSync and fs.readFileSync accept an NSData as encoding
Installation
npm install @skpm/fsUsage
const fs = require('@skpm/fs')
fs.readFileSync('/path/to/file')