TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Validator.dart – String validation and sanitization library for Dart

6 点作者 karangoeluw超过 10 年前

1 comment

karangoeluw超过 10 年前
I made this library (and working on more) to help build the Dart ecosystem.<p>Strings are awesome. Working with strings can be painful. This library takes that pain out. You can use it on the client side or server side (YES, validate on both ends).<p>Some example validators:<p>- isURL - isEmail - isBase64 - isHexColor (cough CSS cough) - isUUID - isCreditCard - and more<p>And some santitizers<p>- toDate - escape (HTML) - normalizeEmail<p>Let me know what you think. Feedback always welcome.