{"id":22963361,"url":"https://github.com/kettek/submodules-install","last_synced_at":"2025-08-13T07:34:36.000Z","repository":{"id":51032835,"uuid":"136671047","full_name":"kettek/submodules-install","owner":"kettek","description":"NPM submodules installer","archived":false,"fork":false,"pushed_at":"2021-07-16T09:04:11.000Z","size":13,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-09T16:50:55.198Z","etag":null,"topics":["javascript","node","nodejs","npm","submodules"],"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/kettek.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-06-08T22:21:59.000Z","updated_at":"2024-08-13T18:23:51.000Z","dependencies_parsed_at":"2022-09-17T16:01:01.123Z","dependency_job_id":null,"html_url":"https://github.com/kettek/submodules-install","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/kettek/submodules-install","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kettek%2Fsubmodules-install","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kettek%2Fsubmodules-install/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kettek%2Fsubmodules-install/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kettek%2Fsubmodules-install/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kettek","download_url":"https://codeload.github.com/kettek/submodules-install/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kettek%2Fsubmodules-install/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269803855,"owners_count":24477658,"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-10T02:00:08.965Z","response_time":71,"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":["javascript","node","nodejs","npm","submodules"],"created_at":"2024-12-14T19:34:36.700Z","updated_at":"2025-08-13T07:34:35.639Z","avatar_url":"https://github.com/kettek.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# submodules-install - NPM Submodules Installer\nThis module provides a system for calling `npm i`, `yarn install`, or a custom command on a list of locations, ultimately providing automatic submodule installation.\n\n## Usage\nInstall via npm:\n\n    npm i submodules-install --save\n\nOr Yarn:\n\n    yarn add submodules-install\n\nAdd an array of strings using glob syntax or specially formatted objects to your `package.json`:\n\n    \"submodules\": [\n      \"my_subdir/*\",\n      \"my_subdir2/**\",\n      {\n        \"path\": \"my_subdir3\",\n        \"cmd\": \"go\",\n        \"args\": [\"build\"]\n      }\n    ]\n\nThen run:\n\n    npx submodules-install\n\nAlternatively, you may also use `preinstall`, `postinstall`, or otherwise:\n\n    \"scripts\": {\n      \"preinstall\": \"submodules-install\"\n    }\n\n## Submodules Object\nIf an object is provided to the submodules array, it should match the following structure:\n\n```\n{\n  path: String,     // Target glob to search.\n  cmd: String,      // Optional. Command to use to run the install. Defaults to npm or yarn if a `yarn.lock` file is found.\n  args: [String],   // Optional. Arguments to pass to the command. Defaults to `i` under npm or `install` under yarn.\n  contains: String, // Optional. File to find in the glob result directory. Defaults to `package.json` if using npm or yarn.\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkettek%2Fsubmodules-install","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkettek%2Fsubmodules-install","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkettek%2Fsubmodules-install/lists"}