Skip to content

Commit 9700ce8

Browse files
authored
Update README.md
1 parent 312bfaa commit 9700ce8

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,25 @@ https://www.zhihu.com/question/36292298
4545
###Commander
4646

4747
commander是一个轻巧的 nodejs 模块,提供了用户命令行输入和参数解析强大功能。commander源自一个同名的Ruby项目。
48+
任意拷贝一个空的package.json
4849

49-
安装
50+
```
51+
{
52+
"name": "xsy-test-01",
53+
"version": "0.0.1",
54+
"description": "commander",
55+
"main": "index.js",
56+
"scripts": {
57+
"test": "echo \"Error: no test specified\" && exit 1"
58+
},
59+
"author": "zimo",
60+
"license": "MIT",
61+
"dependencies": {
62+
}
63+
}
5064
65+
```
66+
安装 commander
5167
```
5268
npm install --save commander
5369
```

0 commit comments

Comments
 (0)