An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

# TYPAC - TYped PACkage manager

[![Build Status](https://dev.azure.com/ewgeniux/typac/_apis/build/status/ewgenius.typac?branchName=master)](https://dev.azure.com/ewgeniux/typac/_build/latest?definitionId=1?branchName=master)
[![Build Status](https://travis-ci.com/ewgenius/typac.svg?branch=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!

![Imgur](https://imgur.com/AJHTeq8.gif)

![Imgur](https://imgur.com/s34xaxd.gif)

## 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)