{"id":20764697,"url":"https://github.com/bounoable/strongword","last_synced_at":"2025-06-30T08:03:04.014Z","repository":{"id":57514641,"uuid":"243302669","full_name":"bounoable/strongword","owner":"bounoable","description":"Simple utility library for password strength validation.","archived":false,"fork":false,"pushed_at":"2020-02-26T15:55:15.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-18T06:08:17.743Z","etag":null,"topics":["go","golang","password","strength","validation"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bounoable.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}},"created_at":"2020-02-26T15:54:45.000Z","updated_at":"2020-02-26T15:55:30.000Z","dependencies_parsed_at":"2022-09-06T03:02:41.624Z","dependency_job_id":null,"html_url":"https://github.com/bounoable/strongword","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bounoable%2Fstrongword","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bounoable%2Fstrongword/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bounoable%2Fstrongword/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bounoable%2Fstrongword/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bounoable","download_url":"https://codeload.github.com/bounoable/strongword/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243086235,"owners_count":20234004,"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","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":["go","golang","password","strength","validation"],"created_at":"2024-11-17T10:53:23.017Z","updated_at":"2025-03-11T18:09:44.795Z","avatar_url":"https://github.com/bounoable.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# strongword - Password strength validator for GO\n\u003cp\u003e\n  \u003ca href=\"https://pkg.go.dev/github.com/bounoable/strongword\"\u003e\n    \u003cimg alt=\"GoDoc\" src=\"https://img.shields.io/badge/godoc-reference-purple\"\u003e\n  \u003c/a\u003e\n  \u003cimg alt=\"Version\" src=\"https://img.shields.io/github/v/tag/bounoable/strongword\" /\u003e\n  \u003ca href=\"#\" target=\"_blank\"\u003e\n    \u003cimg alt=\"License: MIT\" src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nSimple utility library to validate password strengths against a set of rules.\n\n## Install\n\n```sh\ngo get github.com/bounoable/strongword\n```\n\n## Usage\n\n### Default rule set\n\n```go\nimport \"github.com/bounoable/strongword\"\n\nerrs := strongword.Validate(\"weakpassword\")\n\nfor _, err := range errs {\n  fmt.Println(err)\n}\n```\n\n### Custom rule set\n\n```go\nimport \"github.com/bounoable/strongword\"\n\nerrs := strongword.Validate(\n  \"weakpassword\",\n  strongword.MinLength(12),\n  strongword.SpecialChars(3),\n  strongword.Regexp(regexp.MustCompile(\"(?)[0-9]{4}\"))\n)\n\nfor _, err := range errs {\n  fmt.Println(err)\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbounoable%2Fstrongword","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbounoable%2Fstrongword","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbounoable%2Fstrongword/lists"}