@skpm/buffer

Node.js Buffer API, for Sketch

Usage no npm install needed!

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

README

buffer for Sketch

All the nodejs buffer API is available.

Additionally, you can create a Buffer from an NSData (Buffer.from(nsdata)) as well as getting an NSData from a Buffer (buffer.toNSData()).