{"id":18984470,"url":"https://github.com/danwakeem/ellipsis-format","last_synced_at":"2025-08-03T10:06:08.729Z","repository":{"id":57222479,"uuid":"135536459","full_name":"Danwakeem/ellipsis-format","owner":"Danwakeem","description":"Master of none intro format","archived":false,"fork":false,"pushed_at":"2018-05-31T13:33:51.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-16T03:12:57.470Z","etag":null,"topics":["ellipsis","npm","npm-package","text-formatting","titlelayout"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Danwakeem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-31T05:34:23.000Z","updated_at":"2018-05-31T13:33:53.000Z","dependencies_parsed_at":"2022-08-28T21:41:42.437Z","dependency_job_id":null,"html_url":"https://github.com/Danwakeem/ellipsis-format","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Danwakeem/ellipsis-format","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danwakeem%2Fellipsis-format","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danwakeem%2Fellipsis-format/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danwakeem%2Fellipsis-format/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danwakeem%2Fellipsis-format/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Danwakeem","download_url":"https://codeload.github.com/Danwakeem/ellipsis-format/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danwakeem%2Fellipsis-format/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268525118,"owners_count":24264104,"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-08-03T02:00:12.545Z","response_time":2577,"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":["ellipsis","npm","npm-package","text-formatting","titlelayout"],"created_at":"2024-11-08T16:21:37.949Z","updated_at":"2025-08-03T10:06:08.678Z","avatar_url":"https://github.com/Danwakeem.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ellipsis-Format\n[![Build Status](https://travis-ci.org/Danwakeem/ellipsis-format.svg?branch=master)](https://travis-ci.org/Danwakeem/ellipsis-format)\n[![Coverage Status](https://coveralls.io/repos/github/Danwakeem/ellipsis-format/badge.svg?branch=master)](https://coveralls.io/github/Danwakeem/ellipsis-format?branch=master)\n\n\nHave you seen master of none? You know the title sequence where it has the names with all of those ... in it? I thought it would be cool if there was an npm package that looked like that. (I am sure it already exists but I couldn't find it.)\n\n## Installation\n```\nnpm i ellipsis-format --save\n```\n\n## Useage\n```\n\nconst ellipsisFormat = require('ellipsis-format');\nellipsisFormat(params);\n```\n\n## Param values\n\n* `input` - *[[String], [String]]* - 2D array with the following format [[String, String]]\n* `min` - *Number* - Minimum number of '.'s between the two strings\n\n## Example output\n```\n\nconst ellipsisFormat = require('ellipsis-format');\nconst output = ellipsisFormat({\n  min: 30,\n  input: [\n    ['Hello','Man'],\n    ['Photographer','Danwakeem'],\n    ['Softare','NPM Pack'],\n    ['Errors','10'],\n  ]\n});\n\n/*\n  output\n\n  Hello......................Man\n  Photographer.........Danwakeem\n  Softare...............NPM Pack\n  Errors......................10\n\n */\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanwakeem%2Fellipsis-format","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanwakeem%2Fellipsis-format","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanwakeem%2Fellipsis-format/lists"}