{"id":22196938,"url":"https://github.com/valtech-commerce/joi","last_synced_at":"2026-05-17T02:46:16.885Z","repository":{"id":65742162,"uuid":"598651995","full_name":"valtech-commerce/joi","owner":"valtech-commerce","description":"joi extensions + extra goodies","archived":false,"fork":false,"pushed_at":"2023-02-07T15:09:39.000Z","size":147,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-17T07:38:05.931Z","etag":null,"topics":["joi","joi-extensions","npm-package"],"latest_commit_sha":null,"homepage":"https://valtech-commerce.github.io/joi","language":"JavaScript","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/valtech-commerce.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null}},"created_at":"2023-02-07T14:46:59.000Z","updated_at":"2023-02-07T15:14:05.000Z","dependencies_parsed_at":"2023-02-19T18:01:26.594Z","dependency_job_id":null,"html_url":"https://github.com/valtech-commerce/joi","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/valtech-commerce/joi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valtech-commerce%2Fjoi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valtech-commerce%2Fjoi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valtech-commerce%2Fjoi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valtech-commerce%2Fjoi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/valtech-commerce","download_url":"https://codeload.github.com/valtech-commerce/joi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valtech-commerce%2Fjoi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009977,"owners_count":26084672,"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-10-12T02:00:06.719Z","response_time":53,"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":["joi","joi-extensions","npm-package"],"created_at":"2024-12-02T14:17:50.246Z","updated_at":"2025-10-12T02:55:01.028Z","avatar_url":"https://github.com/valtech-commerce.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @valtech-commerce/joi\n\n[![npm](https://img.shields.io/npm/v/@valtech-commerce/joi.svg)](https://www.npmjs.com/package/@valtech-commerce/joi)\n[![npm dependencies](https://david-dm.org/valtech-commerce/joi/status.svg)](https://david-dm.org/valtech-commerce/joi)\n[![npms](https://badges.npms.io/%40valtech-commerce%2Fjoi.svg)](https://npms.io/search?q=%40valtech-commerce%2Fjoi)\n[![Travis CI](https://travis-ci.com/valtech-commerce/joi.svg?branch=master)](https://travis-ci.com/valtech-commerce/joi/builds)\n\n\u003e joi extensions + extra goodies\n\n\n## Install\n\n```bash\n$ npm install @valtech-commerce/joi\n```\n\n\n## Usage\n\n```js\nimport { Joi, validateArgument } from '@valtech-commerce/joi';\n\nclass MyClass () {\n\n\tconstructor(path, value) {\n\t\tvalidateArgument('path',  path,  Joi.absolutePath().required());\n\t\tvalidateArgument('value', value, Joi.number().required());\n\n\t\t// Do your stuff\n\t}\n\n}\n```\n\n\n\n## Extensions\n\n### absolutePath\nValidate that the value is an absolute *nix or Windows path.\n\n### joiSchema\nValidate that the value is a joi schema.\n\n### kebabCase\nValidate that the value is kebab-case.\n\n### variableName\nValidate that the value is a JavaScript valid variable name via [is-var-name](https://github.com/shinnn/is-var-name).\n\n\n\n## Documentation\n\nView [documentation](https://valtech-commerce.github.io/joi)\n\n\n\n\n\n\n\u003cbr\u003e\u003cbr\u003e\n\n## License\n\nMIT © [Valtech Canada inc.](https://www.valtech.ca/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaltech-commerce%2Fjoi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaltech-commerce%2Fjoi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaltech-commerce%2Fjoi/lists"}