摘要:
http相关modules HTTP – the Standard Library Request Axios SuperAgent 推荐使用axios 或者super agent 使用axios和superagent的get const axios = require('axios'); axio 阅读全文
posted @ 2020-07-06 09:57
iTech
阅读(4966)
评论(0)
推荐(0)
摘要:
获取进程相关的基本信息 #!/bin/env node console.log (process.execPath) console.log (process.cwd()) console.log (process.pid) let user = process.env.USER || "" con 阅读全文
posted @ 2020-07-06 09:50
iTech
阅读(1329)
评论(0)
推荐(0)
摘要:
nodejs读写yaml npm install -g js-yaml // read.js const fs = require('fs'); const yaml = require('js-yaml'); try { let fileContents = fs.readFileSync('./ 阅读全文
posted @ 2020-07-06 09:38
iTech
阅读(3129)
评论(0)
推荐(1)

浙公网安备 33010602011771号