
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
install-types
Advanced tools
Auto install (uninstall) typings for your package dependencies.
npm
, yarn
, pnpm
npm i install-types
npm install -D install-types
or globally
npm install -g install-types
install-types
syncer can be directly used as a module, returning with an object for types to install and uninstall
import typesyncer from "install-types";
const types = typesyncer();
/**
* {
* install: {}, type dependencies to install
* uninstall: {} type dependencies to uninstall
* }
*/
options | description | type |
---|---|---|
exclude | exclude dependencies | Array |
You can use it directly in the cli if installed globally or can be used as a postinstall
or prebuild
script on your package.json
.
"scripts": {
"postinstall": "install-types",
}
options | description |
---|---|
--yarn | use yarn as package manager |
--pnpm | use pnpm as package manager |
--removeUnused | remove unused types |
--exclude | exclude dependencies |
install-types
uses types-directory internally sync with the types.
FAQs
Auto install(uninstall) typings for your package dependencies
The npm package install-types receives a total of 43 weekly downloads. As such, install-types popularity was classified as not popular.
We found that install-types demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.