Socket
Socket
Sign inDemoInstall

pipet-cli

Package Overview
Dependencies
6
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    pipet-cli

Remove unnecessary dependencies


Version published
Weekly downloads
1
Maintainers
1
Created
Weekly downloads
 

Readme

Source

pipet-cli

Remove unnecessary dependencies

npm Build Status

Whats This?

Remove unnecessary dependencies to speed up npm install

🎊 automatically delete DefinitelyTyped Dependencies.

😎 Just type pipet in the command line. Easy.

Support Import Syntax (dependencies)

Import SyntaxSupport Version
const example = import('example')2.1.0
const example = require('example')2.1.0
const example = require.resolve('example')2.1.0
import example from 'example'2.1.0
const example = import('example/example')2.3.0
const example = require('example/example')2.3.0
const example = require.resolve('example/example')2.3.0
import example from 'example/example'2.3.0

Image01

Install

npm install -g pipet-cli

How To Use

pipet

If you have installed locally,

npx pipet
Options

--ext Specifies the extension of the target file. By doing this, files such as images can be removed, which speeds up the process. However, do this and ensure that necessary dependencies are not removed.

Example:

npx pipet --ext .js,.ts

--uninstaller Specifies the uninstaller to be used internally. npm or yarn default: npm

Example:

npx pipet --uninstaller npm

--ignore-file-path Specifies the path of the dependency configuration file to ignore. Dependencies to be ignored will not be deleted, even if they are targeted for deletion. default: ./.pipetignore

Example:

npx pipet --ignore-file-path ./.pipetignore

How to write Ignore file

Default Ignore File Name: .pipetignore

Write with line breaks.

Example:

exampleDependencies01
exampleDependencies02

Image02

Keywords

FAQs

Last updated on 19 Oct 2022

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc