Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/salimkayabasi/types-checker
Check missing type definition modules for your Typescript project
https://github.com/salimkayabasi/types-checker
checker tool typescript
Last synced: 7 days ago
JSON representation
Check missing type definition modules for your Typescript project
- Host: GitHub
- URL: https://github.com/salimkayabasi/types-checker
- Owner: salimkayabasi
- Created: 2017-08-18T11:51:38.000Z (about 7 years ago)
- Default Branch: develop
- Last Pushed: 2022-06-26T09:13:46.000Z (over 2 years ago)
- Last Synced: 2024-09-19T11:42:43.468Z (about 2 months ago)
- Topics: checker, tool, typescript
- Language: JavaScript
- Homepage:
- Size: 177 KB
- Stars: 15
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# types-checker
[![Dependency Status](https://img.shields.io/david/salimkayabasi/types-checker.svg)](https://david-dm.org/salimkayabasi/types-checker)
[![npm](https://img.shields.io/npm/dm/types-checker.svg?maxAge=2592000)]()
[![npm version](https://badge.fury.io/js/types-checker.svg)](https://badge.fury.io/js/types-checker)
[![Build Status](https://travis-ci.org/salimkayabasi/types-checker.svg?)](https://travis-ci.org/salimkayabasi/types-checker)> Check missing type definition modules for your Typescript project
You may forget to add `type definition`s for your projects. It's hard to add all dependencies at
the same time. You need to be sure that how many modules have definition module like `@types/...`.`types-checker` will do it for you
```bash
cd path/of/your/project
types-checker # aliases ts-checker OR tscheck
```[![asciicast](https://asciinema.org/a/ZyQ7R7YoLccHX2tpL5IdgsK81.png)](https://asciinema.org/a/ZyQ7R7YoLccHX2tpL5IdgsK81)
### Usage
Default params
```bashtscheck
Starting [email protected]
These modules are missing @types/config @types/node
Please run with '--all' param if you want to install these dependencies
Done in 1.66s```
Using with Yarn
```bashtscheck -a
Starting [email protected]
These modules are missing @types/config @types/node
Running yarn add --dev @types/config @types/node
Done in 2.66s```
Using with NPM
```bashtscheck -a -N
Starting [email protected]
These modules are missing @types/config @types/node
Running npm install --save-dev @types/config @types/node
Done in 2.00s```
### Interactive Mode
[![asciicast](https://asciinema.org/a/134438.png)](https://asciinema.org/a/134438)
### Installing
```bash
yarn add global types-checker
```
or
```bash
npm i -g types-checker
```### Options
```bash
types-checker --helpUsage: types-checker [options]
Options:
-V, --version output the version number
-l, --logger Debug output. See all logs
-c, --no-color Disable colored output
-a, --install Install all possible type definitions
-e, --error Return the number of packages as exit code
-p, --path [value] Path for package.json file
-i, --interactive Interactive mode
-N, --use-npm Use NPM instead of Yarn
-D, --dev-dependencies Search for devDependencies
-h, --help output usage information```