
Security News
Rust 1.100 Will Add Dependency Cooldowns to Cargo
Rust 1.100 will add opt-in dependency cooldowns to Cargo, giving security scanners and maintainers time to catch malicious crate releases.
@apform-ui/utils
Advanced tools
@schema-ui 通用工具函数,无 UI 依赖的纯逻辑。
npm install @apform-ui/utils
| 函数 | 说明 |
|---|---|
debounce(fn, delay) | 防抖 |
throttle(fn, interval) | 节流 |
deepClone(obj) | 深拷贝 |
deepMerge(target, source) | 深合并 |
isEmpty(value) | 判断空值 |
formatBytes(bytes) | 格式化字节 |
formatDate(date, format) | 格式化日期 |
formatNumber(num, decimals) | 千分位格式化 |
isEmail(value) | 邮箱验证 |
isPhone(value) | 手机号验证 |
isUrl(value) | URL 验证 |
isIdCard(value) | 身份证验证 |
import { debounce, formatBytes, isEmail } from '@apform-ui/utils'
const debounced = debounce(() => console.log('hi'), 300)
formatBytes(1048576) // "1.0 MB"
isEmail('test@example.com') // true
FAQs
@schema-ui 通用工具函数 — 无 UI 依赖的纯逻辑
We found that @apform-ui/utils 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.

Security News
Rust 1.100 will add opt-in dependency cooldowns to Cargo, giving security scanners and maintainers time to catch malicious crate releases.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.