{"id":18574227,"url":"https://github.com/kontentino/array-semantic-join","last_synced_at":"2025-04-10T07:32:57.860Z","repository":{"id":36239235,"uuid":"221410376","full_name":"kontentino/array-semantic-join","owner":"kontentino","description":"Helper function whose input is an array and output is a semantic string with joined items of the input array.","archived":false,"fork":false,"pushed_at":"2023-03-02T05:15:25.000Z","size":479,"stargazers_count":2,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-11T21:58:55.666Z","etag":null,"topics":["array","es6","javascript","kontentino","react","react-native","semantic-ui"],"latest_commit_sha":null,"homepage":null,"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/kontentino.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":"2019-11-13T08:32:49.000Z","updated_at":"2022-09-22T12:09:41.000Z","dependencies_parsed_at":"2023-01-16T23:42:29.687Z","dependency_job_id":null,"html_url":"https://github.com/kontentino/array-semantic-join","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kontentino%2Farray-semantic-join","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kontentino%2Farray-semantic-join/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kontentino%2Farray-semantic-join/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kontentino%2Farray-semantic-join/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kontentino","download_url":"https://codeload.github.com/kontentino/array-semantic-join/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223430210,"owners_count":17143625,"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":["array","es6","javascript","kontentino","react","react-native","semantic-ui"],"created_at":"2024-11-06T23:14:26.104Z","updated_at":"2024-11-06T23:14:26.778Z","avatar_url":"https://github.com/kontentino.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Kontentino - Making social media a piece of cake](https://static.kontentino.com/img/logo/logo.svg)\n# array-semantic-join by [Kontentino](https://www.kontentino.com/)\n\n[![](https://github.com/kontentino/array-semantic-join/workflows/Test/badge.svg)](https://github.com/kontentino/array-semantic-join/actions)\n[![npm](https://img.shields.io/npm/v/@kontentino/array-semantic-join?style=plastic)](https://www.npmjs.com/package/@kontentino/array-semantic-join)\n[![NPM](https://img.shields.io/npm/l/@kontentino/array-semantic-join)](https://github.com/kontentino/array-semantic-join/blob/master/LICENSE)\n\nHelper function whose input is an array and output is a semantic string with joined items of the input array.\n\n## Installation\n`$ npm install array-semantic-join`\nor\n`$ yarn add array-semantic-join`\n\n## Usage\n```javascript\nimport arraySemanticJoin from 'array-semantic-join';\n\n...\n    const userNames = ['John', 'Jane', 'Patrick'];\n\n    ...\n    \u003cspan\u003e\n        {arraySemanticJoin(userNames)} // output: \"John, Jane and Patrick\"\n    \u003c/span\u003e\n\n    \u003cspan\u003e\n        {arraySemanticJoin(userNames, { word: 'a' } )} // output: \"John, Jane a Patrick\"\n    \u003c/span\u003e\n\n    \u003cspan\u003e\n        {arraySemanticJoin(userNames, { word: 'und' } )} // output: \"John, Jane und Patrick\"\n    \u003c/span\u003e\n...\n```\n\n## Docs\n| Function | \n|:-------------|\n| **arraySemanticJoin**(inputArray: *Array*, options?: { word: String }): *String* |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkontentino%2Farray-semantic-join","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkontentino%2Farray-semantic-join","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkontentino%2Farray-semantic-join/lists"}