
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@zenorm/generate
Advanced tools
ZenORM Table Structure Code Generation Tool
表结构代码生成工具
| 配置项 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| host | string | 无 | 目标数据库地址 |
| port | number | 无 | 数据库端口 |
| user | string | 无 | 数据库用户名 |
| password | string | 无 | 数据库密码 |
| database | string | 无 | 数据库名 |
| outputDir | string | './src/model' | 代码输出目录 |
| tablesFilename | string | '_tables' | 生成数据库表结构文件名 |
| repositoriesFilename | string | '_repositories' | 生成 repositories 文件名 |
| globalFilename | string | 无 | 全局文件名 - 如果设置所有表将继承于此 - 例如设置为:'_global' - 如果文件不存在则自动创建 |
| bindQuery | boolean | false | repositories 文件生成 bindQuery(query: QueryParam) 方法用于设置模型的 Query 源 - 并生成模型的静态 Repository 方法 |
| generateRepositories | boolean | false | 是否生成 Repositories 类 - 通常用于多租户模式做数据库前置绑定 Query 对象 |
| declareRepositoriesToModules | string[] | 无 | 是否需将 Repositories 实例定义到目标模块中 - 例如: ["@zenweb/core.Core.repositories"] |
| filter | string | 无 | 表过滤规则正则 |
| include | string | 无 | 表包含规则正则 |
FAQs
Easy ORM, easy query. easy typing! Auto generate typescript declaration.
The npm package @zenorm/generate receives a total of 1 weekly downloads. As such, @zenorm/generate popularity was classified as not popular.
We found that @zenorm/generate demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.