验证助手 validation-helper是一组使用的简单数据验证和转换工具,用于字符串输入数据 npm install @outofsync/validation-helper const validationHelper = require ( '@outofsync/validation-helper' ) ; console . log ( validationHelper . validate ( '1.23' , 'float' ) ) ; console . log ( validationHelper . validate ( 'qwerty' , 'float' ) )