{"id":27272036,"url":"https://github.com/anhthang/joi-array-extensions","last_synced_at":"2025-04-11T13:46:17.940Z","repository":{"id":44182614,"uuid":"104489708","full_name":"anhthang/joi-array-extensions","owner":"anhthang","description":"Joi extensions for extra array rules.","archived":false,"fork":false,"pushed_at":"2023-04-19T04:56:45.000Z","size":641,"stargazers_count":2,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-17T02:44:21.638Z","etag":null,"topics":["continuous","javascript","joi-extensions","schema","validation"],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/anhthang.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}},"created_at":"2017-09-22T15:25:02.000Z","updated_at":"2023-03-10T09:16:27.000Z","dependencies_parsed_at":"2024-09-18T23:31:01.328Z","dependency_job_id":null,"html_url":"https://github.com/anhthang/joi-array-extensions","commit_stats":null,"previous_names":["buianhthang/joi-array-extensions"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anhthang%2Fjoi-array-extensions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anhthang%2Fjoi-array-extensions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anhthang%2Fjoi-array-extensions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anhthang%2Fjoi-array-extensions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anhthang","download_url":"https://codeload.github.com/anhthang/joi-array-extensions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248124032,"owners_count":21051581,"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":["continuous","javascript","joi-extensions","schema","validation"],"created_at":"2025-04-11T13:46:17.291Z","updated_at":"2025-04-11T13:46:17.930Z","avatar_url":"https://github.com/anhthang.png","language":"HTML","readme":"# joi-array-extensions\nJoi extensions for extra array rules.\n\n[![npm](https://flat.badgen.net/npm/v/joi-array-extensions)](https://npmjs.com/package/joi-array-extensions) ![download](https://flat.badgen.net/npm/dt/joi-array-extensions) ![dependents](https://flat.badgen.net/npm/dependents/joi-array-extensions) ![travis](https://flat.badgen.net/travis/buianhthang/joi-array-extensions) ![appveyor](https://flat.badgen.net/appveyor/ci/buianhthang/joi-array-extensions)\n\n# API\nSee the [API Reference](https://github.com/buianhthang/joi-array-extensions/blob/master/API.md).\n\n# Usage\nUsage is a two steps process. First, a schema is constructed using the provided types and constraints:\n\n```js\nconst BaseJoi = require('@hapi/joi')\nconst Extension = require('joi-array-extensions')\nconst Joi = BaseJoi.extend(Extension)\n\nconst schema = Joi.array().items({\n    idx: Joi.number().integer()\n}).continuous('idx', 1)\n```\n\n# Coverage\n\n```\n7 tests complete\nTest duration: 51 ms\nAssertions count: 40 (verbosity: 5.71)\nLeaks: No issues\nCoverage: 100.00%\nLint: No issues\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanhthang%2Fjoi-array-extensions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanhthang%2Fjoi-array-extensions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanhthang%2Fjoi-array-extensions/lists"}