nodejs常用组件
生活随笔
收集整理的這篇文章主要介紹了
nodejs常用组件
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
mssql
用途:連接SqlServer數據庫
?
node-excel-export
用途:導出excel表格
?
nodegrass
用途:模擬用戶進行get/post請求,下載文件等
?
uuid
用途:生成全球唯一標識的.
官網:https://npm.taobao.org/package/uuid
示例:
import uuid from 'uuid';console.log("36位uuid:",uuid.v4()); //結果:36位uuid: 36aa0b6a-da78-4ef5-b526-689a7c86dca6console.log("32位uuid:",uuid.v4().replace(/-/g,"")); //結果:32位uuid: ee935af8026a4011aa09492cff210bfb?
總結
以上是生活随笔為你收集整理的nodejs常用组件的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: nodejs基于art-template
- 下一篇: pictureBox1.Image的获得