π¦π npm-package-info
Discover the simplicity of this command-line tool, designed to effortlessly query and search for npm packages.
- Retrieve npm package details, including:
- Name
- Description
- Version
- Weekly Downloads
- Last Publish Date
- Collaborators
- Owner (if provided)
- Tags
- Conduct npm package searches using keywords
- Clone the repository:
git clone https://github.com/minmyatoo/npm-package-info.git
- Navigate to the repository folder:
cd npm-package-info
- Install the necessary dependencies:
npm install
- Run the script:
npm start
When executing the script, you'll be prompted to choose an action: "Search by keywords" or "Query package."
-
If you select "Search by keywords," enter the keywords to search for packages. The script will display a list of package names based on your input.
-
If you opt for "Query package," you'll be prompted to provide the package name, owner (optional), and tag (optional). The script will then present comprehensive package information, including name, description, version, weekly downloads, last publish date, collaborators, owner (if provided), and tags.