当前位置:网站首页>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边栏推荐
猜你喜欢

Talk about the state management mechanism in Flink framework

Php Export word method (One MHT)

Summary of development issues

雲計算未來 — 雲原生

剑指Offer05. 替换空格

Qt+vtk+occt reading iges/step model

Itext7 uses iexternalsignature container for signature and signature verification

Shutter: overview of shutter architecture (excerpt)

PHP導出word方法(一mht)

(构造笔记)ADT与OOP
随机推荐
Shutter widget: centerslice attribute
The future of cloud computing cloud native
Systemverilog-- OOP--对象的拷贝
Recovery of website address and method of Amazon account login two-step verification failure caused by mobile phone number becoming empty
repo Manifest Format
2.9 overview of databinding knowledge points
Basic knowledge of OpenGL (sort it out according to your own understanding)
写一个简单的nodejs脚本
Shutter: add gradient stroke to font
Socket TCP for network communication (I)
Lambda expression
4000字超详解指针
SystemVerilog -- OOP -- copy of object
Prompt unread messages and quantity before opening chat group
2020-10_ Development experience set
239. Sliding window maximum
Use of atomicinteger
【嵌入式】---- 内存四区介绍
Applet wxss introduction
网络通讯之Socket-Tcp(一)