https://github.com/ewgenius/typac
install npm packages along with corresponding typings
https://github.com/ewgenius/typac
cli npm package typescript yarn
Last synced: 19 days ago
JSON representation
install npm packages along with corresponding typings
- Host: GitHub
- URL: https://github.com/ewgenius/typac
- Owner: ewgenius
- License: mit
- Created: 2017-03-18T19:00:52.000Z (about 8 years ago)
- Default Branch: develop
- Last Pushed: 2023-03-05T08:26:42.000Z (about 2 years ago)
- Last Synced: 2025-03-13T06:41:28.241Z (about 1 month ago)
- Topics: cli, npm, package, typescript, yarn
- Language: JavaScript
- Homepage:
- Size: 573 KB
- Stars: 48
- Watchers: 1
- Forks: 2
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-typescript - typac - Install npm packages along with corresponding typings (Table of Contents / Node Modules)
README
# TYPAC - TYped PACkage manager
[](https://dev.azure.com/ewgeniux/typac/_build/latest?definitionId=1?branchName=master)
[](https://travis-ci.com/ewgenius/typac)Every time you need to do something like this ```npm install --save ``` and then ```npm install --save-dev @types/``` *typac* is just for you!


## Description
Cli tool for installing npm package with corresponding ```@types``` typings package (if it exists).
## Install
```npm install -g typac```
or
```yarn global add typac```
## Usage
- ```typac ``` - install `````` in dependencies section and corresponding type definitions package in devDependencies section
- ```typac -d``` or ```typac --dev``` - install `````` and corresponding type definitions package, both in devDependencies section
- ```typac -s``` or ```typac --save``` - install `````` and corresponding type definitions package, both in dependencies section
- ```typac [ ...]``` - install several packages## TODO
* [ ] more complete tests
* [ ] npm/yarn error handling#
Named by [@ploddi](https://github.com/ploddi)