当前位置:网站首页>Write a simple nodejs script
Write a simple nodejs script
2022-07-03 12:27:00 【Chengfeng XS】
1. Create a script folder
2. initialization
npm init -y3. stay package.json Add script command to file
"bin": {
"recat": "./index.js"
},4. The same as creating in the directory index.js file , Content
#!/usr/bin/env node
const argvArr = process.argv;
console.log(argvArr);5. Run the command
npm link
6. You can run the script on the command line
recat边栏推荐
- 剑指Offer06. 从尾到头打印链表
- Systemverilog-- OOP--对象的拷贝
- Fundamentals of concurrent programming (III)
- (构造笔记)MIT reading部分学习心得
- temp
- Unicode encoding table download
- temp
- [combinatorics] permutation and combination (example of permutation and combination)
- Sword finger offer10- I. Fibonacci sequence
- Integer string int mutual conversion
猜你喜欢

Shardingsphere sub database and sub table < 3 >

Integer string int mutual conversion

Php Export word method (One MHT)

Shutter: add gradient stroke to font

PHP export word method (one MHT)

剑指Offer06. 从尾到头打印链表

ES6新特性

OpenGL index cache object EBO and lineweight mode

Swagger
![[MySQL special] read lock and write lock](/img/ac/e01c26882cc664ea2e5e731c5a8bab.png)
[MySQL special] read lock and write lock
随机推荐
Capturing and sorting out external Fiddler -- Conversation bar and filter [2]
Shell: basic learning
If you can't learn, you have to learn. Jetpack compose writes an im app (I)
剑指Offer06. 从尾到头打印链表
4000字超详解指针
Summary of development issues
MySQL time zone solution
lambda与匿名内部类的区别
Shutter: add gradient stroke to font
Eureka self protection
Systemverilog-- OOP--对象的拷贝
The future of cloud computing cloud native
手机号码变成空号导致亚马逊账号登陆两步验证失败的恢复网址及方法
PHP export word method (one MHT)
[official MySQL document] deadlock
Wechat applet development - page Jump transfer parameters
Lambda表达式
Take you to the installation and simple use tutorial of the deveco studio compiler of harmonyos to create and run Hello world?
102. Sequence traversal of binary tree
OpenGL draws colored triangles