Sky24n/common_utils
Dart common utils library. DateUtil, EncryptUtil, JsonUtil, LogUtil, MoneyUtil, NumUtil, ObjectUtil, RegexUtil, TextUtil, TimelineUtil, TimerUtil. 包含日期,正则,倒计时,时间轴等工具类。 observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2914
- days_rel: n/a
- days_push: 1332
- n_releases_24m: 0
Adoption not part of the score
1454 stars · 263 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Dart utility library providing common helper classes such as DateUtil, EncryptUtil, JsonUtil, LogUtil, MoneyUtil, NumUtil, ObjectUtil, RegexUtil, TextUtil, TimelineUtil, and TimerUtil. It works in pure Dart projects and underpins the flustars library for Flutter-specific utilities.
Use cases
- format and convert dates in Dart
- validate phone numbers, emails, and ID cards with regex
- convert yuan to fen precisely with money formatting
- perform precise decimal arithmetic without precision loss
- countdown timers and scheduled tasks
- md5 and base64 encode/decode strings
- check if strings, lists, or maps are empty
- format bank card numbers and hide phone digits
When to choose
- you need a broad set of small utility helpers in a Dart or Flutter project
- you want reliable date formatting, regex validation, or money conversion without writing it yourself
- you already use flustars and want its underlying utility package
When to avoid
- you need actively maintained utilities with recent updates
- you need Flutter-specific helpers like screen adaptation or shared preferences (use flustars instead)
- you prefer specialized libraries for encryption or date handling with richer APIs
Facets
library · maturity maintenance
date-time serialization logging cryptography math error-handling developer-tools cross-platform mobile-development cross-platform dart-package utility-classes date-formatting regex-validation money-conversion timer timeline flutter
1 source
- readme: https://github.com/Sky24n/common_utils · fetched 2026-08-28 · bf5583ce547a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Sky24n/common_utils | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="Sky24n/common_utils")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem