添加包调用

This commit is contained in:
jaywcjlove 2016-12-11 00:18:11 +08:00
parent 85f9535885
commit c6167ee319
3 changed files with 22 additions and 1 deletions

4
.npmignore Normal file
View File

@ -0,0 +1,4 @@
build/
node_modules/
.deploy
template/

View File

@ -21,6 +21,7 @@ Linux Command
- [设备管理](#设备管理) Device Commands
- [电子邮件与新闻组](#电子邮件与新闻组)
- [其他命令](#其他命令) Misc Commands
- [Node调用](#node调用)
- [Linux学习资源整理](#linux学习资源整理)
- [社区网站](#社区网站)
@ -28,6 +29,7 @@ Linux Command
- [软件工具](#软件工具)
- [中国开源镜像站点](#中国开源镜像站点)
## Linux命令分类
*这里存放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
yes
### Node调用
```
npm install linux-command
```
```js
var comm = require("linux-command")
console.log("---->",comm.ls)
```
## Linux学习资源整理
### 社区网站
- [Linux中国](https://linux.cn/) - 各种资讯、文章、技术

View File

@ -2,7 +2,7 @@
"name": "linux-command",
"version": "1.0.0",
"description": "Linux Command",
"main": "dist/data.js",
"main": "dist/data.json",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node build/compile.js",