期望:使用TypeScript编写的提供参数验证的Node.js库 源码
@ fantasticfiasco /期望 用TypeScript编写的提供参数验证的Node.js库。 目录 超级简单易用 import * as expect from '@fantasticfiasco/expect' ; function update ( person ) { expect . toExist ( person . name ) ; expect . toBeTrue ( person . age >= 0 , 'existential theories are not up for discussion' ) ; // Squint you
下载地址
用户评论