共 7 篇文章
- nodejs
- nodejs Electron
- nodejs
- Ubuntu nodejs
- Linux nodejs
- nodejs npm
- nodejs npm
M 原 Nest websocket 匿名 发布于 2021-01-10 16:18:46 19
# Nest websocket ## 示例代码 在介绍nestjs之前,先让大家看一看nestjs的示例代码。 1. HTTP接口 ```typescript @Controller('socket') @UseGuards(AdminGuard) export class SocketController { private logger: Logger =
-
分类:
M 原 NodeJS常用包介绍--slash 匿名 发布于 2020-09-20 21:35:38 131
#### NPM 地址 https://www.npmjs.com/package/slash #### Github 地址 https://github.com/sindresorhus/slash #### 版本 ``` 2.0.0 ``` #### 安装 ``` npm install slash ``` #### 简介 用于转换
-
分类:
M 转 NodeJs Http 外网访问 匿名 发布于 2020-05-27 16:52:55 82
# [NodeJs Http 外网访问](https://www.cnblogs.com/myfield/p/4329495.html) NodeJs 官方代码: example.js http ```js var http = require('http'); http.createServer(function (req, res) { res.writ
-
分类:
M 原 Ubuntu16.04安装最新版nodejs(2018) 匿名 发布于 2020-05-27 16:47:00 92
# Ubuntu16.04安装最新版nodejs(2018) 1,执行检查可更新的软件:sudo apt-get update 2,先用普通的apt工具安装低版本的node,然后再升级最新。 sudo apt-get install nodejs sudo apt install nodejs-legacy sudo apt install npm 3,更换淘宝的镜像,这个
-
分类:
M 原 云服务器部署nodejs项目 匿名 发布于 2020-05-27 16:46:00 73
# [云服务器部署nodejs项目](https://www.cnblogs.com/yck123/p/11829423.html) 云服务器部署nodejs项目,我选的是centOS的liunx安装系统 1:进入远程连接安装nodejs,由于本地安装失败,我采用yum安装成功, 安装命令 ```bash yum install -y nodejs 这时默认安
-
分类:
R 原 node和npm一行命令升级最新版本 匿名 发布于 2019-05-17 01:41:15 60
升级node.js和npm 一行命令搞定npm和node.js的升级,省去了重新编译和安装的过程。 升级node.js npm中有一个模块叫做“n”,专门用来管理node.js版本的。更新到最新的稳定版只需要在命令行中打下如下代码: npm install -g n n stable //如需最新版本则用 n l
-
分类:
R 转 Ubuntu16.04下安装Node.js 和npm 匿名 发布于 2018-12-20 12:38:05 52
一、从官网下载安装包 sudo wget https://nodejs.org/dist/v9.5.0/node-v9.5.0-linux-x64.tar.xz 二、解压并移动到指定文件夹 sudo tar -xvf node-v9.5.0-linux-x64.tar.xz sudo cp node-v9.5.0-linux-x64/bin/node /usr/local/bi
-
分类: