-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node.js学习笔记 #17
Comments
|
使用
处理异步
|
npm的替代品ied,like npm, but run faster |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
试了很多种方法, 最后发现nvm安装是最方便的
查看node.js的发行版本
如果出现下面错误,node未找到命令可以使用下面方法
在 PHP 中, 包管理使用的 Composer, python 中,包管理使用 easy_install 或者 pip,ruby 中我们使用 gem。而在 Node.js 中,对应就是 npm,npm 是 Node.js Package Manager 的意思。
设置npm为淘宝镜像
或直接使用cnpm, 接下来每次都使用cnpm安装
express
express-generator
快速生成express项目route路由, get. post, put/patch, delete
package.json
和ultity.md5()加密http://localhost:4000/?q=st
md5加密之后
627fcdb6cc9a5e16d657ca6cdef0a6bb
7.
superagent
和cherrio
爬虫superagent
爬取cnodejs网站的信息
netstat -nap | grep node
查看node.js打开的端口使用
kill -9 8035
杀死进程, 其中8035是pid11.Mongodb 与 Mongoose 的使用
The text was updated successfully, but these errors were encountered: