New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

trending-gitlab

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trending-gitlab

Simple API for getting trending repositories on Gitlab

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

Simple API for getting trending repositories on GitLab.

Note: it uses axios and cheerio to fetch data on the https://gitlab.com/explore page. No API used.

Usage

const trending = require('gitlab-trending');

trending('stars')
  .then(repos => console.log(repos));

/** Output:
[ { author: 'GitLab.org',
    name: 'GitLab Community Edition',
    fullName: 'GitLab.org / GitLab Community Edition',
    href: 'https://gitlab.com/gitlab-org/gitlab-ce',
    description: 'GitLab Community Edition (CE) is an open source end-to-end software development platform with built-in version control, issue tracking, code review, CI/CD, and more. Self-host GitLab CE on your own servers, in a container, or on a cloud provider.',
    stars: 5627,
    forks: 5627,
    lastUpdate: '2019-02-27T20:06:21Z' },
[...]
{ author: 'GitLab.org',
  name: 'GitLab Development Kit',
  fullName: 'GitLab.org / GitLab Development Kit',
  href: 'https://gitlab.com/gitlab-org/gitlab-development-kit',
  description: 'Get started with GitLab Rails development',
  stars: 351,
  forks: 351,
  lastUpdate: '2019-02-27T17:43:28Z' } ]
**/

ToDo

  • Tests
  • Fetch forks (see #48398)
  • Add sort by: Last updated, Name, Oldest updated, Oldest created, Last created
  • Publish package on npmjs

Thanks

This is based on the work of ecrmnn for trending-github.

FAQs

Package last updated on 27 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc