utf8-length
return the number of bytes in a unicode string
example
var bytes = ;console;
result:
$ node example/beep.js
13
methods
var bytes =
bytes(string)
Return the number of bytes needed to store string
.
install
With npm do:
npm install utf8-bytes
license
MIT