Giter Club home page Giter Club logo

npm-trends's People

Contributors

benadam11 avatar johnmpotter avatar jtribble avatar orta avatar tylermcginnis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

npm-trends's Issues

Show trends older than 2 years

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.

https://www.npmtrends.com doesn't work due to CORS/503 errors

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

Performance

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!

Scale the Y-axis so that zero is the lowest value

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:

normalize.css downloads chart example

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.

npmtrend.com comparison doesn't work

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

No chart displayed (OS X 10.11.5 - Safari 9.1.1)

I'm using Safari 9.1.1 on OS X 10.11.5
There is an error which blocks the rendering of downloads chart.

The dev console throws an exception concerning the function compare :
Error: Invalid Date - Sun Dec 06 2015 00:00:00 GMT+0100 (CET).

capture d ecran 2016-05-28 a 16 25 42

Some packages missing Github stats

Great site for comparing NPM package downloads! However, some packages do not provide the Github stats below the chart. For these, the link tag is also missing the href to the Github repo. One example is ramda.

image

API and assets not loading

The site is currently broken. Looks like at least a couple issues:

  • Assets (images and CSS) are not loading
  • api.npms.io requests are blocked by CORS failures

screen shot 2018-04-24 at 1 45 08 pm

nebular date-fns not updated

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.

Trending today/week/month

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.

size of npm package are missing.

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.

NPM Trends fails to load and flickers

What?

The site loads but fails to search or load Popular trends as shown in the image below.

How to reproduce

Click on Popular links or do a search

npmtrends not working - 2018 05 08

Feature request: Total downloads

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!

Add first day of the week switch/detection

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.

[Feature Request] Show color in table as well

In the graph you're using colors in the graph, and each name has its color infront of it as a rectangle.

It would be very helpful if this color was also shown in the stats table, for example as a square/circle in front of the package name in the table:

image

Hyperlink for d3.js is incorrect

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!

Site acting up? Keeps auto refreshing to blank search

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:

  • Chrome, Safari, and Firefox on Mac
  • Safari and Chrome on iPhone iOS 10

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

[Feature request] Sortable stats table

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

Feature request: Show number of dependencies and dependants

When comparing npm packages there are two numbers that I find very helpful:

  • The number of dependencies
  • The number of dependants

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

Blue background

When I click on a chart legend I got something like that time to time
image

No one care about github stars?

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?

unable to display single large html page in multiple page with proper margin using jspdf

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.

gauge package stats wrong

The package stats are for a progress bar not the Thoughtworks gauge npm package.

Thanks for putting this overview together!

Page not working

Whenever I search for a package, it adds it - and then immediately refreshes the page to the blank initial state?

Question on Angular downloads

I don't think this is a bug, but I'd be curious to know why the download count of Angular packages doubled after the npm crash, as this graph shows:

screen shot 2018-07-18 at 14 50 34

Anyone has any idea?

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.