Giter Club home page Giter Club logo

Comments (1)

atian25 avatar atian25 commented on June 19, 2024
  1. 如果要发布,应该是只发布example目录,具体作法是:
  • cd example
  • npm install ../ 或 npm install weixin-robot  前者是我们类库开发者用的, 后者是用于安装我们发布到npm服务器的类库.
  • npm install 安装其他依赖。

2.对于你自己的项目, 那就应该只拷贝example目录, 然后改为你自己的名字, 然后随便DIY

3.lib目录里面就是类库的对应内容了。

  • webot 为主类,开发者主要是用这个类
  • info 为微信消息结构体的封装
  • action 为路由规则的定义和逻辑
  • middlewares 为express中会用到的route, 一般不直接用该类, 它已经被webot代理了。
  • utils 为辅助类

4.你可能需要了解的相关知识:

  • nodejs的模块机制
  • npm install
  • require

from weixin-robot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.