oussamahamdaoui/forgJs
ForgJs is a javascript lightweight object validator. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2840
- days_rel: n/a
- days_push: 1050
- n_releases_24m: 0
Adoption not part of the score
1651 stars · 47 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
ForgJs is a lightweight JavaScript object validator that lets developers define rules for validating values like emails, passwords, numbers, dates, and URLs. It supports custom rules, custom error messages, and batch validation of object arrays.
Use cases
- validate form input like emails and passwords in javascript
- validate object schemas in nodejs
- check that values match type and range constraints
- get custom error messages for invalid fields
- validate arrays of objects in bulk
When to choose
- you need a small, dependency-free validator for plain JavaScript objects
- you want simple rule-based validation with custom error messages
- you're validating common types like email, password, url, int, and date
When to avoid
- you need async or schema-based validation with rich ecosystem support (consider Joi, Zod, or Yup)
- you need TypeScript-first type inference from your schemas
- you need actively developed software with frequent updates
Facets
library · maturity maintenance
form-handling developer-tools web-development frontend backend developer-tools cross-platform object-validator schema-validation lightweight rule-based-validation data-validation nodejs javascript
2 sources
- readme: https://github.com/oussamahamdaoui/forgJs · fetched 2026-08-28 · 8f4156b95d0d
- homepage: https://oussamahamdaoui.github.io/forgjs-examples/ · fetched 2026-08-29 · d8ee0d012a82
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| oussamahamdaoui/forgJs | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="oussamahamdaoui/forgJs")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem