@skpm/fs

A sketch module to interact with the file system

Usage no npm install needed!

<script type="module">
  import skpmFs from 'https://cdn.skypack.dev/@skpm/fs';
</script>

README

fs for Sketch

All the sync nodejs fs API is available.

:warning: The version 0.2.* requires Sketch 52 or above. Use the version 0.1.* if you need to support earlier version of Sketch.

fs.writeFileSync, fs.appendFileSync and fs.readFileSync accept an NSData as encoding