Socket
Socket
Sign inDemoInstall

ftank

Package Overview
Dependencies
314
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ftank

此 module 将 ftp、kingsoft cdn、Monitor、Mysql、Mongodb、Redis 等 api 进行了封装,安装指令: npm install ftank --save


Version published
Weekly downloads
451
decreased by-36.03%
Maintainers
1
Install size
118 MB
Created
Weekly downloads
 

Readme

Source

项目概要信息

此 module 将 ftp、kingsoft cdn、Monitor、Mysql、Mongodb、Redis 等 api 进行了封装,安装指令: npm install ftank --save

此模块只适用于第三方 module

包含如下内容:
  1. mysql 连接池
  2. log4js
  3. redis
  4. mongodb 连接池
  5. ks3 金山云 cdn
  6. 金睛服的鉴黄 url
  7. 日期操作等公用函数
  8. ftp
  9. 导出 csv
  10. 读取 mdb 数据库
  11. md5

版本说明:

  1. 1.2.0 新增 Monitor
  2. 1.2.2 common.js 添加 GameModes
  3. 1.2.3 更新 readme.md
  4. 1.2.4 删除 node-adodb
  5. 1.2.5 删除 node-adodb node_modules
  6. 1.2.6 删除 node-adodb 引用
  7. 1.2.7 删除 外部引用 crypto 该模块为 Node 内置模块,无需再 package 中引用
  8. 1.2.8 删除 Ks3 外部引用 crypto 该模块为 Node 内置模块,无需再 package 中引用
  9. 1.2.9 修复 Monitor 断线重连问题
  10. 1.2.10 修复 FTP 上传的 bug,添加 ffmpegpath,解决 pm2 启动后 Error: Cannot find ffmpeg
  11. 1.2.11 去除日志信息
  12. 1.2.12 增加 ks3 cdn 配置的 undefined 判断
  13. 1.2.13 添加 isArray 判断对象是否为数组
  14. 1.3.0 添加 ff 获取 fileinfo
  15. 1.3.1 修改 ff 获取 fileinfo 的 callback 返回值,添加 error 信息
  16. 1.3.2 添加 8 位 YYYYMMDD 的字符转日期
  17. 1.3.3 添加日志类型
  18. 1.3.4 删除业务日志累心
  19. 1.3.5 修复获取周数据值的 bug
  20. 1.3.6 ks3 的 cdn 删除如果 error,将 key 也作为提示信息返回
  21. 1.4.0 增加 Mysql 与对象的封装
  22. 1.4.1 简化 Mysql 封装方法
  23. 1.4.2 简化代码
  24. 1.4.3 新增自定义 sql
  25. 1.4.4 新增批量加载文件 loaddir
  26. 1.5.0 新增根据 Mysql 数据库表自动生成 Entity.js 文件
  27. 1.5.1 修复自动生成的路径 bug
  28. 1.5.2 修复自动生成的路径 bug2
  29. 1.5.3 修复自动生成 Entity 模块的数据库名字实例
  30. 1.5.4 修复 Monitor 断线重连的 Bug
  31. 1.5.5 修复 Monitor 断线重连的 Bug,rpc undefined
  32. 1.5.6 修复 inittime 时间缺少十分秒 由于验证邮箱失败所以跨过一个 1.5.7 版本
  33. 1.5.8 修复连接 redis 后未断开连接的 bug
  34. 2.1.0 添加 bi 功能
  35. 2.1.1 修改 bi 的 creative
  36. 2.1.2 修改 bi 的 creative
  37. 2.1.3 添加 ffmpeg 添加水印位置
  38. 2.1.4 修改 ffmpeg bug
  39. 2.1.5 修改 log4js 日志文件名字,去掉点
  40. 2.1.6 添加 log4js 模块到 index 中
  41. 2.1.7 添加 Buffer 转 Int32
  42. 2.1.8 去除 redis 数据库
  43. 2.1.9 去除 redis 数据库
  44. 2.1.10 去除 redis 数据库
  45. 2.1.12 为了适应操作系统 2008 server 将 redis 数据库还原回来
  46. 2.1.13 添加 calcHour5Seq
  47. 2.2.0 添加 ExpressServer
  48. 2.2.1 更新文档
  49. 2.2.2 升级 express,log4js 版本
  50. 2.2.3 添加腾讯存储桶上传和删除单个文件功能
  51. 2.2.4 去除 log 信息
  52. 2.2.5 cos 添加 getBucket 功能
  53. 2.2.6 cos 代码优化,去除 option 参数
  54. 2.2.7 修改 RpcCenter 导入方式
  55. 2.2.8 解决 fluent-ffmpeg Cannot find ffprobe 添加 getFfprobeVideoFormat
  56. 2.2.9 添加 downloadFile 函数
  57. 2.2.10 修改 DownloadFile 名称
  58. 2.2.11 升级 msrpc 版本
  59. 2.2.12 更新 Monitor 断线重连时间,5 秒一次
  60. 2.2.13 去除 redis 的无效数据
  61. 2.2.14 优化 getBucket 功能,支持 cos
  62. 2.2.15 添加是否显示 monitor log 信息 func
  63. 2.2.16 添加字符转 Unicode 编码
  64. 2.2.17 去除日期格式化中的时区默认值问题
  65. 2.2.18 优化 fluent-ffmpeg 添加水印运行效率,同时也降低了 cpu 的占用时间,文件也同时进行了压缩
  66. 2.2.19 ExpressServer 添加返回 express 对象
  67. 2.2.20 进一步封装 ExpressServer 对象
  68. 2.2.21 修改 log4js 路径 bug

FAQs

Last updated on 27 Jun 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc