🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

tss-installer

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tss-installer

Install Packages with their types

latest
Source
npmnpm
Version
0.1.9
Version published
Maintainers
1
Created
Source

Install Packages with their types

Ever installed a package to later find out that you don't have that package's @typings/ installed ? If yes, this is the solution for that.

How to Install

  • npm install tss-installer
  • Update package.json to add two scripts.
        "scripts": {
            "ti": "tss-installer install",
            "tu": "tss-installer uninstall"
        }
    

How to use

  • To install a package with it's typings

    npm run ti PACKAGE_NAME -- -D # Supports same flags as npm
    

    or

    pnpm run ti PACKAGE_NAME -- -D #Supports same flags as pnpm
    

    or

    yarn run ti PACKAGE_NAME -- --save-dev # Supports same flags as yarn
    
  • To uninstall a package and it's typings

    npm run tu PACKAGE_NAME
    

    or

    pnpm run tu PACKAGE_NAME
    

    or

    yarn run tu PACKAGE_NAME
    

Demo

Earlier

Installation Earlier Installation - Two Steps

Uninstallation Earlier Uninstallation - Two Steps

Now

Installation Now Installation - Single Step Uninstallation Now Uninstallation - Single Step

Keywords

pnpm

FAQs

Package last updated on 05 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts