egg
nodemon
: 開發(fā)環(huán)境重啟
egg-bin
common-bin
: GitHub - node-modules/common-bin: Abstraction bin tool對不同的運行模式進行了區(qū)分
egg-cluster
Egg 源碼解析之 egg-cluster - 前端 - 掘金
使用庫:
get-ready
: GitHub - node-modules/ready: NodeJS mixin to add one-time ready eventready 方法注冊和啟動
detect-port
: GitHub - node-modules/detect-port: JavaScript Implementation of Port Detector判斷端口是否占用
cfork
: GitHub - node-modules/cfork: cluster fork and restart easy waycluster fock 和 restart 封裝
debug
: GitHub - visionmedia/debug: A tiny JavaScript debugging utility modelled after Node.js core’s debugging technique. Works in Node.js and web browsers后端日子打點
egg
delegates
: GitHub - tj/node-delegates: Nodejs method and accessor delegation utility對對象新增屬性和方法
url
: GitHub - defunctzombie/node-url: node.js core url module as a module url 基本操作
glob
: GitHub - isaacs/node-glob: glob functionality for node.js glob檢索文件
mocha
: https://github.com/mochajs/mocha 單元測試
power-assert
: GitHub - power-assert-js/power-assert: Power Assert in JavaScript. Provides descriptive assertion messages through standard assert interface. No API is the best API. 斷言
ulility
: GitHub - node-modules/utility: A collection of useful utilities. 基礎(chǔ)工具類
camelcase
: GitHub - sindresorhus/camelcase: Convert a dash/dot/underscore/space separated string to camelCase: foo-bar → fooBar 轉(zhuǎn)成駝峰寫法
mkdirp
: GitHub - substack/node-mkdirp: Recursively mkdir, like mkdir -p
, but in node.js mkdir -p 的 node.js 版本
koa-compose
: GitHub - koajs/compose: Middleware composition utility 需要源碼掌握
mz
: GitHub - normalize/mz: modernize node.js to current ECMAScript standards node基礎(chǔ)API支持新的ECMAScript 規(guī)范乳附,例如promise
is-type-of
: GitHub - node-modules/is-type-of: complete type checking for node
path-to-regexp
: path解析器
moment
: JS 日期 format 闯捎,validator 等
egg-schedule
cron-parser
: GitHub - harrisiirak/cron-parser: Node.js library for parsing crontab instructions nodejs定時器分析
safe-timers
: GitHub - Wizcorp/safe-timers: Timers with near-infinite duration support setTimeout最多使用24.85天,所以用safe-times
egg-onerror
stack-trace
: 解析錯誤棧