{"id":28060258,"url":"https://github.com/isonnymichael/validate-form-simple","last_synced_at":"2025-09-11T23:18:51.552Z","repository":{"id":224141043,"uuid":"762541430","full_name":"isonnymichael/validate-form-simple","owner":"isonnymichael","description":"A lightweight and extensible JavaScript library for validating HTML forms — simple, dependency-free, and built for customization.","archived":false,"fork":false,"pushed_at":"2025-07-29T08:56:42.000Z","size":292,"stargazers_count":5,"open_issues_count":10,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-14T09:40:30.330Z","etag":null,"topics":["form-validation","frontend","html-forms","javascript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/isonnymichael.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-02-24T02:18:00.000Z","updated_at":"2025-08-01T14:53:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"33aa31db-1573-477b-83f7-b569460ef2ce","html_url":"https://github.com/isonnymichael/validate-form-simple","commit_stats":null,"previous_names":["isonnymichael/validate-form-simple"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/isonnymichael/validate-form-simple","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isonnymichael%2Fvalidate-form-simple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isonnymichael%2Fvalidate-form-simple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isonnymichael%2Fvalidate-form-simple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isonnymichael%2Fvalidate-form-simple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/isonnymichael","download_url":"https://codeload.github.com/isonnymichael/validate-form-simple/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isonnymichael%2Fvalidate-form-simple/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271173376,"owners_count":24711667,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["form-validation","frontend","html-forms","javascript"],"created_at":"2025-05-12T08:41:28.628Z","updated_at":"2025-08-19T15:09:57.914Z","avatar_url":"https://github.com/isonnymichael.png","language":"JavaScript","readme":"# Validate Form Simple\n\n**validate-form-simple** is a lightweight JavaScript library for effortless HTML form validation.\n\nEasily add validation to your forms without writing lengthy and complex JavaScript code.  \nIt supports automatic checking for required fields, email format, and phone number — and is fully customizable.\n\n---\n\n## 📦 Installation\n\nInstall via npm:\n\n```bash\nnpm install validate-form-simple\n```\n\n---\n\n## 🛠 Development\n\nTo clone and build the project locally:\n\n1. Clone the repository:\n\n```bash\n   git clone https://github.com/isonnymichael/validate-form-simple.git\n```\n\n2. Move into the project directory:\n\n```bash\n   cd validate-form-simple\n```\n\n3. Install dependencies:\n\n```bash\n   npm install\n```\n\n4. Build the project:\n\n```bash\n   npm run build\n```\n\n5. Run test:\n\n```bash\n   npm run test\n```\n\n6. Create a new release with changelog and version bump:\n\n```bash\n   npm run release\n```\n\n| Options         | Version |\n| --------------- | ------- |\n| `release:major` | `x.0.0` |\n| `release:minor` | `0.x.0` |\n| `release:patch` | `0.0.x` |\n\n---\n\n## 🏗️ Tech Stack\n\n| Layer            | Technology                       |\n| ---------------- | -------------------------------- |\n| Language         | JavaScript (ESM + CJS)           |\n| Bundler          | Microbundle                      |\n| Testing          | Jest + jsdom                     |\n| Linting \u0026 Format | ESLint + Prettier                |\n| Git Hooks        | Husky + lint-staged + Commitlint |\n| Release Tooling  | standard-version                 |\n| Package Registry | npm                              |\n\n## 📁 Project Structure\n\n```bash\nvalidate-form-simple/\n├── .gitignore                   # Git ignored files config\n├── LICENSE                      # License file (ISC)\n├── README.md                    # Project documentation\n├── dist/                        # Bundled output (ESM, CJS, UMD) from Microbundle\n├── example/                     # Demo HTML file for testing in browser\n│   └── index.html\n├── package.json                 # Project metadata and scripts\n├── src/                         # Source code for the library\n│   ├── index.js                 # Main form validation logic (entry point)\n│   ├── utils/                   # Utility functions (e.g. error display, field name)\n│   │   └── helper.js\n│   └── validators/              # Field validation functions\n│       ├── email.js             # Email validation logic\n│       ├── phone.js             # Phone number validation logic\n│       └── index.js             # Re-exports email \u0026 phone validators\n├── test/                        # Unit tests for core functionality\n    └── validate-form-simple.test.js\n```\n\n---\n\n## 🧑‍💻 Contributing\n\nWe welcome contributions from developers of all experience levels!\n\nIf you'd like to help improve this project — whether it's fixing bugs, adding features, or improving documentation — follow our contributing guide:\n\n👉 [Read the CONTRIBUTING.md guide](./CONTRIBUTING.md)\n\n---\n\n## 📄 License\n\nISC License  \n© Sonny Michael (https://github.com/isonnymichael)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisonnymichael%2Fvalidate-form-simple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisonnymichael%2Fvalidate-form-simple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisonnymichael%2Fvalidate-form-simple/lists"}