cara membagi string menjadi nodeJs chunks
function chunkString(str, length) {
return str.match(new RegExp('.{1,' + length + '}', 'g'));
}
Concerned Cottonmouth
function chunkString(str, length) {
return str.match(new RegExp('.{1,' + length + '}', 'g'));
}