{"id":19371349,"url":"https://github.com/kylelaverty/joi-array-extension","last_synced_at":"2025-02-24T14:26:04.152Z","repository":{"id":57281351,"uuid":"133366909","full_name":"kylelaverty/joi-array-extension","owner":"kylelaverty","description":"Joi Extension to allow turning incoming string fields into arrays","archived":false,"fork":false,"pushed_at":"2018-05-30T15:59:45.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-07T22:05:00.473Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kylelaverty.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-14T13:43:49.000Z","updated_at":"2018-06-14T06:11:59.000Z","dependencies_parsed_at":"2022-09-19T21:41:49.541Z","dependency_job_id":null,"html_url":"https://github.com/kylelaverty/joi-array-extension","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/kylelaverty%2Fjoi-array-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylelaverty%2Fjoi-array-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylelaverty%2Fjoi-array-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylelaverty%2Fjoi-array-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kylelaverty","download_url":"https://codeload.github.com/kylelaverty/joi-array-extension/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240493280,"owners_count":19810255,"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-11-10T08:18:08.940Z","updated_at":"2025-02-24T14:26:04.127Z","avatar_url":"https://github.com/kylelaverty.png","language":"JavaScript","readme":"# joi-array-extension\r\n\r\nJoi extensions for extra string rules.\r\n\r\n[![npm version](https://badge.fury.io/js/joi-array-extension.svg)](http://badge.fury.io/js/joi-array-extension)\r\n[![Build Status](https://secure.travis-ci.org/kylelaverty/joi-array-extension.svg?branch=master)](http://travis-ci.org/kylelaverty/joi-array-extension)\r\n\r\nLead Maintainer: [Kyle Laverty](https://github.com/kylelaverty)\r\n\r\n# Overview\r\n\r\nThis extention is focused on adding the ability to split strings into arrays so that they can be used with the rest of the joi ecosystem as if they were arrays.\r\n\r\n# Usage\r\n\r\nUsage is a two steps process. First, a schema is constructed using the provided types and constraints:\r\n\r\n```js\r\nconst BaseJoi = require('joi');\r\nconst Extension = require('joi-array-extension');\r\nconst Joi = BaseJoi.extend(Extension);\r\n\r\nconst schema = Joi.array().separator(',').items(...);\r\n```\r\n\r\n# API\r\nSee the [API Reference](https://github.com/kylelaverty/joi-array-extension/blob/master/API.md).","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylelaverty%2Fjoi-array-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkylelaverty%2Fjoi-array-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylelaverty%2Fjoi-array-extension/lists"}