zoukankan      html  css  js  c++  java
  • NodeJS 常用模块

    NodeJS 模块:

    n:NodeJS 版本管理/切换

      参考:

        https://github.com/tj/n

    ExpressJS:Web 框架

      参考:

        http://expressjs.com/

        

    morgan:ExpressJS 日志中间件

      参考:

        https://github.com/expressjs/morgan

    express-enrouten:ExpressJS 路由自动注册中间件

      参考:

        https://www.npmjs.com/package/express-enrouten

        https://github.com/krakenjs/express-enrouten

    SuperAgent:模拟 HTTP 请求

      参考:

        https://github.com/visionmedia/superagent

        http://visionmedia.github.io/superagent/

        https://www.npmjs.com/package/superagent

    request:模拟 HTTP 请求

      参考:

        https://github.com/request/request

        https://www.npmjs.com/package/request

        http://www.sitepoint.com/making-http-requests-in-node-js/

    xlsx:读写 Excel 文件。

      参考:

        https://www.npmjs.com/package/xlsx

    connect-multiparty:读取上传到 NodeJS 服务器的文件。

      参考:

        https://www.npmjs.com/package/connect-multiparty

        http://chensd.com/2015-01/Node-js-Ajax-Upload-File.html

    uuid:生成 GUID 。

      参考:

        https://www.npmjs.com/package/uuid

    Moment:Moment.js 是一个 JavaScript 日期处理类库,用于解析、检验、操作、以及显示日期

      参考:

        http://momentjs.com/

        http://www.momentjs.cn/

    bookshelf: NodeJS 平台下不错的 ORM 框架。

      参考:

        http://bookshelfjs.org/

        https://github.com/tgriesser/bookshelf

        http://www.tuicool.com/articles/7BVNFz

        http://blog.csdn.net/zhulin2609/article/details/50185065

    resource-router-middleware:nodejs web 框架 express 的中间件。

      参考:

        https://github.com/developit/resource-router-middleware

    knex.js:持久化框架。

      参考:

        http://knexjs.org/

        https://github.com/tgriesser/knex

    关于使用 Visual Studio Code 开发 NodeJS 应用:

    在用 Visual Studio Code 进行开发时,还可以用 npm install tsd 。然后通过 tsd 的 CLI (Command Line Interface),安装上面对应模块的 tsd 文件。这样在写代码时就有了 Intellisense 功能了。可以参考:http://www.cnblogs.com/NodeStudy/p/5095670.html

    本博客内容,如需转载请务必保留超链接。

    Contact Me:Mail此处省略好几个字...
  • 相关阅读:
    Leetcode979 : Distribute Coins in Binary Tree 二叉树均匀分配硬币问题
    Leetcode547: Friend Circles 朋友圈问题
    线程安全的生产者消费者四种实现方法
    Leetcode823 : 因子二叉树问题
    Leetcode7 : Reverse Integer 整数反转问题
    Leetcode3 : 最长不含重复字符子串问题
    Leetcode6 : ZigZag 转换问题
    leetcode8 : 实现atoi函数将字符串转化为整数问题
    seo域名选择
    利用 Python django 框架 输入汉字,数字,字符,等。。转成二维码!
  • 原文地址:https://www.cnblogs.com/jroger/p/5198324.html
Copyright © 2011-2022 走看看