Comments (6)
I can help with this if you are interested. Is there an API endpoint that would provide this data?
from gulpjs.github.io.
I don't think there's an API that gets both installs and plugins. Installs would come from npm and plugins would come from npmsearch. The companies and seconds saved would be static, I'm guessing.
from gulpjs.github.io.
API for npm downloads - https://github.com/npm/registry/blob/master/docs/download-counts.md
Example: https://api.npmjs.org/downloads/point/last-day/gulp
Results:
{
"downloads": 159388,
"start": "2017-10-25",
"end": "2017-10-25",
"package": "gulp"
}
Note: Maximum amount of data is the last 365 days so maybe it could be the number of installs in the last month or something?
from gulpjs.github.io.
Do you like the look of this? It's just mocked up with static data I did last night.
from gulpjs.github.io.
And I have found the plugin count based on a search.
API for Related Plurgins - https://api-docs.npms.io/#api-Search-ExecuteSearchQuery
Probably could grab the total out of the response.
Example: https://api.npms.io/v2/search?q=gulp
Results:
{
"total": 11424,
"results": [{
"package": {
"name": "gulp",
"scope": "unscoped",
"version": "3.9.1",
"description": "The streaming build system",
"date": "2016-02-08T18:50:16.472Z",
"links": {
"npm": "https://www.npmjs.com/package/gulp",
"homepage": "http://gulpjs.com",
"repository": "https://github.com/gulpjs/gulp",
"bugs": "https://github.com/gulpjs/gulp/issues"
},
"author": {
"name": "Fractal",
"email": "[email protected]",
"url": "http://wearefractal.com/"
},
"publisher": {
"username": "phated",
"email": "[email protected]"
},
"maintainers": [{
"username": "contra",
"email": "[email protected]"
},
{
"username": "phated",
"email": "[email protected]"
}
]
},
"flags": {
"insecure": 2
},
"score": {
"final": 0.7768170783638859,
"detail": {
"quality": 0.8562822998580506,
"popularity": 0.8196480107850486,
"maintenance": 0.6658730989477251
}
},
"searchScore": 100000.78,
{
....more packages.....
}
}]
}
from gulpjs.github.io.
Closed by #75 thanks to @SomethingNew71
from gulpjs.github.io.
Related Issues (20)
- No project license HOT 3
- Migrate Website to Docusaurus 2 Alpha HOT 4
- GitHub Actions for deployments
- Deploy previews
- Copyable text in the "benefits" images
- Integrate GitHub Sponsors API with website HOT 1
- WIP: Plugins page HOT 2
- Plugins page: Deprecated packages HOT 20
- Plugins page: Should we bring back blocklist? HOT 3
- Plugins page: Clicking a keyword should search for that keyword HOT 1
- Plugins page: Actually handle errors
- Plugin page: Hide navbar search HOT 2
- Ensure navbar searchbox has font-size 16px or greater
- Docusaurus: Unable to upgrade to newer alphas HOT 5
- Automate company sponsorships
- "Copy to clipboard" button can't be seen on code snippets HOT 5
- In Safari, when exiting the search box, the page jumps to the bottom HOT 6
- Update nofollow links to new standard
- Wrong module syntax on gulpjs.com / Named export 'dest' not found. HOT 3
- Docusaurus v2 has been released! HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gulpjs.github.io.