Jim*_*Jim 1 javascript node.js express socket.io
我对 Node.JS 非常陌生(如果可以帮助您进行任何比较,我的背景是 Unity C#)。
我在 Socket.IO 的聊天教程
http://socket.io/get-started/chat/
我不明白这是什么意思
First let’s create a package.json manifest file that describes our project.
I recommend you place it in a dedicated empty directory (I’ll call mine
chat-example).
{
"name": "socket-chat-example",
"version": "0.0.1",
"description": "my first socket.io app",
"dependencies": {}
}
Now, in order to easily populate the dependencies with the things we need, we’ll
npm install --save express@4.10.2
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1423 次 |
| 最近记录: |