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