{"id":26932935,"url":"https://github.com/ostaplisovyj/nodejs-launcher","last_synced_at":"2025-08-19T11:06:37.413Z","repository":{"id":42552286,"uuid":"439672483","full_name":"ostaplisovyj/nodejs-launcher","owner":"ostaplisovyj","description":"CLI for managing launch configurations for NodeJS scripts and apps","archived":false,"fork":false,"pushed_at":"2022-04-22T08:43:20.000Z","size":29,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-14T12:23:58.197Z","etag":null,"topics":["environment-variables","launch-configuration","nodejs","nodejs-launcher","nodejslaucnher","rust","vim","vscode"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/ostaplisovyj.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":"2021-12-18T17:14:47.000Z","updated_at":"2022-05-09T15:17:34.000Z","dependencies_parsed_at":"2022-08-24T00:40:13.911Z","dependency_job_id":null,"html_url":"https://github.com/ostaplisovyj/nodejs-launcher","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ostaplisovyj/nodejs-launcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ostaplisovyj%2Fnodejs-launcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ostaplisovyj%2Fnodejs-launcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ostaplisovyj%2Fnodejs-launcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ostaplisovyj%2Fnodejs-launcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ostaplisovyj","download_url":"https://codeload.github.com/ostaplisovyj/nodejs-launcher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ostaplisovyj%2Fnodejs-launcher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271143334,"owners_count":24706344,"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-19T02:00:09.176Z","response_time":63,"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":["environment-variables","launch-configuration","nodejs","nodejs-launcher","nodejslaucnher","rust","vim","vscode"],"created_at":"2025-04-02T09:16:57.096Z","updated_at":"2025-08-19T11:06:37.377Z","avatar_url":"https://github.com/ostaplisovyj.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"## About this project\n*nodejs-launcher* is a CLI tool written in Rust which enables launch configurations seamlessly for NodeJS applications. This is still a work-in-progress project therefore it's not recommended to use in production environments. Suggestions for improvements are welcomed (please create the issue ticket).\n\n## Use cases\nCommon IDEs (VScode, Webstorm etc.) typically offer built-in debuggers which extensively take advantage of launch configurations. This espesially comes handy when there's a lot of environment variables to pass to a NodeJS script. \n\nWhen IDE is not an option or lightweight alternative is preferred (a terminal editor, i.e. `vim`, `emacs`, `nano`), this simple CLI tool enables configuration presets for launching your nodejs apps and scripts with specified environment variables, arguments etc. \n\nThe nodejs-launcher configuration has similar structure to VScode's built-in launch config (`launch.json`).\n\n## Requirements\n\nMake sure you have `nano` editor available. This constraint will be changed in the future.\n\n## Installation\n\n`cargo install nodejs-launcher`\n\n## CLI usage\n\n`nodejs-launcher [command]`\n\nCommands \u0026 options:\n\n`init` - inits the config directory (by default `.node_launcher`) with config file `launch.json`\n\n`run` - prompts user to select and execute one of available configurations specified in `launch.json` config file.\n\n`edit` - opens terminal editor (nano) for changing available configurations\n\n`add` - adds new configuration and opens terminal editor (nano) for configuring\n\n## Launch configuration file *launch.json*\n\nLaunch config is a way for declaring different aspects of running the nodejs application. For instance, you can specify environment variables and reuse different presets between launches.\n\nThe following attributes are supported:\n\n* `name` - the name of configuration which is used to reference and launch the particular configuration.\n\n* `env` - a dictionary of key-value pairs which are passed as environment variables to executable nodejs script and can be accessed by referencing `process.env` in your script file.\n\n* `script` - path to the script file which should execute with all environment variables specified in `env` JSON attribute,\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fostaplisovyj%2Fnodejs-launcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fostaplisovyj%2Fnodejs-launcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fostaplisovyj%2Fnodejs-launcher/lists"}