uidotdev / npm-trends Goto Github PK
View Code? Open in Web Editor NEWNPM package comparison
Home Page: http://www.npmtrends.com
NPM package comparison
Home Page: http://www.npmtrends.com
NPM is 10 years old, and if the API permits, it would be nice to see a bit further back in time. Maybe a 5 years option? Or maybe a ‘since the beginning’ option?
I guess it should be possible because https://npm-stat.com/ manages to pull it off.
Just a heads up that the site doesn't show up at all without www in URL. For example Github stats link to non-www version only.
Expected: Typing in some packages produces results
Actual: No results are shown
Console log:
Failed to load resource: the server responded with a status of 503 (Service Unavailable)
Access to XMLHttpRequest at 'https://proxy.npmtrends.com/?url=https://api.npms.io/v2/package/whatwg-fetch' from origin 'https://www.npmtrends.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Browser: Chrome 75.0.3770.142 (Official Build) (64-bit)
OS: macOS 10.13.6
Angular 2 has started using scoped packages, but npm trends doesn't seem to pick them up. Can they be supported so react can be compared with it?
That's significant metric comparing libraries, along with the size.
That's not scope of the project for now, I guess, but would be super neat to have it included here.
BTW thanks for the project, that is very nice!
It is harder to understand how much the downloads fluctuate when the Y-axis of the chart is scaled to show only the line. When I saw this chart:
It made me think, "Wow, almost everybody stopped downloading it around Jan 1. Did NPM break around that time?"
But eventually, I noticed that the values on the Y-axis range from 40,000 to 110,000. So there were still 45,000 downloads on Jan 1. That makes more sense.
I tried to understand how much the downloads fluctuated compared to the overall number of downloads, but it required mental math. I had to hold in my head the numbers 60,000, 40,000, 0 and compare them. Requiring mental calculations defeats the purpose of showing a graph, which is to visualize numbers intuitively.
You can solve this problem and avoid confusion by making the downloads axis start at 0 instead of at the lowest value for that time frame. The changes between weeks will be less visible, but the overall numbers will be communicated more accurately and won't mislead people who don't look at the chart closely.
Selecting a package name from the input field's dropdown or by clicking on one of the links don't result in displaying the download stats and the downloads graph, but causes a redirect to the root of the site, npmtrends.com
E.g: https://www.npmtrends.com/milligram-vs-picnic-vs-pure-css-vs-skeleton-css
purce-css has > 20k stars, it is displayed as it has 20 stars.
Chrome: "71.0.3578.98"
Firefox: "64.0.2"
No response from server.
H guys,
I am trying to update nebular date-fns with below cmd but only version change 4.5.0 in package.json
and nebular date-fns 4.5.0 files are not updated in @nebular/date-fns folder.
Command - npm install @nebular/[email protected].
Please suggest.
Can you add a feature like "Trending today/week/month" which shows the most trending searches this day/week/month respectively ? Probably suggestions is also based on the trending mechanism, i don't know, but I think "Trending today/week/month" view would be more useful.
Thanks, its a great site.
I love this website and work done by you, most of the time I use this website to compare different npm packages. package size is one criterion for me to select an npm package and I think the same thing applies to most of the developers. generally, I use bundlephobia for checking the size of the package which provide minified size as well as minified + gzipped size. if you can provide the same data somewhere on your website.
https://www.npmtrends.com/datatables-vs-footable-vs-tabulator
tabulator repo is incorrect. You should be using this repo:
https://github.com/olifolkerd/tabulator
I just love your work!
Could you pls add the total downloads of a npm package by duration it would be highly appreciated!
Thank you!
Go to this page http://www.npmtrends.com/react-native-vs-cordova-vs-weex-vs-react
look for jan 1 react has 500 thousand download count, it is larger than the others, look at jan 1 8 15 22, they are on the wrong position.
There is a some locales, where Monday is the first day of the week. It would be great to have radio buttons somewhere, to switch data grouping.
At that moment it's hardcoded on client (server too?).
It's also reasonable to hardcode locales map to first day of the week preference.
Current Behavior:
On clicking d3.js it points to a different repo of npm/security-holder.
Expected:
It should point to the actual d3/d3 repo
And also the data is incorrect in the table!
The npmtrends.com website in auto refreshes to an empty search at the point of submitting any search OR even tapping on a "Popular" link.
Tested failing within:
I assume, seeing that the HTTPS is not working, that perhaps this might be related?
I use this website frequent enough to know it was just working within a day or so
Seems gzipped size is more useful in practice.
It is already supported by Bundlephobia
Hello there!
Check plz page https://www.npmtrends.com/npm-vs-yarn-vs-pnpm
Why npm "created" date displays as "Jul 6, 2018"?
For example:
http://www.npmtrends.com/react-vs-vue
Both projects state is not inconsistent with the actual situation. (The stars and open issues)
Is the http://proxy.npmtrends.com/?url=XXX API out of date and no longer update?
Reproduction:
Try to visit https://www.npmtrends.com/react
Page redirects to homepage instead of showing chart
OR
Create a chart with any package
Try to add react
Page fails to add react and shows previous chart
E.g.
broken: https://www.npmtrends.com/dashjs-vs-flv.js
works: https://www.npmtrends.com/flv.js-vs-dashjs
It becomes hard once we add 5 + npm packages to compare depending on column values.
So its good to have table sortable so that we can click on the column heading and sort them
Hi,
I have a vulnerability issue during my code scan.But i don't see any issues in my code it a dependency issue in axios. I found latest version cleared this issue but i don't think so.
is there any work around for this vurlnerability issues.
Thanks in advance,
A Runnnn
When comparing npm packages there are two numbers that I find very helpful:
When a package is not maintained very well I might still use it if it does what I need and has no or very limited dependencies.
Would be great when those two fields are included in the stats.
The data is available in the package details on npmjs.io:
collected.metadata.dependencies.length
collected.npm.dependentsCount
For example: https://api.npms.io/v2/package/react
I understand the count numbers of downloading can express the "real trends", but sometimes I really want to know the trend of the github stars. Anyone feel the same?
I didn't find any simple and direct api to get the star history, but I find a way which is used by timqian/star-history, it just use this api https://api.github.com/repos/${repo}/stargazers?page=${page}
to fetch all the data. I think we can do the same. Certainly, we should cache the result in db. Only one thing is the rate limit. We may need a smart strategy for it.
So, what do you think?
jspdf is very impressive in producing pdf content in multiple pages.however issue appear when to split a large html page(div content) .Visited multiple issue list related to jspdf but didnt find any solution which help to split a large html page(div content) to be splitted properly in multiple pages.page break comes inside any table or paragraph which distorts the entire html page.Content are placed properly in all pdf pages but wherever page break comes,there is break inside the content.There is no way to give header and footer to all pages in pdf.please guide for urgent delivery for my project.
The package stats are for a progress bar not the Thoughtworks gauge npm package.
Thanks for putting this overview together!
Whenever I search for a package, it adds it - and then immediately refreshes the page to the blank initial state?
No error in the browser console.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.