# 2019.07.31
[文章] Visual Studio Code 远程开发探秘:https://juejin.im/post/5d40f9555188255d4e1c0aff (opens new window)
[文章] 手把手教你使用 Netlify 实现前端的 自动部署 + HTTPS:https://www.cnblogs.com/codernie/p/9062104.html (opens new window)
[文章] Cheerio 这个库,可以像使用 XPath 一样,对网页的数据进行抓取分析:https://www.jianshu.com/p/843ade9bf6df (opens new window)
[类库] kill-port-process 可以根据端口号,停止一个进程:https://github.com/hilleer/kill-port-process (opens new window)
[类库] clipboardy 可以使用这个类库操作系统剪切板:https://github.com/sindresorhus/clipboardy (opens new window)
# 示例 - clipboardy
const clipboardy = require('clipboardy');
clipboardy.writeSync('🦄');
clipboardy.readSync();
//=> '🦄'
# 示例 - kill-port-process
const killPortProcess = require('kill-port-process');
const PORT = 1234; // long-running process running on this, e.g. a web-server.
await killPortProcess(PORT); // takes a number or a number[]
# 示例 - cheerio
const cheerio = require('cheerio')
const $ = cheerio.load('<h2 class="title">Hello world</h2>')
$('h2.title').text('Hello there!')
$('h2').addClass('welcome')
$.html()
//=> <h2 class="title welcome">Hello there!</h2>