npm-trends
v1.0.2
Published
Terminal-native insights for npm packages. Search, track trends, and scan project dependencies with growth metrics.
Maintainers
Readme
npm-trends
Actionable insights about npm packages directly in your terminal. npm-trends provides growth metrics, trending data, and dependency analysis to help you make informed decisions about your project's ecosystem.
Features
- Trending Analysis: Discover fast-growing packages with weekly and monthly growth metrics.
- Enhanced Search: Search by keyword with integrated weekly download counts and quality scores.
- Dependency Scanning: Analyze your
package.jsonto identify modern or more popular alternatives. - Ecosystem Dashboard: Get a high-level overview of global trends and local project status.
- CI/CD Ready: Supports JSON output for easy integration with automation workflows.
Installation
You can install npm-trends globally using your preferred package manager:
Using Bun (Recommended)
bun add -g npm-trendsUsing npm
npm install -g npm-trendsUsing pnpm
pnpm add -g npm-trendsDirect Usage (npx)
Run without installation:
npx npm-trends dashboardUsage
Search for Packages
Find packages by keyword with real-time download statistics and scores.
npm-trends search <keyword>View Trending Packages
Identify packages gaining significant momentum in the ecosystem.
npm-trends trendingUse the --json flag for machine-readable output.
Project Suggestions
Scan your local package.json for popular or trending dependency alternatives.
npm-trends suggestDashboard
Display a summary of global trends and your current project's dependency status.
npm-trends dashboardWhy npm-trends?
- Data-Driven Decisions: Evaluate packages based on actual growth and usage data rather than just names.
- Developer Workflow: Fits seamlessly into terminal-based development environments.
- High Performance: Built with Bun for high-speed API interaction and execution.
Keywords
npm, trends, cli, package-insights, dependency-analysis, downloads-stats, developer-tools, analytics, registry-search, bun
Contributing
Contributions are welcome! To contribute:
- Fork the Project.
- Create your Feature Branch (
git checkout -b feature/AmazingFeature). - Commit your Changes (
git commit -m 'Add some AmazingFeature'). - Push to the Branch (
git push origin feature/AmazingFeature). - Open a Pull Request.
License
This project is licensed under the MIT License. See the LICENSE file for the full text.
Built by ravvdevv
