generated fromopenpeeps/pistachio
- Notifications
You must be signed in to change notification settings - Fork1
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
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation

Validate HTTP input data in a fancy way.
👑 Written in Nim language
nimble install bag
- Macro-based webform validation
- Framework agnostic
- i18n support
- Based onValido package
- Open Source |
MITLicense - Written in 👑 Nim language
# 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
- 🐛 Found a bug?Create a new Issue
- 👋 Wanna help?Fork it!
- 😎Get €20 in cloud credits from Hetzner
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
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.