README
for Sketch buffer
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()
).
Node.js Buffer API, for Sketch
<script type="module">
import skpmBuffer from 'https://cdn.skypack.dev/@skpm/buffer';
</script>
for Sketch bufferAll 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()
).