We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85d5015 commit 0654785Copy full SHA for 0654785
index.js
@@ -4,6 +4,8 @@ const runes = require('runes');
4
const stringLength = require('string-length');
5
6
module.exports = (str, {size, unicodeAware = false}) => {
7
+ str = str || '';
8
+
9
if (!unicodeAware) {
10
return getChunks(str, size);
11
}
0 commit comments