@wener/utils
v1.1.51
Published
Utils for daily use
Downloads
393
Maintainers
Readme
Daily use utils
- Zero Dependencies
- ESM first
- Common typing
- Merging of some small util packages or alternative with modernization and improvement
- dlv
- is-buffer
- https://github.com/lukeed/dset
- https://github.com/lukeed/templite
- https://github.com/lukeed/rosetta
- https://github.com/sindresorhus/camelcase
- https://github.com/triggerdotdev/trigger.dev/blob/main/packages/core-backend/src/bloom.ts
- ohash
- humanlize-duration
- morgan
- see also
- https://github.com/Daninet/hash-wasm
日用工具集
- 默认 0 依赖
- 默认 ESM
- 面向 bundler
- 又 bundler 来做 tree shaking
- 目前不提供 bundle 的 dist js
- 提供 中国 相关的工具
- 身份证解析 解析/校验/生成
- 行政区划代码 解析/查询
- 提供三级 json data - 约 100kb 的 JSON
- 统一社会信用代码 解析/校验/生成
- 拼音 查询 - 约 145kb 的 JSON
- 合并了一些小工具包或者替代品,进行现代化和改进
- randomUUID
- ULID
- ms
- dlv
- is-buffer
- dset
- templite
- rosetta
- camelcase
References
- Events
- mitt MIT
- < 200b - 因此功能有限
- .once https://github.com/developit/mitt/issues/136
- https://nodejs.org/api/events.html
- mitt MIT
Links
- Site
- wener.me
- Blog
- Github wenerme/wener
- apis.wener.me
- APIs playground with docs & stories
- Github wenerme/apis
- wener.me
- Library
- @wener/reaction - -
- React hooks, render, logical components
- helpful typing
- some external minimal helpful utils
- reduce packages
- @wener/utils - -
- utils for daily use
- Document
- @wener/ui - -
- @wener/tinyrpc - -
- rjsf-antd-theme - -
- @wener/reaction - -