{"id":17034541,"url":"https://github.com/caub/prompt-ajv","last_synced_at":"2026-05-11T07:05:55.456Z","repository":{"id":57331684,"uuid":"454189941","full_name":"caub/prompt-ajv","owner":"caub","description":null,"archived":false,"fork":false,"pushed_at":"2022-01-31T22:44:56.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-24T17:39:41.375Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/caub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-31T22:25:26.000Z","updated_at":"2022-01-31T22:44:59.000Z","dependencies_parsed_at":"2022-09-05T10:10:33.371Z","dependency_job_id":null,"html_url":"https://github.com/caub/prompt-ajv","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/caub%2Fprompt-ajv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caub%2Fprompt-ajv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caub%2Fprompt-ajv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caub%2Fprompt-ajv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caub","download_url":"https://codeload.github.com/caub/prompt-ajv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245026042,"owners_count":20549073,"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-14T08:43:54.934Z","updated_at":"2026-05-11T07:05:55.449Z","avatar_url":"https://github.com/caub.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prompt-ajv\n\n```js\nimport prompt from 'prompt-ajv';\n\nconst obj = await prompt({\n  name: { type: 'string', minLength: 2, required: true },\n  pw: { type: 'string', secret: true },\n  size: { type: 'string', enum: ['xs', 'sm', 'lg'], default: 'sm' },\n  age: { type: 'integer', description: 'How old ru?', minimum: 0, maximum: 150 },\n  height: { type: 'number', description: 'Height in meters?', minimum: 0, maximum: 2.8, default: 1.8 },\n});\n\nconsole.log('obj:', obj);\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaub%2Fprompt-ajv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaub%2Fprompt-ajv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaub%2Fprompt-ajv/lists"}