guess-game-url

1.0.0 • Public • Published

使用步骤

1. 安装

npm i guess-game-url

2. 导入服务器

const { server } = require('guess-game-url')

3. 启动服务器

server.listen(3000, () => {
  console.log("Game server started at http://localhost:3000");
});

4. 前端请求

// guess 是查询参数
http://localhost:3000/?guess=66

Readme

Keywords

Package Sidebar

Install

npm i guess-game-url

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

1.81 kB

Total Files

3

Last publish

Collaborators

  • humbertcheung