函数库, 面向复杂业务场景的 js 类库
Demo:
import { getRepeatCharacter } from 'func-package'; // 计算字符串中重复字符以及重复字符的次数const res = getRepeatCharacter('bigBbbi');// ->{b: 3, i: 2, g: 1, B: 1}