fix: resolve syntax error
chore: remove the `string.prototype.repeat` dependency
chore: remove useless export