{"id":29626479,"url":"https://github.com/xom9ikk/split","last_synced_at":"2025-07-21T07:06:42.402Z","repository":{"id":65162374,"uuid":"318854730","full_name":"xom9ikk/split","owner":"xom9ikk","description":"Github Action for splitting strings into parts by separator with limit","archived":false,"fork":false,"pushed_at":"2024-03-28T07:29:07.000Z","size":196,"stargazers_count":5,"open_issues_count":4,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-14T15:33:58.866Z","etag":null,"topics":["actions","github","github-actions","node","split"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/simple-split","language":"TypeScript","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/xom9ikk.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-05T18:00:49.000Z","updated_at":"2024-10-29T14:20:42.000Z","dependencies_parsed_at":"2024-06-20T23:35:10.776Z","dependency_job_id":null,"html_url":"https://github.com/xom9ikk/split","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"7792b7b07e6fd4891ead05fd7b9df31a698e7618"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/xom9ikk/split","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xom9ikk%2Fsplit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xom9ikk%2Fsplit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xom9ikk%2Fsplit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xom9ikk%2Fsplit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xom9ikk","download_url":"https://codeload.github.com/xom9ikk/split/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xom9ikk%2Fsplit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266255577,"owners_count":23900171,"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":["actions","github","github-actions","node","split"],"created_at":"2025-07-21T07:06:41.678Z","updated_at":"2025-07-21T07:06:42.392Z","avatar_url":"https://github.com/xom9ikk.png","language":"TypeScript","readme":"# split@v1\n\u003e Github Action for splitting strings into parts by separator with limit\n\n## 🔥 Usage\n```yaml\njobs:\n  build:\n    runs-on: ubuntu-16.04\n\n    steps:\n      - name: Split version code\n        uses: xom9ikk/split@v1\n        id: split\n        with:\n          string: 2.17.3\n          separator: .\n          limit: -1\n\n      - name: Some other action\n        with:\n          major: ${{ steps.split.outputs._0 }}\n          minor: ${{ steps.split.outputs._1 }}\n          patch: ${{ steps.split.outputs._2 }}\n```\n\n## ✨ Features\n* 🧲 splitting a string by separator;\n* 📎 setting a limit for the resulting array;\n* 💎 simple API;\n\n## 💡 Input\n\n| property   | isRequired | default | comment                                                                                   | example\n|------------|:----------:|:-------:|-------------------------------------------------------------------------------------------|:--------:\n| `string`   |      ✓     |         | string to split.                                                                          | 2.17.3\n| `separator`|            | space   | separator to split a string.                                                              | .\n| `limit`    |            | -1      | limit on the number of substrings to be included in the array (use -1 to save all parts). | -1\n\n## 📦 Output\n\n| property    | comment                                      | example\n|-------------|----------------------------------------------|---------\n| `_${index}` | part that has been separated by a separator. | **_0**: 2, \u003cbr\u003e **_1**: 17, \u003cbr\u003e **_2**: 3\n| `length`    | output array length.                         | 3\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxom9ikk%2Fsplit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxom9ikk%2Fsplit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxom9ikk%2Fsplit/lists"}