Skip to content

Commit bc50174

Browse files
committed
update package.json
1 parent 673346b commit bc50174

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Readme.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1+
## Installation
2+
3+
`npm i js-validate-type --save`
4+
15
## How to using
26

37
```js
8+
import { Type, string } from 'js-validate-type';
9+
410
const Person = new Type({
511
name: string,
612
books: [string],

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@
1818
"type validate"
1919
],
2020
"author": "Nguyễn Chí Thanh",
21+
"repository": "https://github.com/thanhngch/js-validate-type",
2122
"engines": {
22-
"node": ">=10"
23+
"node": ">=8"
2324
},
2425
"files": [
2526
"build"

0 commit comments

Comments
 (0)