beater-matcher:打浆机的匹配库

时间:2021-04-09 05:18:07
【文件属性】:
文件名称:beater-matcher:打浆机的匹配库
文件大小:63KB
文件格式:ZIP
更新时间:2021-04-09 05:18:07
TypeScript 打浆机 的匹配器库。 安装 $ npm install --save-dev beater-matcher 用法 import assert from 'assert' ; import { any , anyArray , anyNumber , anyString , anyObject , match , matchString , partialObject , } from 'beater-matcher' ; const value = { a : 123 , b : 'abc' , c : [ 1 , 2 , 3 ] , d : { a : 1 , b : 2 , c : 3 } } ; // (basic matchers) // value as matcher assert ( match ( value , value
【文件预览】:
beater-matcher-master
----.eslintrc.json(446B)
----.dependabot()
--------config.yml(531B)
----src()
--------index.ts(231B)
--------matchers.ts(1KB)
--------helper.ts(168B)
--------matcher.ts(1KB)
----.travis.yml(56B)
----tsconfig.json(546B)
----LICENSE(1KB)
----test()
--------example.ts(846B)
--------index.ts(262B)
--------matchers.ts(3KB)
--------helper.ts(277B)
--------matcher.ts(2KB)
----README.md(2KB)
----.gitignore(49B)
----CHANGELOG.md(2KB)
----package-lock.json(265KB)
----package.json(2KB)

网友评论