@moohng/validator
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "@moohng/validator", | ||
"version": "1.0.1", | ||
"description": "一款简单的字段校验工具", | ||
"version": "1.0.2", | ||
"description": "一款简单、轻量的字段校验工具", | ||
"main": "dist/validator.min.js", | ||
@@ -17,4 +17,8 @@ "module": "index.js", | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git@github.com:moohng/validator.git" | ||
}, | ||
"author": "Kevin", | ||
"license": "ISC", | ||
"license": "MIT", | ||
"devDependencies": { | ||
@@ -21,0 +25,0 @@ "babel-core": "^6.26.0", |
// import validator from '../lib/validator' | ||
const validator = require('@moohng/validator') | ||
console.log('------', validator); | ||
const rules = { | ||
@@ -7,0 +5,0 @@ name: { |
Sorry, the diff of this file is not supported yet
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
143605
13
1
156
2
323