update readme add tested node version

This commit is contained in:
dongyado 2020-02-20 16:57:50 +08:00
parent e33004f319
commit ff535a79f4
2 changed files with 19 additions and 1 deletions

View File

@ -2,11 +2,26 @@
官方维护的 ip2region, 每次数据更新后会更新到 npm
## Install
**node 版本 : >= 6.0.0**
```
npm install node-ip2region --save
```
## 已测试通过的 node 版本列表
```
6.0.0
6.11.2
8.0.0
10.0.0
12.0.0
```
## Example
```

View File

@ -1,6 +1,6 @@
{
"name": "node-ip2region",
"version": "1.0.1",
"version": "1.0.2",
"description": "official nodejs client of ip2region",
"main": "ip2region.js",
"scripts": {
@ -26,5 +26,8 @@
"devDependencies": {
"jest": "^19.0.2",
"benchmark": "^2.1.4"
},
"engines": {
"node" : ">=6.0.0"
}
}