2.3.0 • Published 2 years ago

pipet-cli v2.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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

2.3.0

2 years ago

2.2.0

2 years ago

2.1.0

2 years ago

2.0.0

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago