UNPKG

charset-pl

Version:

polish charset? idk

15 lines (14 loc) 350 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function split(i, l) { if (l === void 0) { l = 8; } var a = []; while (i.length > l) { a.push(i.substring(i.length - l, i.length)); i = i.substring(0, i.length - l); } a.push(i); a.reverse(); return a; } exports.default = split;