Skip to content

Commit c6167ee

Browse files
committed
添加包调用
1 parent 85f9535 commit c6167ee

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

.npmignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
build/
2+
node_modules/
3+
.deploy
4+
template/

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,15 @@ Linux Command
2121
- [设备管理](#设备管理) Device Commands
2222
- [电子邮件与新闻组](#电子邮件与新闻组)
2323
- [其他命令](#其他命令) Misc Commands
24+
- [Node调用](#node调用)
2425

2526
- [Linux学习资源整理](#linux学习资源整理)
2627
- [社区网站](#社区网站)
2728
- [知识相关](#知识相关)
2829
- [软件工具](#软件工具)
2930
- [中国开源镜像站点](#中国开源镜像站点)
3031

32+
3133
## Linux命令分类
3234

3335
*这里存放Linux 命令大全并不全,你可以通过[linux-command](https://jaywcjlove.github.io/linux-command/)来搜索,它是把 [command](./command) 目录里面搜集的命令,生成了静态HTML并提供预览以及索引搜索。*
@@ -80,8 +82,23 @@ archive、ctlinnd、elm、getlist、inncheck、mail、mailconf、mailq、message
8082

8183
yes
8284

85+
### Node调用
86+
87+
```
88+
npm install linux-command
89+
```
90+
91+
92+
```js
93+
var comm = require("linux-command")
94+
console.log("---->",comm.ls)
95+
96+
```
97+
98+
8399
## Linux学习资源整理
84100

101+
85102
### 社区网站
86103

87104
- [Linux中国](https://linux.cn/) - 各种资讯、文章、技术

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "linux-command",
33
"version": "1.0.0",
44
"description": "Linux Command",
5-
"main": "dist/data.js",
5+
"main": "dist/data.json",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1",
88
"start": "node build/compile.js",

0 commit comments

Comments
 (0)