• 开发中常用npm包随用随记


    path

    fs

    http

    query

    events

    pm2 - 进程管理工具

    cluster - 生成多个进程并行管理

    bluebird - 异步请求promise

    async - 异步请求

    node-http2 - http2服务器

    superAgent - http/request代理模块

    debug - 调试

    morgan - http请求日志

    logger - 请求日志记录

    winston、express-winston-日志

    http-error - http请求错误日志记录

    errorhandler - 错误手柄日志

    log4js - 日志处理和记录

    express-json - json处理模块

    body-parse - 解析响应体body中间件

    cookie-parse - cookie解析和序列化的中间件

    cookie-session - 以cookie的基础的session中间件

    express-session - 操作session的中间件

    supervisor- 监听

    nodemon - 修改监听 (http://nodemon.io/)

    config-lite - 配置

    connect-flash - 消息通知

    helmet - 最大程度的确保我们 API 的安全性,应用程序应对多种类型的攻击。 

    underscore - JS工具库

    lodash - JS工具库

    sha1 - 使用sha1算法对字符串加密

    crypto - 通用的加密和哈希算法

    connect-mongo - connect框架封装的mongodb模块

    mongoose - mongodb模块

    mongolass - mongodb模块

    redis - 常用的非关系型数据库

    socket.io - 实时通信服务器

    Sequelize - 基于ES6 Promise的操作关系型数据库的ORM框架模块

    express-http-proxy - 解决跨域问题

    express-formidable - 文件上传

    multer - 官方推荐,文件上传

    joi - 语义化模式验证

    validator - 字符串验证

    eslint - 基于AST的模式检测器,用作代码错误、风格检测

    moment - 日期

    express-favicon - 设置favicon

    ejs - html模板引擎(<%%>)

    jade/pug - html模板引擎(缩进)

    express-validator - 验证请求和字符串的中间件

  • 相关阅读:
    虚拟机搭建FISCO BCOS的区块链浏览器
    linux下安装cmake
    Compile error: Cannot find a C++ compiler that supports both C++11 and the specified C++ flags
    Mac安装CMake
    Mac下如何添加User到group中
    Macos 安装md5sum、sha1sum、md5deep、sha1deep
    Support Vector Regression(SVR) 资料
    Python pandas dataframe
    python用pd.read_csv()方法来读取csv文件
    python pandas 交叉表, 透视表
  • 原文地址:https://www.cnblogs.com/mimifeng/p/9436262.html
Copyright © 2020-2023  润新知