@skpm/string_decoder

A drop-in replacement for the string_decoder NodeJS package

Usage no npm install needed!

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

README

string_decoder for Sketch

All the nodejs string_decoder API is available.

An additional encoding is available: NSData, in which case write and end will return an NSData object.