UNPKG

hd-types-check

Version:

hd-types-check 是一个校验实例类型的库,支持js的所有基本类型包括string、number、null、boolean、undefined,引用类型包括object、array、function、date。

27 lines (26 loc) 549 B
{ "name": "hd-types-check", "version": "1.0.2", "main": "index.js", "license": "MIT", "scripts": { "test": "mocha" , "cleanLib": "rimraf lib", "bableBuild": "babel src --out-dir lib", "prepub": "npm run cleanLib && npm run bableBuild" }, "keywords": [ "types", "types-check", "typeof" ], "dependencies": {}, "devDependencies": { "@babel/cli": "^7.16.0", "@babel/core": "^7.16.0", "@babel/preset-env": "^7.16.4", "jshint": "^2.13.1", "mocha": "^9.1.3", "rimraf": "^3.0.2" } }