Skip to content

Commit

Permalink
add credit card
Browse files Browse the repository at this point in the history
  • Loading branch information
YutangShi committed Feb 18, 2018
1 parent 44747e2 commit c176379
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ Validate data fields formet in JavaScript
## Usage

```bash
npm i form-validation --save
npm i @yutangshi/form-validation --save
```

```js
const formValidation = require('formValidation');
const form = new formValidation(); // Get the validation object

// Validate user name input. 驗證姓名不可為數字或特殊符號。
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@yutangshi/form-validation",
"version": "1.0.6",
"version": "1.0.7",
"description": "Validate each field data format in JavaScript ",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit c176379

Please sign in to comment.