Skip to content

ashutosh887/depextract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

depextract

depextract is a CLI tool to extract dependencies from package.json.

jsDocs.io

Use case

Suppose you are trying to upgrade your project or create a new project with same dependencies as another project. Now, the first thing you might require is list of Production and Dev Dependencies.

To extract and generate a CLI Script based on your Package manager configuration, you may use depextract

Installation:

  npx depextract

Usage

  • Open the directory where package.json resides
  • Use:
      npx depextract
    
  • Select among the most suitable options:
        ? Select location of package.json
        (Use arrow keys)
        ❯ current directory
          another directory (provide path in next step)
    
  • Select the package manager to be used for upcoming project (npm, yarn, pnpm, etc.)
  • Generated scripts reside in scripts.sh

Author

Blogs:

License

This project is under the MIT License