Giter Club home page Giter Club logo

pipet-cli's Introduction

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 Syntax Support 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

pipet-cli's People

Contributors

chocolate-pie avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar

Forkers

dawns-auto-bot

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.