commonJsUtils Introduce this lib usually use to judge what's type of the string Installation npm i mhutils Example import utils from 'mhutils'; utils.isArray(arr); 新增获取url参数,获取hash参数,设置url参数方法 mocha --require babel-register test/utils.js