{"id":18256133,"url":"https://github.com/serapath/djoin","last_synced_at":"2025-10-23T23:55:34.201Z","repository":{"id":57213331,"uuid":"67263008","full_name":"serapath/djoin","owner":"serapath","description":"join array into string with default delimiter `'/'`","archived":false,"fork":false,"pushed_at":"2016-09-05T00:26:13.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-15T15:36:54.193Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/djoin","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/serapath.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":"2016-09-03T00:37:37.000Z","updated_at":"2016-09-03T21:02:10.000Z","dependencies_parsed_at":"2022-08-24T21:01:37.058Z","dependency_job_id":null,"html_url":"https://github.com/serapath/djoin","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/serapath%2Fdjoin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serapath%2Fdjoin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serapath%2Fdjoin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serapath%2Fdjoin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/serapath","download_url":"https://codeload.github.com/serapath/djoin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247937274,"owners_count":21021222,"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-05T10:20:09.299Z","updated_at":"2025-10-23T23:55:29.174Z","avatar_url":"https://github.com/serapath.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# djoin\njoin array into string with default delimiter `'/'`\n\n# usage\n`npm install djoin`\n\n```js\n  var djoin = require('djoin')\n  console.log(djoin(['a', 'b', 'c'], '.')) // =\u003e 'a.b.c'\n  console.log(djoin(['a', 'b', 'c'])) // =\u003e 'a/b/c'\n  console.log(djoin(['', 'a', 'b', '', 'c', ''])) // =\u003e '/a/b//c/'\n  console.log(djoin(['a', 'b','',''])) // =\u003e 'a/b//'\n  console.log(djoin(['','','a', 'b'])) // =\u003e '//a/b'\n  console.log(djoin(['','',''])) // =\u003e '//'\n  console.log(djoin(['',''])) // =\u003e '/'\n  console.log(djoin([''])) // =\u003e ''\n  console.log(djoin([])) // =\u003e undefined\n  console.log(djoin('')) // =\u003e undefined\n  console.log(djoin(undefined)) // =\u003e undefined\n```\n\n# Related\n* see [dsplit](https://www.npmjs.com/package/dsplit)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserapath%2Fdjoin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fserapath%2Fdjoin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserapath%2Fdjoin/lists"}