Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
generated fromopenpeeps/pistachio

Validate form input data in a fancy way. Written in Nim language

License

NotificationsYou must be signed in to change notification settings

openpeeps/bag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Validate HTTP input data in a fancy way.
👑 Written in Nim language

nimble install bag

API reference
Github Actions |Github Actions

😍 Key Features

  • Macro-based webform validation
  • Framework agnostic
  • i18n support
  • Based onValido package
  • Open Source |MIT License
  • Written in 👑 Nim language

Examples

# can be a seq/array containing a key/value tuple (string, string)var data= [("email","test@example.com"), ("password","123admin")]# create a new bagbag data:  email:tEmail"auth.error.email"*password:tPasswordStrength"account.password.weak"# optional field, if filled checks the password strenthdo:for errin inputBag.getErrors:echo err

For more examples, check inunittests

❤ Contributions & Support

🎩 License

Bag | MIT license.Made by Humans from OpenPeeps.
Copyright © 2025 OpenPeeps & Contributors — All rights reserved.

About

Validate form input data in a fancy way. Written in Nim language

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2026 Movatter.jp