{"id":13683769,"url":"https://github.com/nfour/types-installer","last_synced_at":"2025-04-13T21:23:53.894Z","repository":{"id":49396317,"uuid":"88331153","full_name":"nfour/types-installer","owner":"nfour","description":"Installs @types for your dependencies","archived":false,"fork":false,"pushed_at":"2020-05-28T02:09:24.000Z","size":95,"stargazers_count":71,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T11:43:34.360Z","etag":null,"topics":["installer","types","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":false,"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/nfour.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":"2017-04-15T07:19:47.000Z","updated_at":"2024-04-02T17:08:53.000Z","dependencies_parsed_at":"2022-09-04T15:13:43.302Z","dependency_job_id":null,"html_url":"https://github.com/nfour/types-installer","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfour%2Ftypes-installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfour%2Ftypes-installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfour%2Ftypes-installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfour%2Ftypes-installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nfour","download_url":"https://codeload.github.com/nfour/types-installer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248783615,"owners_count":21160955,"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":["installer","types","typescript"],"created_at":"2024-08-02T13:02:31.652Z","updated_at":"2025-04-13T21:23:53.861Z","avatar_url":"https://github.com/nfour.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"[![NPM](https://img.shields.io/npm/v/types-installer.svg)](https://nodei.co/npm/types-installer/) \u0026nbsp; [![Build Status](https://travis-ci.org/nfour/types-installer.svg?branch=master)](https://travis-ci.org/nfour/types-installer)\n\n# Types Installer\n\nA CLI which updates and populates missing `@types/*` for your dependencies.\n\n## Install\n```bash\nyarn global add types-installer\n# or\nnpm i -g types-installer\n# then\ntypes-installer\n```\n\nOr locally:\n```bash\nyarn add types-installer\n# then\nyarn types-installer\n\n```\n\n\n\n## CLI\n\n```\n  Usage: types-installer [options] [command]\n\n  Commands:\n\n  - interactive\n\n  - install [options] [dependency]\n      -s, --selection \u003cselection\u003e  devDependencies, dependencies or all\n      -D, --toDev                  Save all types to devDependencies\n      -p, --packageManager         Choose a package manager: npm, yarn or pnpm\n```\n\n#### Interactive\n\n```bash\n% types-installer\n\n  ? Install options: all\n\n  ? Install @types/* to devDependencies? Yes\n\n  ? Which package manager? yarn\n\n    Installing all @type dependencies...\n    ? select jest (Installed), ts-jest , ts-node , tslint , tslint-eslint-rules , typescript , chalk , commander (Installed), execa , inquirer\n\n    @types/tslint not found or failed to install\n    @types/chalk found\n\n    success Saved 1 new dependency.\n    └─ @types/chalk@0.4.31\n```\n\n#### Non-Interactive\n```bash\n% types-installer install\n\n  Installing all @type dependencies...\n\n  @types/tslint not found or failed to install\n  @types/chalk found\n\n  success Saved 1 new dependency.\n  └─ @types/chalk@0.4.31\n\n```\n\n```bash\n% types-installer install chalk\n\n  Installing dependency chalk @types\n  @types/chalk found\n\n  success Saved 1 new dependency.\n  └─ @types/chalk@0.4.31\n```\n\n- `types-installer --help` for more options\n\n## Behavior\n\n- Types are by default saved to `dependencies` or `devDependencies`, wherever the dependency exists.\n- To force everything top be saved into `devDependencies`, add the `--toDev` flag.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnfour%2Ftypes-installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnfour%2Ftypes-installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnfour%2Ftypes-installer/lists"}