{"id":19177386,"url":"https://github.com/elrumordelaluz/iterm-tab","last_synced_at":"2025-08-31T03:32:32.557Z","repository":{"id":57278496,"uuid":"142141423","full_name":"elrumordelaluz/iterm-tab","owner":"elrumordelaluz","description":"Open Item2 tab programatically from NodeJS","archived":false,"fork":false,"pushed_at":"2020-09-07T08:58:51.000Z","size":8,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-30T05:03:38.170Z","etag":null,"topics":["child-process","iterm","iterm2","terminal"],"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/elrumordelaluz.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-07-24T10:13:47.000Z","updated_at":"2023-07-08T18:00:49.000Z","dependencies_parsed_at":"2022-09-18T12:31:17.494Z","dependency_job_id":null,"html_url":"https://github.com/elrumordelaluz/iterm-tab","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/elrumordelaluz/iterm-tab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elrumordelaluz%2Fiterm-tab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elrumordelaluz%2Fiterm-tab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elrumordelaluz%2Fiterm-tab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elrumordelaluz%2Fiterm-tab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elrumordelaluz","download_url":"https://codeload.github.com/elrumordelaluz/iterm-tab/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elrumordelaluz%2Fiterm-tab/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267358847,"owners_count":24074625,"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-07-27T02:00:11.917Z","response_time":82,"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":["child-process","iterm","iterm2","terminal"],"created_at":"2024-11-09T10:33:18.472Z","updated_at":"2025-07-27T12:33:37.616Z","avatar_url":"https://github.com/elrumordelaluz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iterm-tab\n\nOpen iterm tab and run a command programmatically\n\n## Install\n\n```\nyarn add iterm-tab\n```\n\n## Usage\n\n```\nconst itermTab = require('iterm-tab')\n\nitermTab(`cd .. \u0026\u0026 echo \"my command\"`)\n  .then(() =\u003e console.log('yay'))\n```\n\n## API\n\nitermTab(command, options)\n\n#### command\n\nThe command to execute after open the new tab\n\nType: `String`\n\n#### options\n\nType: `Object`\n\n##### options.close\n\nCloses tab immediately or after n seconds. Useful to launch persistent services like `mongod`.\n\nType: `Boolean|Number`\n\nDefault: `false`\n\n##### options.delayAfterRun\n\nWait number of seconds before let continue the tasks.\n\nType: `Number`\n\nDefault: `0`\n\n##### options.splitTab\n\nSplit the current tab horizontally or vertically then run the command.\n\nType: `Boolean|String`\n\nDefault: false\n\nFor Vertical Split: `{ splitTab: 'vertically' }`\n\nFor Horizontal Split: `{ splitTab: 'horizontally' }`\n\n## Example\n\nTake a look into [this example](https://github.com/elrumordelaluz/iterm-tab/blob/master/test.js) running two instances of `iterm-tab`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felrumordelaluz%2Fiterm-tab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felrumordelaluz%2Fiterm-tab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felrumordelaluz%2Fiterm-tab/lists"}