Node.js常用的后端開發(fā)模塊整理



整理下在eggjs開發(fā)中常用的后端模塊,部分模塊egg專屬
驗(yàn)證相關(guān)
egg-jwt
$ npm i egg-jwt --save
處理跨域請(qǐng)求
egg-cors
$ npm i egg-cors --save
處理異常
egg-errors
$ npm i egg-errors --save
數(shù)據(jù)庫(kù)
egg-mongoose
$ npm i egg-mongoose --save
輸入?yún)?shù)驗(yàn)證
egg-validate
$ npm i egg-validate --save
加密
md5
$ npm i md5 --save
時(shí)間格式處理
moment
$ npm i moment --save
郵件發(fā)送
nodemailer
$ npm i nodemailer --save
APP推送
jpush-async
$ npm i jpush-async --save
TAGS:沒有標(biāo)簽