{"id":15676642,"url":"https://github.com/shadowtime2000/discord-arg-validator","last_synced_at":"2025-03-30T06:28:16.341Z","repository":{"id":57212426,"uuid":"299722432","full_name":"shadowtime2000/discord-arg-validator","owner":"shadowtime2000","description":"Argument type validator for Discord bots","archived":false,"fork":false,"pushed_at":"2020-09-29T19:52:02.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-06T05:37:33.336Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/shadowtime2000.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-09-29T19:49:08.000Z","updated_at":"2020-09-29T19:52:05.000Z","dependencies_parsed_at":"2022-08-29T04:01:02.146Z","dependency_job_id":null,"html_url":"https://github.com/shadowtime2000/discord-arg-validator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowtime2000%2Fdiscord-arg-validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowtime2000%2Fdiscord-arg-validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowtime2000%2Fdiscord-arg-validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowtime2000%2Fdiscord-arg-validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shadowtime2000","download_url":"https://codeload.github.com/shadowtime2000/discord-arg-validator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246285654,"owners_count":20752947,"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":[],"created_at":"2024-10-03T16:04:26.005Z","updated_at":"2025-03-30T06:28:16.322Z","avatar_url":"https://github.com/shadowtime2000.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# discord-arg-validator\nArgument type validator for Discord bots\n\n## Installation\n`npm i discord-arg-validator`\n\n### Usage\n```javascript\nconst { validate, Number, YesNo, String } = require(\"discord-arg-validator\");\n\nvalidate([\"foo\", \"bar\", \"2\", \"yes\", \"no\"], [String, String, Number, YesNo, YesNo]) //true\nvalidate([\"foo\", \"bar\", \"23\"], [Number, Number, YesNo]) // TypeError\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadowtime2000%2Fdiscord-arg-validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshadowtime2000%2Fdiscord-arg-validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadowtime2000%2Fdiscord-arg-validator/lists"}